Skip to content

Commit

Permalink
Merge pull request #34 from opentargets/af-prep-3.1.16
Browse files Browse the repository at this point in the history
Af prep 3.1.16
  • Loading branch information
cmalangone committed Feb 26, 2019
2 parents 31d263c + 8d97763 commit 4a0e5b2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 28 deletions.
2 changes: 1 addition & 1 deletion opentargets/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
__author_email__ = 'support@targetvalidation.org'
__license__ = 'Apache License, Version 2.0'
__homepage__ = 'https://github.com/opentargets/opentargets-py'
__version__ = '3.1.15'
__version__ = '3.1.16'
__api_major_version__ = '3'
__description__ = 'Client for Open Targets REST API at platform-api.opentargets.io'
64 changes: 37 additions & 27 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,35 +1,45 @@
#!/usr/bin/env python
import os

from setuptools import setup
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__,
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']}
)
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']}
)

0 comments on commit 4a0e5b2

Please sign in to comment.