summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/setup.py b/setup.py
index 1ccd0e6..587b990 100644
--- a/setup.py
+++ b/setup.py
@@ -5,24 +5,15 @@ import numpy
all_extensions = Extension(
"*",
- ["pyisda/*.pyx", "c_layer/curve.cpp"],
+ ["pyisda/*.pyx"],
include_dirs=["c_layer", numpy.get_include()],
libraries=["cds", "farmhash"],
language="c++",
extra_compile_args=["-fopenmp"],
extra_link_args=["-fopenmp", "-Wl,--strip-all"],
)
-
-c_extension = Extension(
- "pyisda.optim",
- include_dirs=["c_layer", numpy.get_include()],
- sources=["pyisda/optim.pyx", "c_layer/cdsbootstrap.c"],
- libraries=["cds"],
- language="c++",
-)
-
all_extensions = cythonize(
- [c_extension, all_extensions],
+ [all_extensions],
nthreads=4,
compiler_directives={"embedsignature": True,
"language_level": 3,