mirror of https://github.com/python/cpython.git
Handle easy_install being run via -m with no __file__ if done from a
zipfile.
This commit is contained in:
parent
069159b113
commit
8f925cc050
|
@ -1,6 +1,6 @@
|
||||||
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 @@ def _show_help(self,*args,**kw):
|
||||||
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 @@ def _show_help(self,*args,**kw):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue