summaryrefslogtreecommitdiff
path: root/pyximport/pyximport.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2012-08-05 13:16:35 +0200
committerStefan Behnel <stefan_ml@behnel.de>2012-08-05 13:16:35 +0200
commitee1719e54d2737ec84626cecdb791dd17a0ea370 (patch)
tree454d8b4c9b67e20d76c752e5c3a4554708739100 /pyximport/pyximport.py
parenta8393fa58741c9ae0647e8fdec5fee4ffd91ddf9 (diff)
downloadcython-ee1719e54d2737ec84626cecdb791dd17a0ea370.tar.gz
Py3 import fix in pyximport
Diffstat (limited to 'pyximport/pyximport.py')
-rw-r--r--pyximport/pyximport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyximport/pyximport.py b/pyximport/pyximport.py
index b46e15ef0..903448d60 100644
--- a/pyximport/pyximport.py
+++ b/pyximport/pyximport.py
@@ -456,7 +456,7 @@ def install(pyximport=True, pyimport=False, build_dir=None, build_in_temp=True,
if pyimport and not has_py_importer:
py_importer = PyImporter(pyxbuild_dir=build_dir, inplace=inplace)
# make sure we import Cython before we install the import hook
- import pyxbuild, Cython.Compiler.Main, Cython.Compiler.Pipeline, Cython.Compiler.Optimize
+ import pyximport.pyxbuild, Cython.Compiler.Main, Cython.Compiler.Pipeline, Cython.Compiler.Optimize
sys.meta_path.insert(0, py_importer)
if pyximport and not has_pyx_importer: