[pypy-commit] pypy default: On Windows, the renamed binary file must end with ".exe".

arigo noreply at buildbot.pypy.org
Wed Nov 2 11:48:40 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r48654:f1e31eaa1fa3
Date: 2011-11-02 11:48 +0100
http://bitbucket.org/pypy/pypy/changeset/f1e31eaa1fa3/

Log:	On Windows, the renamed binary file must end with ".exe".

diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py
--- a/pypy/tool/release/package.py
+++ b/pypy/tool/release/package.py
@@ -53,6 +53,8 @@
     if not pypy_c.check():
         print pypy_c
         raise PyPyCNotFound('Please compile pypy first, using translate.py')
+    if sys.platform == 'win32' and not rename_pypy_c.lower().endswith('.exe'):
+        rename_pypy_c += '.exe'
     binaries = [(pypy_c, rename_pypy_c)]
     #
     if sys.platform == 'win32':


More information about the pypy-commit mailing list