Commit cfdf7e3d authored by Stefan Behnel's avatar Stefan Behnel

enable in-place compilation mode for pyximport when used from test runner...

enable in-place compilation mode for pyximport when used from test runner (improves package compatibility)
parent 77f167a0
...@@ -1684,7 +1684,7 @@ def runtests(options, cmd_args, coverage=None): ...@@ -1684,7 +1684,7 @@ def runtests(options, cmd_args, coverage=None):
if options.pyximport_py: if options.pyximport_py:
from pyximport import pyximport from pyximport import pyximport
pyximport.install(pyimport=True, build_dir=os.path.join(WORKDIR, '_pyximport'), pyximport.install(pyimport=True, build_dir=os.path.join(WORKDIR, '_pyximport'),
load_py_module_on_import_failure=True) load_py_module_on_import_failure=True, inplace=True)
result = test_runner.run(test_suite) result = test_runner.run(test_suite)
......
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