Commit df88d3aa authored by Stefan Behnel's avatar Stefan Behnel

Remove add_dll_directory() calls in cython.inline() again to see if it's...

Remove add_dll_directory() calls in cython.inline() again to see if it's really needed after fixing the import procedure.
parent 7b59e3b7
......@@ -275,15 +275,6 @@ def __invoke(%(params)s):
build_extension.build_lib = lib_dir
build_extension.run()
# On Windows, we need to add the library output directory to the DLL load path (Py3.8+).
# https://github.com/cython/cython/issues/3450
try:
add_dll_directory = os.add_dll_directory
except AttributeError:
pass
else:
add_dll_directory(os.path.abspath(os.path.dirname(module_path)))
module = load_dynamic(module_name, module_path)
_cython_inline_cache[orig_code, arg_sigs, key_hash] = module.__invoke
......
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