forked from csmiller/EMIRGE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (29 loc) · 1.24 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
# typical compilation: python setup.py build_ext --inplace
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
from numpy import get_include
numpy_include_dir = get_include()
ext_modules = [Extension("pykseq", ["./pykseq/pykseq.pyx"], libraries=["z"],
include_dirs=['./pykseq'],
library_dirs=['./pykseq']),
Extension("_emirge", ["_emirge.pyx"],
include_dirs=[numpy_include_dir],
extra_compile_args=["-O3"]),
Extension("_emirge_amplicon", ["_emirge_amplicon.pyx"],
include_dirs=[numpy_include_dir, './pykseq'],
libraries=["z"], library_dirs = ['./pykseq'],
extra_compile_args=["-O3"])]
setup(
name = 'EMIRGE',
description = 'EMIRGE reconstructs full length sequences from short sequencing reads',
cmdclass = {'build_ext': build_ext},
ext_modules = ext_modules,
scripts = ["emirge.py",
"emirge_amplicon.py",
"emirge_rename_fasta.py"],
author="Christopher Miller",
author_email="[email protected]",
version="0.5.0",
license="GPLv3",
)