aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-05-11 14:08:53 +0100
committerJason R. Coombs <jaraco@jaraco.com>2013-05-11 14:08:53 +0100
commitbb930c503c9af36d7a90ed2e280745833b497a51 (patch)
treee32dfafba45f93308ec60379278cae1280230011 /setuptools/command/easy_install.py
parenta938092e7b189337cdd25c101c2e8fc984433eff (diff)
parenta011aa8e2f3b911c809a5eb52f57e0584786ea4d (diff)
downloadexternal_python_setuptools-bb930c503c9af36d7a90ed2e280745833b497a51.tar.gz
external_python_setuptools-bb930c503c9af36d7a90ed2e280745833b497a51.tar.bz2
external_python_setuptools-bb930c503c9af36d7a90ed2e280745833b497a51.zip
Merge
--HG-- branch : distribute
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index dc851d1e..10a8f272 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -19,6 +19,7 @@ import zipfile
import re
import stat
import random
+import platform
from glob import glob
import pkg_resources
from setuptools import Command, _dont_write_bytecode
@@ -1839,6 +1840,8 @@ def get_script_args(dist, executable=sys_executable, wininst=False):
ext, launcher = '-script.py', 'cli.exe'
old = ['.py','.pyc','.pyo']
new_header = re.sub('(?i)pythonw.exe','python.exe',header)
+ if platform.machine().lower()=='arm':
+ launcher = launcher.replace(".", "-arm.")
if is_64bit():
launcher = launcher.replace(".", "-64.")
else: