-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (43 loc) · 1.66 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
import os
from setuptools import setup
import versioneer
def read(fname):
"""
Utility function to read information from files.
Used to read README for the long_description and VERSION for the version number.
It's nice, because now 1) we have a top level
README file 2) it's easier to type in the README file than to put a raw
string in below.
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def dependencies(fname):
""" Read required packages from file.
This allows us to maintain a single list of dependencies that
can be used with 'pip install -r' as weel as for packaging.
"""
return open(os.path.join(os.path.dirname(__file__), fname)).readlines()
setup(
name="pyrates",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Peter Humburg, John Judge, David Kohn and Team Pirates",
author_email="p.humburg@garvan.org.au",
description=("Reduces errors in deep sequencing data by computing consensus",
"sequences for duplicate reads"),
license="MIT",
keywords="sequencing error-correction consensus fastq",
url="https://github.com/humburg/pirates",
packages=['pyrates'],
entry_points={
"console_scripts":['pyrates = pyrates.cmd_consensus:main']
},
long_description=read('README.md'),
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
],
install_requires=dependencies('requirements.txt'),
test_suite='nose2.collector.collector',
)