-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
90 lines (82 loc) · 2.44 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python
from setuptools import setup
from glob import glob
from setuptools.command.install import install
import shutil
__author__ = "The Clemente Lab"
__copyright__ = "Copyright (c) 2021 The Clemente Lab"
__credits__ = ["David S. Wallach", "Jose C. Clemente"]
__license__ = "GPL"
__maintainer__ = "David S. Wallach"
__email__ = "[email protected]"
class cleanProject(install):
"""Custom clean command to tidy up the project root."""
def run(self):
install.run(self)
try:
shutil.rmtree('dist')
except FileNotFoundError:
print('no dist folder to remove')
try:
shutil.rmtree('mmeds.egg-info')
except FileNotFoundError:
print('no egg-info folder to remove')
"""
print('Cleaning out build artifacts')
try:
shutil.rmtree('build')
except FileNotFoundError:
print('no build folder to remove')
"""
setup(name='mmeds',
version='0.8.5',
description='',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
url='http://github.com/clemente-lab/mmeds-meta',
author=__author__,
author_email=__email__,
license=__license__,
packages=[
'mmeds',
'mmeds.tools',
'mmeds.database'
],
include_package_data=True,
scripts=glob('scripts/*.py'),
install_requires=[
'cherrypy==18.6.0',
'codecov==2.1.13',
'setuptools==52.0.0',
'mongoengine==0.23.0',
'nbformat',
'pandas==1.2.3',
'pandoc==2.0a4',
'pint==0.17',
'ppretty==1.3',
'prettytable==2.1.0',
'psutil==5.8.0',
'pudb==2021.1',
'pygments==2.8.1',
'pymysql==1.0.2',
'pytest-cov==2.11.1',
'pytest-pudb==0.7.0',
'python-Levenshtein==0.12.2',
'pytidylib==0.3.2',
'pyyaml==5.4.1',
'rpy2==3.4.3',
'six==1.15.0',
'xlrd==2.0.1',
'click==7.1.2',
'jaraco.classes==3.2.1',
'jaraco.text==3.5.0',
'jaraco.functools==3.3.0',
'tempora==4.0.2'
],
zip_safe=False,
cmdclass={'install': cleanProject}
)