[Python-checkins] CVS: python/dist/src/Lib/distutils/command build_scripts.py,1.9,1.10

Just van Rossum jvr@users.sourceforge.net
2001年7月29日 14:39:20 -0700


Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv23150
Modified Files:
	build_scripts.py 
Log Message:
Do convert_path() on script paths (now PyXML builds out of the box
under MacOS.)
Index: build_scripts.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/build_scripts.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** build_scripts.py	2001年07月25日 20:20:11	1.9
--- build_scripts.py	2001年07月29日 21:39:18	1.10
***************
*** 10,13 ****
--- 10,14 ----
 from distutils.core import Command
 from distutils.dep_util import newer
+ from distutils.util import convert_path
 
 # check if Python is called on the first line with this expression
***************
*** 55,58 ****
--- 56,60 ----
 for script in self.scripts:
 adjust = 0
+ script = convert_path(script)
 outfile = os.path.join(self.build_dir, os.path.basename(script))
 

AltStyle によって変換されたページ (->オリジナル) /