[Python-checkins] python/nondist/sandbox/setuptools/setuptools/command easy_install.py, 1.26, 1.27

pje@users.sourceforge.net pje at users.sourceforge.net
Sat Sep 3 06:37:29 CEST 2005


Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9807/setuptools/command
Modified Files:
	easy_install.py 
Log Message:
Make sure that script target directory exists. Ordinarily it should, but
some bdist_* targets install to a pseudo-root where stuff might not exist.
Index: easy_install.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/easy_install.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- easy_install.py	3 Sep 2005 04:04:03 -0000	1.26
+++ easy_install.py	3 Sep 2005 04:37:18 -0000	1.27
@@ -481,6 +481,7 @@
 ) % locals()
 
 if not self.dry_run:
+ ensure_directory(target)
 f = open(target,"w")
 f.write(script_text)
 f.close()
@@ -489,7 +490,6 @@
 except (AttributeError, os.error):
 pass
 
-
 def install_eggs(self, spec, dist_filename, tmpdir):
 # .egg dirs or files are already built, so just return them
 if dist_filename.lower().endswith('.egg'):


More information about the Python-checkins mailing list

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