generated from dopt-python/py311
update Cython compiler options and directives
This commit is contained in:
parent
a04ee526d8
commit
a7d45ac6c7
12
setup.py
12
setup.py
@ -3,8 +3,18 @@ from Cython.Compiler import Options
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
Options.docstrings = False
|
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)
|
setup(ext_modules=ext_modules)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user