mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Handle easy_install being run via -m with no __file__ if done from a
zipfile.
This commit is contained in:
parent
069159b113
commit
8f925cc050
2 changed files with 2 additions and 2 deletions
|
@ -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 ...
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue