-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
76 lines (65 loc) · 2.67 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
#!/usr/bin/env python
# ----------------------------------------------------------------------------
# Copyright (c) 2015--, calour 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 setuptools import find_packages, setup
# 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('calour/__init__.py', 'rb') as f:
hit = _version_re.search(f.read().decode('utf-8')).group(1)
version = str(ast.literal_eval(hit))
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: BSD License',
'Environment :: Console',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: Unix',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows']
description = 'CALOUR: exploratory and interactive microbiome analyses based on heatmap'
with open('README.md') as f:
long_description = f.read()
keywords = 'microbiome heatmap analysis bioinformatics'
setup(name='calour',
version=version,
license='BSD',
description=description,
long_description=long_description,
keywords=keywords,
classifiers=classifiers,
author="calour development team",
author_email='zhenjiang.xu@gmail.com',
maintainer="calour development team",
url='http://biocore.github.io/calour',
test_suite='nose.collector',
packages=find_packages(),
package_data={'calour': ['log.cfg', 'calour.config', 'export_html_template.html']},
install_requires=[
'numpy',
'scipy >= 1.10.0',
'pandas >= 2.0.0',
'matplotlib >= 2.0',
'scikit-learn >= 0.19.1',
'biom-format',
'statsmodels',
'docrep'],
extras_require={'test': ["nose", "pep8", "flake8", 'scikit-bio >= 0.5.1', 'ipywidgets'],
'coverage': ["coveralls"],
'doc': ["Sphinx >= 1.4", "sphinx-autodoc-typehints", "nbsphinx"],
'dendrogram': ['scikit-bio >= 0.5.1']
})