-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·83 lines (76 loc) · 2 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
77
78
79
80
81
82
83
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
import sys
try:
with open('README.rst') as readme_file:
readme = readme_file.read()
except FileNotFoundError:
readme = ''
requirements = [
'biopython',
'matplotlib',
'numpy',
'pystache',
'scipy>=0.18',
'pyfasta',
'first',
'pyyaml',
]
if sys.version_info < (3, 5):
requirements.append('pyparsing!=2.1.2')
test_requirements = [
]
covest_poisson = Extension(
'covest_poisson',
libraries=['m'],
sources=['c_src/covest_poissonmodule.c'],
extra_compile_args=['-std=c99'],
)
setup(
name='covest',
version='0.5.6',
description="Covest estimates the coverage and genome size, "
"just from k-mer abundance histogram computed from DNA sequences reads.",
long_description=readme,
author="Michal Hozza",
author_email='mhozza@gmail.com',
url='https://github.com/mhozza/covest',
packages=[
'covest',
],
package_dir={
'covest': 'covest'
},
include_package_data=True,
ext_modules=[covest_poisson],
install_requires=requirements,
entry_points={
'console_scripts': ['covest=covest.covest:run'],
},
scripts=[
'bin/gsest.py',
'bin/reads_size.py',
'bin/fasta_length.py',
'bin/kmer_hist.py',
'bin/read_sampler.py',
],
license='GNU GPLv3',
zip_safe=False,
keywords='covest',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
test_suite='tests',
tests_require=test_requirements
)