-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
80 lines (65 loc) · 2.04 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
69
70
71
72
73
74
75
76
77
78
79
80
import os
from setuptools import setup, find_packages
if __name__ == "__main__":
base_dir = os.path.dirname(__file__)
src_dir = os.path.join(base_dir, "src")
about = {}
with open(os.path.join(src_dir, "covid_model_seiir_pipeline", "__about__.py")) as f:
exec(f.read(), about)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
install_requirements = [
'click',
'covid_shared>=2.1.1',
'fastparquet',
'inflection',
'loguru',
'matplotlib',
'numba>=0.54',
'numpy',
'openpyxl',
'pandas',
'pathos',
'pypdf2',
'pyyaml',
'parse',
'regmod @ git+https://github.com/ihmeuw-msca/regmod.git@develop',
'scipy',
'seaborn',
'tqdm',
]
test_requirements = [
'pytest',
'pytest-mock',
]
doc_requirements = []
internal_requirements = [
'covid-shared[internal]>=2.0.1',
]
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
long_description=long_description,
license=about['__license__'],
url=about["__uri__"],
author=about["__author__"],
author_email=about["__email__"],
package_dir={'': 'src'},
packages=find_packages(where='src'),
include_package_data=True,
install_requires=install_requirements,
tests_require=test_requirements,
extras_require={
'docs': doc_requirements,
'test': test_requirements,
'internal': internal_requirements,
'dev': [doc_requirements, test_requirements, internal_requirements]
},
entry_points={'console_scripts': [
'seiir=covid_model_seiir_pipeline.cli:seiir',
'stask=covid_model_seiir_pipeline.seiir_task:stask',
'sparse=covid_model_seiir_pipeline.lib.cli_tools.performance_logger.log_parser:parse_logs'
]},
zip_safe=False,
)