forked from sbg/sevenbridges-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (46 loc) · 1.85 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
import io
import os
import sys
from setuptools import setup, find_packages
# If version file exists, this happens during the installation phase,
# read the version from the version file.
# If the version file does not exist, this is during the build phase,
# read the version from TRAVIS_TAG and create a version file for packaging.
VERSION_FILE = 'VERSION'
if os.path.isfile(VERSION_FILE):
with io.open(VERSION_FILE, 'r', encoding='utf-8') as f:
version = f.read()
else:
version = os.environ.get('TRAVIS_TAG', '0.0.0')
with io.open(VERSION_FILE, 'w', encoding='utf-8') as f:
f.write(version)
install_requires = ["requests>=2.20.0", "six>=1.10.0"]
if sys.version_info < (3,):
install_requires.append("futures>=3.0.4")
setup(
name='sevenbridges-python',
version=version,
description='SBG API python client bindings',
install_requires=install_requires,
long_description=io.open('README.md', 'r', encoding='utf-8').read(),
long_description_content_type='text/markdown',
platforms=['Windows', 'POSIX', 'MacOS'],
maintainer='Seven Bridges Genomics Inc.',
maintainer_email='[email protected]',
url='https://github.com/sbg/sevenbridges-python',
license='Apache Software License 2.0',
include_package_data=True,
packages=find_packages(exclude=["*.tests"]),
keywords=['sevenbridges', 'sbg', 'api', 'cgc', 'cancer', 'genomics',
'cloud'],
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)