Commit 8ea879e2 authored by Stefan Behnel's avatar Stefan Behnel

blacklist distutils sysconfig module in pyximport (needs to reside inside CPython)

parent 04fe76cf
......@@ -261,7 +261,8 @@ class PyImporter(PyxImporter):
self.super = super(PyImporter, self)
self.super.__init__(extension='.py', pyxbuild_dir=pyxbuild_dir)
self.uncompilable_modules = {}
self.blocked_modules = ['Cython', 'distutils.extension']
self.blocked_modules = ['Cython', 'distutils.extension',
'distutils.sysconfig']
def find_module(self, fullname, package_path=None):
if fullname in sys.modules:
......
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