-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
45 lines (36 loc) · 1.11 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
#from setuptools import setup
from distutils.core import setup
from Cython.Build import cythonize
import numpy as np
import os
build_sequences_module = cythonize(
os.path.join("wholecell", "utils", "_build_sequences.pyx"),
# annotate=True,
)
setup(
name = "Build sequences",
ext_modules = build_sequences_module,
include_dirs = [np.get_include()],
# zip_safe = False # see Cython docs, but it seems to need setuptools
)
complexation_module = cythonize(
os.path.join("wholecell", "utils", "mc_complexation.pyx"),
# annotate=True,
)
setup(
name = "Monte-carlo complexation",
ext_modules = complexation_module,
include_dirs = [np.get_include()],
# zip_safe = False # see Cython docs, but it seems to need setuptools
)
fast_polymerize_sums_module = cythonize(
os.path.join("wholecell", "utils", "_fastsums.pyx"),
#compiler_directives = {'linetrace': True},
# annotate=True, # emit an html file with annotated C code
)
setup(
name = "Fast polymerize sums",
ext_modules = fast_polymerize_sums_module,
include_dirs = [np.get_include()],
# zip_safe = False # see Cython docs, but it seems to need setuptools
)