-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
68 lines (61 loc) · 2.12 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
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
"""The setup script."""
import setuptools
with open('README.md') as f:
LONG_DESCRIPTION, LONG_DESC_TYPE = f.read(), 'text/markdown'
with open('HISTORY.rst') as history_file:
history = history_file.read()
with open('requirements/base_requirements.txt') as f:
REQUIREMENTS = f.read().splitlines()
###
# Change values here.
AUTHOR = 'Arturo Moncada-Torres'
AUTHOR_EMAIL = 'arturomoncadatorres@gmail.com'
CLASSIFIERS = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Healthcare Industry',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
]
DESCRIPTION = 'Implementation of DeepSurv using Keras'
KEYWORDS = 'deepsurvk',
LICENSE = 'MIT license'
NAME = 'deepsurvk'
PACKAGE_DATA = {'deepsurvk': ['datasets/*']}
PYTHON_REQ = '>=3.7'
SETUP_REQUIREMENTS = ['pytest-runner', 'pandas>=1.0.0']
TEST_REQUIREMENTS = ['pytest>=3', ]
URL = 'https://github.com/arturomoncadatorres/deepsurvk'
###
setuptools.setup(
author=AUTHOR,
author_email=AUTHOR_EMAIL,
python_requires=PYTHON_REQ,
classifiers=CLASSIFIERS,
description=DESCRIPTION,
entry_points={
'console_scripts': [
'deepsurvk=deepsurvk.cli:main',
],
},
install_requires=REQUIREMENTS,
license=LICENSE,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
include_package_data=True,
keywords=KEYWORDS,
name=NAME,
packages=setuptools.find_namespace_packages(include=['deepsurvk', 'deepsurvk.*'], exclude=["*.tests", "*.tests.*"]),
package_data=PACKAGE_DATA,
setup_requires=SETUP_REQUIREMENTS,
test_suite='tests',
tests_require=TEST_REQUIREMENTS,
url=URL,
version='0.2.2', # For a complete description of versioning, see https://www.python.org/dev/peps/pep-0440/
zip_safe=False,
)