-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
28 lines (24 loc) · 847 Bytes
/
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
from setuptools import setup, find_packages
import re
import ast
# 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('q2_humann2/__init__.py', 'rb') as f:
hit = _version_re.search(f.read().decode('utf-8')).group(1)
version = str(ast.literal_eval(hit))
setup(
name="q2-humann2",
version=version,
packages=find_packages(),
install_requires=['qiime >= 2.0.0',
'humann2 >= 0.9.4, < 1.0.0',
'biom-format >= 2.1.5, < 2.2.0'],
author="Daniel McDonald",
author_email="[email protected]",
description="QIIME2 plugin for running HUMAnN2",
entry_points={
"qiime.plugins":
["q2-humann2=q2_humann2.plugin_setup:plugin"]
}
)