-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
54 lines (51 loc) · 2.11 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
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_karenina/__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-karenina",
version=version,
packages=find_packages(),
# pandas and q2-dummy-types are only required for the dummy methods and
# visualizers provided as examples. Remove these dependencies when you're
# ready to develop your plugin, and add your own dependencies (if there are
# any).
install_requires=['qiime2>=2.0.0', 'pandas', 'scipy', 'scikit-bio'],
# THIS IS BROKEN AND NEEDS FIXING
# FOR NOW, REQUIRE USERS TO INSTALL KARENINA FIRST
# pip install git+https://github.com/zaneveld/karenina
dependency_links=['git+https://github.com/zaneveld/karenina.git'],
author="Jesse Zaneveld",
author_email="[email protected]",
description="This script simulates microbiome " +
"change over time using Ornstein-Uhlenbeck (OU) models. These are " +
"similar to Brownian motion models, with the exception that they " +
"include reversion to a mean. Output is a tab-delimited data table " +
"and figures.",
url='https://github.com/zaneveld/karenina',
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: Qiime2 Users',
'Topic :: Microbiology :: Visualization and Modeling Tools',
'License :: GPL',
#'Programming Language :: Python :: 2',
#'Programming Language :: Python :: 2.7',
#'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
#'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
entry_points={
"qiime2.plugins":
["q2-karenina=q2_karenina.plugin_setup:plugin"]
},
package_data={'q2_karenina':['assets/*']}
)