aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authoragronholm <none@none>2009-10-20 01:56:50 +0300
committeragronholm <none@none>2009-10-20 01:56:50 +0300
commitb2c722a3a23d81a02ec0bd58b91c26e7b9b2fedf (patch)
tree65d128ef2d0ce45838f6d72eb33cdde1d1306171 /setuptools/command/easy_install.py
parent7572da337f94c328f00100dc55f494c9d811f4bd (diff)
parente6e0e5add9321df50c5da9ee2f1650740024c8ed (diff)
downloadexternal_python_setuptools-b2c722a3a23d81a02ec0bd58b91c26e7b9b2fedf.tar.gz
external_python_setuptools-b2c722a3a23d81a02ec0bd58b91c26e7b9b2fedf.tar.bz2
external_python_setuptools-b2c722a3a23d81a02ec0bd58b91c26e7b9b2fedf.zip
Merge with aadeea4644ffb5e0ba24865151dd9315fb961cf1
--HG-- branch : distribute extra : rebase_source : 71d476c0c54e5cb49de8308f658983f6343bb2d3
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 4b03e185..195139c7 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1603,14 +1603,13 @@ def get_script_args(dist, executable=sys_executable, wininst=False):
")\n"
) % locals()
if sys.platform=='win32' or wininst:
- word_size = [32, 64]['amd64' in sys.version.lower()]
# On Windows/wininst, add a .py extension and an .exe launcher
if group=='gui_scripts':
- ext, launcher = '-script.pyw', 'gui-%d.exe' % word_size
+ ext, launcher = '-script.pyw', 'gui.exe'
old = ['.pyw']
new_header = re.sub('(?i)python.exe','pythonw.exe',header)
else:
- ext, launcher = '-script.py', 'cli-%d.exe' % word_size
+ ext, launcher = '-script.py', 'cli.exe'
old = ['.py','.pyc','.pyo']
new_header = re.sub('(?i)pythonw.exe','python.exe',header)