-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
45 lines (41 loc) · 1.22 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
#!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from distutils import setup
# importing __<vars>__ into the namespace
#https://packaging.python.org/guides/single-sourcing-package-version/#single-sourcing-the-version
with open('opentargets/version.py') as fv:
exec(fv.read())
pkg_dir = os.path.dirname(__file__)
long_description = open(os.path.join(pkg_dir, "README.md")).read()
setup(name=__pkgname__,
version=__version__,
description=__description__,
long_description=long_description,
long_description_content_type='text/markdown; charset=UTF-8',
author=__author__,
author_email=__author_email__,
url=__homepage__,
packages=['opentargets'],
license=__license__,
download_url=__homepage__ + '/archive/' + __version__ + '.tar.gz',
keywords=['opentargets', 'bioinformatics', 'python3'],
install_requires=[
'requests<3.0',
'cachecontrol==0.11.6',
'future==0.16.0',
'PyYAML',
'addict'],
extras_require={
'tests': [
'nose',
'pandas',
'xlwt',
'tqdm'
],
'docs': [
'sphinx >= 1.4',
'sphinx_rtd_theme']}
)