-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·58 lines (44 loc) · 1.45 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
import os, sys
from setuptools import setup, find_packages
from setuptools.command.install import install
script_path = os.path.join(sys.prefix, 'bin')
with open("README.md", "r") as fh:
long_description = fh.read()
class PostInstallCommand(install):
def run(self):
os.system('chmod +x ' + os.path.join(script_path, 'CytoSig_run.py'))
install.run(self)
setup(
name="CytoSig",
version="0.0.3",
author="Peng Jiang",
author_email="[email protected]",
description="Prediction model for cytokine signaling activity",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/data2intelligence/CytoSig",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires = '>=3.6',
install_requires=[
'numpy',
'pandas',
'scipy',
'data_significance',
],
data_files=[
('bin', [
os.path.join('CytoSig', 'CytoSig_run.py'),
os.path.join('CytoSig', 'signature.centroid'),
os.path.join('CytoSig', 'signature.centroid.expand'),
os.path.join('CytoSig', 'signature.centroid.beta'),
]),
],
cmdclass={
'install': PostInstallCommand,
},
)