Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f925cc

Browse files
committed
Handle easy_install being run via -m with no __file__ if done from a
zipfile.
1 parent 069159b commit 8f925cc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/setuptools.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 1.0
22
Name: setuptools
3-
Version: 0.7a1dev-r45519
3+
Version: 0.7a1dev-r45521
44
Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
55
Home-page: http://peak.telecommunity.com/DevCenter/setuptools
66
Author: Phillip J. Eby

Lib/setuptools/command/easy_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,6 +1549,7 @@ def _show_help(self,*args,**kw):
15491549
with_ei_usage(lambda:
15501550
setup(
15511551
script_args = ['-q','easy_install', '-v']+argv,
1552+
script_name = sys.argv[0] or 'easy_install',
15521553
distclass=DistributionWithoutHelpCommands, **kw
15531554
)
15541555
)
@@ -1557,4 +1558,3 @@ def _show_help(self,*args,**kw):
15571558

15581559

15591560

1560-

0 commit comments

Comments
 (0)