-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
executable file
·75 lines (66 loc) · 2.01 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
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import re
from glob import glob
from os.path import basename, dirname, join, splitext
from setuptools import find_packages
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read().replace(".. :changelog:", "")
# TODO: Automatically add requirements from requirements.txt
requirements = [
"numpy>=1.7",
"pandas>=0.17",
"requests>=2.21.0",
"tqdm>=4.31.1",
]
test_requirements = [
"tox",
]
setup(
name="GEOparse",
version="2.0.4",
description="Python library to access Gene Expression Omnibus Database (GEO)",
long_description=readme + "\n\n" + history,
author="Rafal Gumienny",
author_email="[email protected]",
url="https://github.com/guma44/GEOparse",
packages=find_packages("src"),
package_dir={"": "src"},
python_requires=">3.5.0",
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
include_package_data=True,
scripts=["scripts/geo2fastq"],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords=[
"GEOparse",
"GEO",
"Gene Expression Omnibus",
"Bioinformatics",
"Microarray",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
test_suite="tests",
tests_require=test_requirements,
project_urls={
"Documentation": "https://geoparse.readthedocs.io/",
"Changelog": "https://geoparse.readthedocs.io/en/latest/history.html",
"Issue Tracker": "https://github.com/guma44/GEOparse/issues",
},
)