-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
44 lines (36 loc) · 2.25 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
import sys
if not sys.version_info[0] == 2:
print("Invalid version of python, use python 2.")
sys.exit(1)
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, Extension
setup(name="reveal", author="Jasper Linthorst", author_email="[email protected]", version="0.2.2",
url="https://github.com/jasperlinthorst/reveal", description="Graph based multi genome aligner",
install_requires=['intervaltree','networkx==2','pysam','matplotlib'],
packages = ['reveal'],
scripts = ['ez_setup.py'],
test_suite = 'nose.collector',
tests_require = ['nose'],
ext_modules=[ \
Extension("reveallib", ["reveallib/reveal.c","reveallib/interface.c","divsufsort/divsufsort.c","divsufsort/utils.c","divsufsort/sssort.c","divsufsort/trsort.c"], \
include_dirs=['reveallib','divsufsort'], \
libraries=['pthread'], \
define_macros=[('HAVE_CONFIG_H',1),('__STDC_CONSTANT_MACROS',1),('__STDC_FORMAT_MACROS',1),('__STDC_LIMIT_MACROS',1)], \
undef_macros=['NDEBUG'] ), \
Extension("reveallib64", ["reveallib/reveal.c","reveallib/interface.c","divsufsort/divsufsort.c","divsufsort/utils.c","divsufsort/sssort.c","divsufsort/trsort.c"], \
include_dirs=['reveallib','divsufsort'], \
libraries=['pthread'], \
define_macros = [('SA64',1),('BUILD_DIVSUFSORT64',1),('HAVE_CONFIG_H',1),('__STDC_CONSTANT_MACROS',1),('__STDC_FORMAT_MACROS',1), ('__STDC_LIMIT_MACROS',1)], \
undef_macros=['NDEBUG'] ), \
Extension("probconslib", ["probcons/Probcons.cc"], \
include_dirs=['probcons'], \
define_macros=[('NumInsertStates',2),('VERSION',1.12)], \
undef_macros=['NDEBUG'] ), \
],
entry_points = {
'console_scripts': [
'reveal = reveal.reveal:main'
]
}
)