-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
65 lines (58 loc) · 2.06 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
#!/usr/bin/env python
"""
Setup script for the Python package. Dependencies for server are listed separately
in requirements.txt, dev dependencies are listed in requirements-dev.txt.
"""
from setuptools import find_packages, setup
PKG = 'metamist'
all_packages = ['metamist']
all_packages.extend('metamist.' + p for p in sorted(find_packages('./metamist')))
with open('README.md', encoding='utf-8') as f:
readme = f.read()
setup(
name=PKG,
# This tag is automatically updated by bump2version
version='7.5.1',
description='Python API for interacting with the Sample API system',
long_description=readme,
long_description_content_type='text/markdown',
url='https://github.com/populationgenomics/metamist',
license='MIT',
packages=all_packages,
install_requires=[
'backoff>=2.2.1',
'click',
'google-auth',
'google-api-core', # dependency to google-auth that however is not
# pulled automatically: https://github.com/googleapis/google-auth-library-python/blob/main/setup.py#L22-L27
'urllib3 >= 1.25.3',
'python-dateutil',
'requests',
'typing-extensions',
# for get id-token
'cpg-utils >= 5.0.5',
'gql[aiohttp,requests]',
'tabulate >= 0.9.0',
],
entry_points={
'metamist_parser': [
'GenericMetadataParser = metamist.parser.generic_metadata_parser:GenericMetadataParser',
'SampleFileMapParser = metamist.parser.sample_file_map_parser:SampleFileMapParser',
],
},
include_package_data=True,
zip_safe=False,
keywords='bioinformatics',
classifiers=[
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
)