Kaydet (Commit) 3da989c6 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix for bug #405007: prefix subdir to scripts in order to build in

    a subdirectory.
üst 8bad993d
......@@ -79,6 +79,10 @@ class PyBuildExt(build_ext):
srcdir = os.path.normpath(srcdir)
moddir = os.path.normpath(moddir)
# Fix up the paths for scripts, too
self.distribution.scripts = [os.path.join(srcdir, filename)
for filename in self.distribution.scripts]
for ext in self.extensions[:]:
ext.sources = [ os.path.join(moddir, filename)
for filename in ext.sources ]
......
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