forked from rajanil/fastStructure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (29 loc) · 860 Bytes
/
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
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
import sys
# setup bed parser
ext_modules = [Extension("parse_bed", ["parse_bed.pyx"])]
setup(
name = 'parse_bed',
cmdclass = {'build_ext': build_ext},
include_dirs=[numpy.get_include(), '.'],
ext_modules = ext_modules
)
# setup structure format parser
ext_modules = [Extension("parse_str", ["parse_str.pyx"])]
setup(
name = 'parse_str',
cmdclass = {'build_ext': build_ext},
include_dirs=[numpy.get_include(), '.'],
ext_modules = ext_modules
)
# setup fastStructure
ext_modules = [Extension("fastStructure", ["fastStructure.pyx"])]
setup(
name = 'fastStructure',
cmdclass = {'build_ext': build_ext},
include_dirs=[numpy.get_include(), '.', 'vars/'],
ext_modules = ext_modules
)