| 1 |
import os |
| 2 |
from setuptools import setup |
| 3 |
|
| 4 |
version_py = os.path.join(os.path.dirname(__file__), 'poretools', 'version.py') |
| 5 |
version = open(version_py).read().strip().split('=')[-1].replace('"','').strip() |
| 6 |
print version |
| 7 |
long_description = """ |
| 8 |
``poretools`` is a toolset for working with nanopore sequencing data' |
| 9 |
""" |
| 10 |
|
| 11 |
HERE = os.path.dirname(__file__) |
| 12 |
|
| 13 |
with open(os.path.join(HERE, "requirements.txt"), "r") as f: |
| 14 |
install_requires = [x.strip() for x in f.readlines()] |
| 15 |
|
| 16 |
setup( |
| 17 |
name="poretools", |
| 18 |
version=version, |
| 19 |
install_requires=install_requires, |
| 20 |
requires=['python (>=2.7, <3.0)'], |
| 21 |
packages=['poretools', |
| 22 |
'poretools.scripts'], |
| 23 |
author="Nick Loman and Aaron Quinlan", |
| 24 |
description='A toolset for working with nanopore sequencing data', |
| 25 |
long_description=long_description, |
| 26 |
url="http://poretools.readthedocs.org", |
| 27 |
package_dir={'poretools': "poretools"}, |
| 28 |
package_data={'poretools': []}, |
| 29 |
zip_safe=False, |
| 30 |
include_package_data=True, |
| 31 |
#scripts=['poretools/scripts/poretools'], |
| 32 |
entry_points={ |
| 33 |
'console_scripts': [ |
| 34 |
'poretools=poretools.poretools_main:main', |
| 35 |
], |
| 36 |
}, |
| 37 |
author_email="[email protected]", |
| 38 |
classifiers=[ |
| 39 |
'Development Status :: 4 - Beta', |
| 40 |
'Intended Audience :: Science/Research', |
| 41 |
'License :: OSI Approved :: GNU General Public License (GPL)', |
| 42 |
'Topic :: Scientific/Engineering :: Bio-Informatics' |
| 43 |
] |
| 44 |
) |