-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
50 lines (44 loc) · 1.4 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
from __future__ import print_function
import os
import versioneer
from setuptools import setup, find_packages
readme_dir = os.path.dirname(__file__)
readme_filename = os.path.join(readme_dir, 'README.md')
try:
with open(readme_filename, 'r') as f:
readme = f.read()
except:
readme = ""
try:
import pypandoc
readme = pypandoc.convert(readme, to='rst', format='md')
except:
print(
"Conversion of long_description from MD to reStructuredText failed...")
if __name__ == '__main__':
setup(
name='pytcga',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Store and query public TCGA data",
author="Arun Ahuja",
author_email="aahuja11 {at} gmail {dot}",
url="https://github.com/arahuja/pytcga",
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
install_requires=[
'pandas >=0.13.1',
'nose >=1.3.6',
'beautifulsoup4',
'requests>=2.9.1',
'appdirs>=1.4.0',
],
long_description=readme,
packages=find_packages(exclude=["test", "tests"]),
)