Mercurial > cpython-lru_cache-weakref
diff setup.py @ 16860:cd4085cee309 legacy-trunk
Fix for bug #405007: prefix subdir to scripts in order to build in
a subdirectory.
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Wed, 28 Feb 2001 22:49:26 +0000 |
| parents | 8156deb0e62d |
| children | 8a4696d7f74c |
line wrap: on
line diff
--- a/setup.py Wed Feb 28 22:39:15 2001 +0000 +++ b/setup.py Wed Feb 28 22:49:26 2001 +0000 @@ -79,6 +79,10 @@ 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 ]
