From 8f925cc0508146d744b2baf93d1eab0147cde91b Mon Sep 17 00:00:00 2001 From: "Phillip J. Eby" Date: Tue, 18 Apr 2006 04:31:46 +0000 Subject: [PATCH] Handle easy_install being run via -m with no __file__ if done from a zipfile. --- Lib/setuptools.egg-info/PKG-INFO | 2 +- Lib/setuptools/command/easy_install.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/setuptools.egg-info/PKG-INFO b/Lib/setuptools.egg-info/PKG-INFO index 0f3dc9f73c..5da6b2e5b0 100644 --- a/Lib/setuptools.egg-info/PKG-INFO +++ b/Lib/setuptools.egg-info/PKG-INFO @@ -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 diff --git a/Lib/setuptools/command/easy_install.py b/Lib/setuptools/command/easy_install.py index 1af063da07..adb99b60a1 100755 --- a/Lib/setuptools/command/easy_install.py +++ b/Lib/setuptools/command/easy_install.py @@ -1549,6 +1549,7 @@ usage: %(script)s [options] requirement_or_url ... 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 @@ usage: %(script)s [options] requirement_or_url ... - -- 2.40.0