-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
56 lines (45 loc) · 1.37 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
47
48
49
50
51
52
53
54
55
56
#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
)
trna_charging_module = cythonize(
os.path.join("wholecell", "utils", "_trna_charging.pyx"),
# annotate=True, # emit an html file with annotated C code
)
setup(
name = "tRNA Charging",
ext_modules = trna_charging_module,
include_dirs = [np.get_include()]
)