I try to conditionally generate C code from a Cython pyx file. I found in the Cython documentation that I can use DEF
to define a value and IF
to conditionally generate code based on a defined value, but how can I set the value from the setup.py
via Extension
from setuptools
.
Thank You