-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
executable file
·38 lines (34 loc) · 941 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
37
38
import sys
from setuptools import setup, Extension
extra_compile_args = ["-std=c99"]
if sys.platform == "darwin":
extra_compile_args.append("-mmacosx-version-min=10.9")
print("Using macOS clang args")
ext_modules = [
Extension(
"remora.data_chunks_core",
sources=["src/remora/data_chunks_core.pyx"],
extra_compile_args=extra_compile_args,
language="c",
),
Extension(
"remora.encoded_kmers",
sources=["src/remora/encoded_kmers.pyx"],
extra_compile_args=extra_compile_args,
language="c",
),
Extension(
"remora.refine_signal_map_core",
sources=["src/remora/refine_signal_map_core.pyx"],
extra_compile_args=extra_compile_args,
language="c",
),
]
if __name__ == "__main__":
setup(
setup_requires=[
"setuptools>=38.3",
"cython",
],
ext_modules=ext_modules,
)