-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
44 lines (41 loc) · 1.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
import os
from setuptools import find_packages, setup
try:
with open(os.path.join("cohortextractor", "VERSION")) as f:
version = f.read().strip()
except Exception:
version = "99.99.99.dev1"
setup(
name="opensafely-cohort-extractor",
version=version,
packages=find_packages(),
url="https://github.com/opensafely/cohort-extractor",
author="OpenSAFELY",
author_email="tech@opensafely.org",
python_requires=">=3.7",
install_requires=[
"lz4", # implicit import for compressed feather files
"pyarrow",
"pandas",
"pyyaml",
"requests",
"retry",
"seaborn",
"sqlparse",
"structlog",
"tabulate",
],
extras_require={
"drivers": [
# Used by the EMIS backend
"presto-python-client",
# Used by the TPP backend
"pymssql",
]
},
entry_points={
"console_scripts": ["cohortextractor=cohortextractor.cohortextractor:main"]
},
include_package_data=True,
classifiers=["License :: OSI Approved :: GNU General Public License v3 (GPLv3)"],
)