[Python-checkins] CVS: python/dist/src setup.py,1.33,1.34
A.M. Kuchling
akuchling@users.sourceforge.net
Wed, 28 Feb 2001 14:49:28 -0800
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv5348
Modified Files:
setup.py
Log Message:
Fix for bug #405007: prefix subdir to scripts in order to build in
a subdirectory.
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** setup.py 2001/02/28 20:56:49 1.33
--- setup.py 2001/02/28 22:49:26 1.34
***************
*** 80,83 ****
--- 80,87 ----
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)