1from setuptools import setup, find_packages 2 3 4version = '0.5.2' 5 6# Run 2to3 builder if we're on Python 3.x, from 7# http://wiki.python.org/moin/PortingPythonToPy3k 8try: 9 from distutils.command.build_py import build_py_2to3 as build_py 10except ImportError: 11 # 2.x 12 from distutils.command.build_py import build_py 13command_classes = {'build_py': build_py} 14 15setup(name='pyfasta', 16 version=version, 17 description=\ 18 "fast, memory-efficient, pythonic (and command-line) access to fasta sequence files", 19 url="http://github.com/brentp/pyfasta/", 20 long_description=open('README.rst').read() + "\n" + open('CHANGELOG.txt').read(), 21 classifiers=["Topic :: Scientific/Engineering :: Bio-Informatics"], 22 keywords='bioinformatics blast fasta', 23 author='brentp', 24 author_email='bpederse@gmail.com', 25 license='MIT', 26 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), 27 package_data={'':['CHANGELOG.txt']}, 28 include_package_data=True, 29 tests_require=['nose'], 30 test_suite='nose.collector', 31 zip_safe=False, 32 install_requires=[ 33 # -*- Extra requirements: -*- 34 ], 35 scripts=[], 36 entry_points={ 37 'console_scripts': ['pyfasta = pyfasta:main'] 38 }, 39 cmdclass=command_classes, 40 ) 41