Enable relative cimports
authorRobert Bradshaw <robertwb@math.washington.edu>
Wed, 24 Oct 2007 07:15:01 +0000 (00:15 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Wed, 24 Oct 2007 07:15:01 +0000 (00:15 -0700)
Cython/Compiler/Main.py
Cython/Distutils/__init__.py

index 54b17b0bc97f2285f4d6a55064a473c0b1a1ec6c..9e517958f4d2524d1cbf136e158dcd051871ff90 100644 (file)
@@ -189,7 +189,7 @@ class Context:
                 c_stat = os.stat(result.c_file)
             except EnvironmentError:
                 pass
-        module_name = self.extract_module_name(source, options)
+        module_name = full_module_name # self.extract_module_name(source, options)
         initial_pos = (source, 1, 0)
         scope = self.find_module(module_name, pos = initial_pos, need_pxd = 0)
         errors_occurred = False
index 49493bf2fb9a7a3049c99710ef81af5054ee3d4c..095403bf17231301b1fad71825fe12a3d27e50f4 100644 (file)
@@ -8,4 +8,4 @@
 # so that *our* build_ext can make use of it.
 
 from build_ext import build_ext
-from extension import Extension
+from extension import Extension