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

zipfile.
This commit is contained in:
Phillip J. Eby 2006-04-18 04:31:46 +00:00
parent 069159b113
commit 8f925cc050
2 changed files with 2 additions and 2 deletions

View file

@ -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 ...