generated from dopt-python/py311
Cython Integration and Test Case Enhancements #1
12
setup.py
12
setup.py
@ -3,8 +3,18 @@ from Cython.Compiler import Options
|
||||
from setuptools import setup
|
||||
|
||||
Options.docstrings = False
|
||||
Options.embed_pos_in_docstring = False
|
||||
Options.annotate = False
|
||||
Options.fast_fail = True
|
||||
|
||||
ext_modules = cythonize(["src/dopt_sensor_anomalies/detection.py"])
|
||||
ext_modules = cythonize(
|
||||
["src/dopt_sensor_anomalies/detection.py"],
|
||||
compiler_directives={
|
||||
"language_level": 3,
|
||||
"embedsignature": False,
|
||||
"annotation_typing": True,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
setup(ext_modules=ext_modules)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user