forked from daler/metaseq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (42 loc) · 1.71 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
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import sys
import os
import numpy
if 'setuptools.extension' in sys.modules:
m = sys.modules['setuptools.extension']
m.Extension.__dict__ = m._Extension.__dict__
version_py = os.path.join(os.path.dirname(__file__), 'metaseq', 'version.py')
version = open(version_py).read().split('=')[-1].strip().replace('"','')
exts = [Extension(
'metaseq.rebin',
['metaseq/rebin.pyx'],
include_dirs=[numpy.get_include()])]
long_description = """
metaseq is a Python framework for genomic data analysis (primarily
high-throughput sequencing, but can be used for much more). It ties
together other frameworks like BEDTools/pybedtools, samtools/pysam, bx-python,
HTSeq, gffutils, and matplotlib.
"""
setup(
name='metaseq',
version=version,
cmdclass = {'build_ext': build_ext},
long_description=long_description,
ext_modules=exts,
install_requires=['bx-python', 'numpy', 'HTSeq', 'matplotlib', 'scipy', 'scikits.learn', 'pybedtools', 'gffutils'],
packages=['metaseq', 'metaseq.test', 'metaseq.test.data'],
package_data={'metaseq':['test/data/*']},
scripts=['metaseq/scripts/download_metaseq_example_data.py'],
author='Ryan Dale',
author_email='dalerr@niddk.nih.gov',
url='http://github.com/daler/metaseq',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Scientific/Engineering :: Bio-Informatics']
)