[Python-checkins] r45523 - in python/trunk/Lib: setuptools.egg-info/PKG-INFO setuptools/command/easy_install.py

phillip.eby python-checkins at python.org
Tue Apr 18 06:31:47 CEST 2006


Author: phillip.eby
Date: Tue Apr 18 06:31:46 2006
New Revision: 45523

Modified:
   python/trunk/Lib/setuptools.egg-info/PKG-INFO
   python/trunk/Lib/setuptools/command/easy_install.py
Log:
Handle easy_install being run via -m with no __file__ if done from a 
zipfile.


Modified: python/trunk/Lib/setuptools.egg-info/PKG-INFO
==============================================================================
--- python/trunk/Lib/setuptools.egg-info/PKG-INFO	(original)
+++ python/trunk/Lib/setuptools.egg-info/PKG-INFO	Tue Apr 18 06:31:46 2006
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: setuptools
-Version: 0.7a1dev-r45519
+Version: 0.7a1dev-r45521
 Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
 Home-page: http://peak.telecommunity.com/DevCenter/setuptools
 Author: Phillip J. Eby

Modified: python/trunk/Lib/setuptools/command/easy_install.py
==============================================================================
--- python/trunk/Lib/setuptools/command/easy_install.py	(original)
+++ python/trunk/Lib/setuptools/command/easy_install.py	Tue Apr 18 06:31:46 2006
@@ -1549,6 +1549,7 @@
     with_ei_usage(lambda:
         setup(
             script_args = ['-q','easy_install', '-v']+argv,
+            script_name = sys.argv[0] or 'easy_install',
             distclass=DistributionWithoutHelpCommands, **kw
         )
     )
@@ -1557,4 +1558,3 @@
 
 
 
-


More information about the Python-checkins mailing list