Kaydet (Commit) 8f925cc0 authored tarafından Phillip J. Eby's avatar Phillip J. Eby

Handle easy_install being run via -m with no __file__ if done from a

zipfile.
üst 069159b1
Metadata-Version: 1.0 Metadata-Version: 1.0
Name: setuptools Name: setuptools
Version: 0.7a1dev-r45519 Version: 0.7a1dev-r45521
Summary: Download, build, install, upgrade, and uninstall Python packages -- easily! Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
Home-page: http://peak.telecommunity.com/DevCenter/setuptools Home-page: http://peak.telecommunity.com/DevCenter/setuptools
Author: Phillip J. Eby Author: Phillip J. Eby
......
...@@ -1549,6 +1549,7 @@ usage: %(script)s [options] requirement_or_url ... ...@@ -1549,6 +1549,7 @@ usage: %(script)s [options] requirement_or_url ...
with_ei_usage(lambda: with_ei_usage(lambda:
setup( setup(
script_args = ['-q','easy_install', '-v']+argv, script_args = ['-q','easy_install', '-v']+argv,
script_name = sys.argv[0] or 'easy_install',
distclass=DistributionWithoutHelpCommands, **kw distclass=DistributionWithoutHelpCommands, **kw
) )
) )
...@@ -1557,4 +1558,3 @@ usage: %(script)s [options] requirement_or_url ... ...@@ -1557,4 +1558,3 @@ usage: %(script)s [options] requirement_or_url ...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment