forked from statgen/bravo_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (69 loc) · 2.79 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
"""BRAVO Data API.
"""
# Always prefer setuptools over distutils
import setuptools
import pathlib
# Get the long description from the README file
here = pathlib.Path(__file__).parent.resolve()
long_description = (here/'README.md').read_text(encoding='utf-8')
# Single source of pacakge version from VERSION file
version_text = (here/'bravo_api'/'VERSION').read_text(encoding='utf-8').strip()
setuptools.setup(
name='bravo-api',
version=version_text,
description='Browse all variants online data API',
# Read from README.md
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/statgen/bravo_api',
author='CSG at University of Michigan',
author_email='bravo-group@umich.edu',
# Classification metadata
classifiers=[
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Framework :: Flask',
'Environment :: Web Environment',
'Operating System :: POSIX :: Linux',
'Topic :: Software Development :: Build Tools',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Intended Audience :: Science/Research',
'Natural Language :: English',
# Python versions supported.
# Not checked by 'pip install'. Use 'python_requires' below.
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
],
keywords='bioinformatics, genomics',
package_dir={'': '.'},
packages=setuptools.find_packages(),
package_data={"bravo_api": ["VERSION"]},
# Python versions you support. Pip enforces this.
python_requires='>=3.8, <4',
install_requires=[
'pymongo>=3.11.2', 'click>=7.1.2', 'Flask>=1.1.2',
'flask_cors>=3.0.10', 'flask_pymongo>=2.3.0', 'intervaltree>=3.1.0', 'marshmallow>=3.10.0',
'pysam>=0.16.0.1', 'python-rapidjson>=1.0', 'webargs>=7.0.1',
'authlib>=1.0.0', 'flask-login>=0.5.0', 'requests>=2.25.1', 'boto3>=1.26',
'cachelib==0.9.0', 'Flask-Caching>=2.0.2'
],
extras_require={
'dev': ['check-manifest', 'icecream'],
'test': ['mongomock>=3.22.1', 'pytest>=6.2.2', 'pytest-mock==3.5.1',
'pytest-mongodb>=2.2.0', 'testfixtures>=6.17.1', 'moto>=4.0.0'],
},
entry_points={
'flask.commands': [
'load-genes=bravo_api.models.database:load_genes',
'load-snv=bravo_api.models.database:load_snv',
'load-qc-metrics=bravo_api.models.database:load_qc_metrics',
'create-users=bravo_api.models.database:create_users'
],
},
project_urls={
'Bug Reports': 'https://github.com/statgen/bravo_api/issues',
'Source': 'https://github.com/statgen/bravo_api',
}
)