-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
56 lines (53 loc) · 2.15 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
#!/usr/bin/python3
pkgname="dictys"
pkgnamefull="Context specific and dynamic gene regulatory network reconstruction and analysis"
version=[1,1,0]
url="https://github.com/pinellolab/"+pkgname
author="Lingfei Wang, Nikolaos Trasanidis, Luca Pinello"
packages=['docstring2argparse','dictys','dictys.net','dictys.utils','dictys.plot']
def pkg_setup():
from setuptools import setup
from os import path
pkgnameu=pkgname[0].upper()+pkgname[1:].lower()
with open(path.join(path.abspath(path.dirname(__file__)),'README.rst'),encoding='utf-8') as f:
long_description=f.read()
setup(name=pkgname,
version='.'.join(map(str,version)),
author=author,
author_email=author_email,
description=pkgnamefull,
long_description=long_description,
long_description_content_type='text/x-rst',
url=url,
scripts=['bin/dictys','bin/dictys_helper'],
install_requires=['numpy','pandas','docutils','h5py','pyro-ppl','scipy','networkx','pybedtools','pyDNase','threadpoolctl','joblib','torch','matplotlib','adjustText','jupyter'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: GPU :: NVIDIA CUDA :: 11.3',
'Environment :: GPU :: NVIDIA CUDA :: 11.6',
'Environment :: GPU :: NVIDIA CUDA :: 11.7',
'Framework :: Jupyter',
'Framework :: Matplotlib',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Visualization',
],
python_requires='>=3.9',
packages=packages,
package_dir={x:path.join('src',*x.split('.')) for x in packages},
package_data={
'dictys':
['scripts/*.'+x for x in 'sh,py'.split(',')]+
['scripts/helper/*.'+x for x in 'sh,py'.split(',')]+
['scripts/makefiles/*.'+x for x in 'mk'.split(',')],
}
)
pkg_setup()