-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (62 loc) · 2.12 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
import os
import re
import sys
from setuptools import find_packages, setup
py_version = sys.version_info[:2]
if py_version < (3, 6):
raise RuntimeError("MAmotif requires Python 3.6+ to install!")
description = "An integrative toolkit for detecting cell type-specific " \
"regulators"
pkg_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(pkg_dir, 'mamotif', '__init__.py')) as fin:
version = re.search(r"__version__ = '(.*?)'", fin.read()).group(1)
with open(os.path.join(pkg_dir, 'README.rst')) as fin:
long_description = fin.read()
install_requires = [
"numpy>=1.15",
"scipy>=1.0",
"MAnorm>=1.3.0",
"motifscan>=1.2.0"
]
extras_require = {
"test": ["pytest>=4.0.0",
"pytest-cov>=2.8.0"],
"docs": ["sphinx>=2.0.0",
"sphinx_rtd_theme"]
}
classifiers = [
"Development Status :: 5 - Production/Stable",
'Environment :: Console',
'Intended Audience :: Science/Research',
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Bio-Informatics"
]
setup(name="MAmotif",
version=version,
description=description,
long_description=long_description,
url="https://github.com/shao-lab/MAmotif",
project_urls={
"Bug Tracker": "https://github.com/shao-lab/MAmotif/issues",
"Documentation": "https://mamotif.readthedocs.io",
"Source Code": "https://github.com/shao-lab/MAmotif",
},
author="Hayden Sun",
author_email="[email protected]",
license='BSD',
packages=find_packages(),
entry_points={"console_scripts": ["mamotif=mamotif.cli.main:main"]},
python_requires=">=3.6",
install_requires=install_requires,
extras_require=extras_require,
classifiers=classifiers,
zip_safe=False,
)