forked from biocore/mmvec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (63 loc) · 2.29 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
#!/usr/bin/env python
# ----------------------------------------------------------------------------
# Copyright (c) 2016--, gneiss development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
# ----------------------------------------------------------------------------
import re
import ast
from glob import glob
from setuptools import find_packages, setup
classes = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: BSD License
Topic :: Software Development :: Libraries
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Bio-Informatics
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Operating System :: Unix
Operating System :: POSIX
Operating System :: MacOS :: MacOS X
"""
classifiers = [s.strip() for s in classes.split('\n') if s]
description = ('Microbe-metabolite interactions through neural networks')
with open('README.md') as f:
long_description = f.read()
# version parsing from __init__ pulled from Flask's setup.py
# https://github.com/mitsuhiko/flask/blob/master/setup.py
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('mmvec/__init__.py', 'rb') as f:
hit = _version_re.search(f.read().decode('utf-8')).group(1)
version = str(ast.literal_eval(hit))
setup(name='mmvec',
version=version,
license='BSD-3-Clause',
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
author="gneiss development team",
author_email="[email protected]",
maintainer="gneiss development team",
maintainer_email="[email protected]",
packages=find_packages(),
scripts=glob('scripts/mmvec'),
install_requires=[
'biom-format',
'numpy >= 1.9.2',
'pandas <= 0.25.3',
'scipy >= 0.15.1',
'nose >= 1.3.7',
'scikit-bio >= 0.5.1',
'seaborn',
'tqdm',
'tensorflow>=1.15,<2'
],
classifiers=classifiers,
entry_points={
'qiime2.plugins': ['q2-mmvec=mmvec.q2.plugin_setup:plugin']
},
package_data={'mmvec': ['q2/assets/*.html']},
zip_safe=False)