diff options
author | Phillip J. Eby <pje@telecommunity.com> | 2006-04-18 04:31:46 (GMT) |
---|---|---|
committer | Phillip J. Eby <pje@telecommunity.com> | 2006-04-18 04:31:46 (GMT) |
commit | 8f925cc0508146d744b2baf93d1eab0147cde91b (patch) | |
tree | 0c6142432082ef1219d4ed158a7a8c0c77f29524 /Lib/setuptools/command/easy_install.py | |
parent | 069159b11390d2827380cd3bf9a90d4ff57527a0 (diff) | |
download | cpython-8f925cc0508146d744b2baf93d1eab0147cde91b.zip cpython-8f925cc0508146d744b2baf93d1eab0147cde91b.tar.gz cpython-8f925cc0508146d744b2baf93d1eab0147cde91b.tar.bz2 |
Handle easy_install being run via -m with no __file__ if done from a
zipfile.
Diffstat (limited to 'Lib/setuptools/command/easy_install.py')
-rwxr-xr-x | Lib/setuptools/command/easy_install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/setuptools/command/easy_install.py b/Lib/setuptools/command/easy_install.py index 1af063d..adb99b6 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 ... - |