-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
executable file
·40 lines (37 loc) · 1.11 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
import sys
from setuptools import setup, find_packages
from distutils.command.install import install
from distutils.command.build import build
from subprocess import call
class Build(build):
def run(self):
cmd = ["make", "-C", "./SJARACNe"]
if call(cmd) != 0:
sys.exit(-1)
build.run(self)
version = {}
with open("./version.py") as fp:
exec(fp.read(), version)
setup(
name="SJARACNe",
version=version["__version__"],
description="Gene network reverse engineering from big data",
url="https://github.com/jyyulab/SJARACNe",
author="Liang Ding, Jiyang Yu",
author_email="[email protected], [email protected]",
license="See LICENSE.md",
install_requires=[
"pandas >= 1.2.3",
"numpy >= 1.20.1",
"scipy >= 1.7.3",
"cwltool >= 3.0.20201117141248",
],
python_requires=">=3.7.6",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
include_package_data=True,
# test_suite="tests",
entry_points={"console_scripts": ["sjaracne=SJARACNe.sjaracne:main"]},
cmdclass={
'build': Build,
}
)