Commit f669e94f authored by Stefan Behnel's avatar Stefan Behnel

C target directory fix for build_ext

parent 3024a47d
......@@ -156,7 +156,7 @@ class build_ext(_build_ext.build_ext):
target_dir = ""
for source in sources:
(base, ext) = os.path.splitext(source)
(base, ext) = os.path.splitext(os.path.basename(source))
if ext == ".pyx": # Cython source file
new_sources.append(os.path.join(target_dir, base + target_ext))
pyrex_sources.append(source)
......
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