forked from biocore/micronota
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
73 lines (63 loc) · 2.47 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
#!/usr/bin/env python
# ----------------------------------------------------------------------------
# Copyright (c) 2015--, micronota 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('micronota/__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.3',
'Programming Language :: Python :: 3.4',
'Operating System :: Unix',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows']
description = 'MICRONOTA: annotation pipeline for microbial (meta)genomes'
with open('README.org') as f:
long_description = f.read()
keywords = 'genome metagenome gene annotation RNA',
setup(name='micronota',
version=version,
license='BSD',
description=description,
long_description=long_description,
keywords=keywords,
classifiers=classifiers,
author="micronota development team",
author_email="[email protected]",
maintainer="micronota development team",
maintainer_email="[email protected]",
url='http://microbio.me/micronota',
test_suite='nose.collector',
packages=find_packages(),
package_data={'micronota': ['support_files/*']},
install_requires=[
'click >= 6',
'scikit-bio >= 0.4.0',
'burrito >= 0.9'
],
extras_require={'test': ["nose", "pep8", "flake8"],
'coverage': ["coverage"],
'doc': ["Sphinx == 1.3.3"]},
entry_points={
'console_scripts': [
'micronota=micronota.cli:cmd',
]})