diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-11 14:08:53 +0100 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-05-11 14:08:53 +0100 |
commit | bb930c503c9af36d7a90ed2e280745833b497a51 (patch) | |
tree | e32dfafba45f93308ec60379278cae1280230011 /setuptools | |
parent | a938092e7b189337cdd25c101c2e8fc984433eff (diff) | |
parent | a011aa8e2f3b911c809a5eb52f57e0584786ea4d (diff) | |
download | external_python_setuptools-bb930c503c9af36d7a90ed2e280745833b497a51.tar.gz external_python_setuptools-bb930c503c9af36d7a90ed2e280745833b497a51.tar.bz2 external_python_setuptools-bb930c503c9af36d7a90ed2e280745833b497a51.zip |
Merge
--HG--
branch : distribute
Diffstat (limited to 'setuptools')
-rw-r--r-- | setuptools/cli-32.exe | bin | 69632 -> 65536 bytes | |||
-rw-r--r-- | setuptools/cli-64.exe | bin | 75264 -> 74752 bytes | |||
-rw-r--r-- | setuptools/cli-arm-32.exe | bin | 0 -> 69120 bytes | |||
-rw-r--r-- | setuptools/cli.exe | bin | 69632 -> 0 bytes | |||
-rwxr-xr-x | setuptools/command/easy_install.py | 3 | ||||
-rw-r--r-- | setuptools/gui-32.exe | bin | 65536 -> 65536 bytes | |||
-rw-r--r-- | setuptools/gui-64.exe | bin | 75264 -> 75264 bytes | |||
-rw-r--r-- | setuptools/gui-arm-32.exe | bin | 0 -> 69120 bytes | |||
-rw-r--r-- | setuptools/gui.exe | bin | 65536 -> 0 bytes | |||
-rw-r--r-- | setuptools/tests/win_script_wrapper.txt | 6 |
10 files changed, 6 insertions, 3 deletions
diff --git a/setuptools/cli-32.exe b/setuptools/cli-32.exe Binary files differindex 9b7717b7..b1487b78 100644 --- a/setuptools/cli-32.exe +++ b/setuptools/cli-32.exe diff --git a/setuptools/cli-64.exe b/setuptools/cli-64.exe Binary files differindex 265585af..675e6bf3 100644 --- a/setuptools/cli-64.exe +++ b/setuptools/cli-64.exe diff --git a/setuptools/cli-arm-32.exe b/setuptools/cli-arm-32.exe Binary files differnew file mode 100644 index 00000000..2f40402d --- /dev/null +++ b/setuptools/cli-arm-32.exe diff --git a/setuptools/cli.exe b/setuptools/cli.exe Binary files differdeleted file mode 100644 index 9b7717b7..00000000 --- a/setuptools/cli.exe +++ /dev/null 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: diff --git a/setuptools/gui-32.exe b/setuptools/gui-32.exe Binary files differindex 3f64af7d..f8d35096 100644 --- a/setuptools/gui-32.exe +++ b/setuptools/gui-32.exe diff --git a/setuptools/gui-64.exe b/setuptools/gui-64.exe Binary files differindex 3ab4378e..330c51a5 100644 --- a/setuptools/gui-64.exe +++ b/setuptools/gui-64.exe diff --git a/setuptools/gui-arm-32.exe b/setuptools/gui-arm-32.exe Binary files differnew file mode 100644 index 00000000..537aff37 --- /dev/null +++ b/setuptools/gui-arm-32.exe diff --git a/setuptools/gui.exe b/setuptools/gui.exe Binary files differdeleted file mode 100644 index 3f64af7d..00000000 --- a/setuptools/gui.exe +++ /dev/null diff --git a/setuptools/tests/win_script_wrapper.txt b/setuptools/tests/win_script_wrapper.txt index 9f7c81d6..9ccc96f0 100644 --- a/setuptools/tests/win_script_wrapper.txt +++ b/setuptools/tests/win_script_wrapper.txt @@ -38,7 +38,7 @@ We'll also copy cli.exe to the sample-directory with the name foo.exe: >>> import pkg_resources >>> f = open(os.path.join(sample_directory, 'foo.exe'), 'wb') >>> f.write( - ... pkg_resources.resource_string('setuptools', 'cli.exe') + ... pkg_resources.resource_string('setuptools', 'cli-32.exe') ... ) >>> f.close() @@ -83,7 +83,7 @@ enter the interpreter after running the script, you could use -Oi: >>> f = open(os.path.join(sample_directory, 'foo-script.py'), 'w') >>> f.write( - ... """#!%(python_exe)s -Oi + ... """#!%(python_exe)s -Oi ... import sys ... input = repr(sys.stdin.read()) ... print sys.argv[0][-14:] @@ -126,7 +126,7 @@ We'll also copy gui.exe to the sample-directory with the name bar.exe: >>> import pkg_resources >>> f = open(os.path.join(sample_directory, 'bar.exe'), 'wb') >>> f.write( - ... pkg_resources.resource_string('setuptools', 'gui.exe') + ... pkg_resources.resource_string('setuptools', 'gui-32.exe') ... ) >>> f.close() |