-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
55 lines (49 loc) · 1.97 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import os
import sys
from setuptools import setup, find_packages
from dmsa import __version__
base_dir = os.path.dirname(__file__)
if sys.version_info < (2, 7) or sys.version_info > (3, 0):
raise EnvironmentError('Python 2.7.x is required')
with open(os.path.join(base_dir, 'README.md'), 'r') as f:
long_description = f.read()
with open(os.path.join(base_dir, 'requirements.txt')) as f:
install_requires = f.readlines()
kwargs = {
'name': 'dmsa',
'version': __version__,
'author': 'The Children\'s Hospital of Philadelphia',
'author_email': '[email protected]',
'url': 'https://github.com/chop-dbhi/data-models-sqlalchemy',
'description': ('SQLAlchemy models and DDL and ERD generation from '
'chop-dbhi/data-models style JSON endpoints.'),
'long_description': long_description,
'license': 'Other/Proprietary',
'packages': find_packages(),
'package_data': {'dmsa': ['templates/*']},
'install_requires': install_requires,
'download_url': ('https://github.com/chop-dbhi/'
'data-models-sqlalchemy/tarball/%s' % __version__),
'keywords': ['healthcare', 'data models', 'SQLAlchemy', 'DDL', 'ERD'],
'classifiers': [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Healthcare Industry',
'License :: Other/Proprietary License',
'Topic :: Database',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Code Generators',
'Natural Language :: English'
],
'entry_points': {
'console_scripts': [
'dmsa = dmsa.main:main'
]
}
}
setup(**kwargs)