-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
executable file
·55 lines (47 loc) · 1.35 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import glob
import numpy
# dependencies
install_reqs = [
'numpy>=1.17.0',
'scipy>=1.3.1',
'tensorflow>=2.0',
'tensorboard',
'keras',
'scikit-learn',
'ipython'
]
# getting version from __main__.py
__version__ = None
with open(os.path.join('DeepMAsED', '__main__.py')) as inF:
for x in inF:
if x.startswith('def main'):
break
if x.startswith('__version__'):
__version__ = x.split(' ')[2].rstrip().strip("'")
## install main application
desc = 'Deep learning for Metagenome Assembly Error Detection'
setup(
name = 'DeepMAsED',
version = __version__,
description = desc,
long_description = desc + '\n See README for more information.',
author = 'Nick Youngblut',
author_email = '[email protected]',
package_data={'DeepMAsED': ['Model/deepmased_model.h5',
'Model/deepmased_mean_std.pkl']},
entry_points={
'console_scripts': [
'DeepMAsED = DeepMAsED.__main__:main'
]
},
install_requires = install_reqs,
include_dirs = [numpy.get_include()],
license = "MIT license",
packages = find_packages(),
package_dir={'DeepMAsED':
'DeepMAsED'},
url = 'https://github.com/leylabmpi/DeepMAsED'
)