Commit af79513b authored by Robert Bradshaw's avatar Robert Bradshaw

Fix directive_defaults reference.

parent bd4889fe
......@@ -173,8 +173,8 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan
else:
from Cython.Distutils import build_ext
if profile:
from Cython.Compiler.Options import directive_defaults
directive_defaults['profile'] = True
from Cython.Compiler.Options import get_directive_defaults
get_directive_defaults()['profile'] = True
sys.stderr.write("Enabled profiling for the Cython binary modules\n")
# not using cythonize() here to let distutils decide whether building extensions was requested
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment