Issue #226 new

easy_install always chose 32bit cli.exe, even on windows64bit

Guy Rozendorn
created an issue

No description provided.

Comments (3)

  1. Guy Rozendorn reporter

    Here's the patch: diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 74854a7..910cf46 100644 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1775,7 +1775,7 @@ def get_script_args(dist, executable=sys_executable, wininst=False): old = ['.pyw'] new_header = re.sub('(?i)python.exe','pythonw.exe',header) else: - ext, launcher = '-script.py', 'cli-64.exe' if sys.maxsize > 264 else 'cli-32.exe' + ext, launcher = '-script.py', 'cli-64.exe' if sys.maxsize > 232 else 'cli-32.exe' old = ['.py','.pyc','.pyo'] new_header = re.sub('(?i)pythonw.exe','python.exe',header)

  2. Log in to comment