diff options
author | Phillip J. Eby <pje@telecommunity.com> | 2006-04-18 04:31:46 +0000 |
---|---|---|
committer | Phillip J. Eby <pje@telecommunity.com> | 2006-04-18 04:31:46 +0000 |
commit | 8f925cc0508146d744b2baf93d1eab0147cde91b (patch) | |
tree | 0c6142432082ef1219d4ed158a7a8c0c77f29524 | |
parent | 069159b11390d2827380cd3bf9a90d4ff57527a0 (diff) | |
download | cpython-git-8f925cc0508146d744b2baf93d1eab0147cde91b.tar.gz |
Handle easy_install being run via -m with no __file__ if done from a
zipfile.
-rw-r--r-- | Lib/setuptools.egg-info/PKG-INFO | 2 | ||||
-rwxr-xr-x | 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 ... - |