-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
82 lines (68 loc) · 2.35 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
81
82
from setuptools import setup, find_namespace_packages
from pathlib import Path
base_dir = Path(__file__).parent.resolve()
version_file = base_dir / "lib/seattleflu/id3c/__version__.py"
readme_file = base_dir / "README.md"
# Eval the version file to get __version__; avoids importing our own package
with version_file.open() as f:
exec(f.read())
# Get the long description from the README file
with readme_file.open(encoding = "utf-8") as f:
long_description = f.read()
setup(
name = "seattleflu-id3c-customizations",
version = __version__,
packages = find_namespace_packages("lib"),
package_dir = {"": "lib"},
description = "Seattle Flu Study ID3C customizations",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/seattleflu/id3c-customizations",
project_urls = {
"Bug Reports": "https://github.com/seattleflu/id3c-customizations/issues",
"Source": "https://github.com/seattleflu/id3c-customizations",
},
classifiers = [
"Development Status :: 5 - Production/Stable",
# This is for bioinformatic software devs and researchers
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
# Prod uses Python 3.9
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
],
# Register extended ID3C CLI commands and API routes
entry_points = {
"id3c.cli.commands": [
"seattleflu = seattleflu.id3c.cli.command"
],
"id3c.api.routes": [
"seattleflu = seattleflu.id3c.api.routes"
],
},
python_requires = ">=3.8",
install_requires = [
# "id3c >=2020.2", ID3C is a required dependency, but this doesn't resolve with pipenv editable installs
"click >=8.0, <8.1.4",
"more_itertools >=8.2.0",
"regex",
"requests",
"flask",
"flask-cors",
"numpy ==1.24.4",
],
extras_require = {
"dev": [
"mypy",
"pytest >=6.2.5,!=7.0.0",
"sqlparse",
"types-requests",
"types-python-dateutil",
],
"locations": [
"pandas ==1.5.3",
"snakemake",
],
},
)