[pypy-commit] pypy pypy3-release-2.4.x: adjust per the new pypy3 exe name
pjenvey
noreply at buildbot.pypy.org
Fri Oct 17 22:12:46 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: pypy3-release-2.4.x
Changeset: r74005:5552600c8b97
Date: 2014-10-16 16:50 -0700
http://bitbucket.org/pypy/pypy/changeset/5552600c8b97/
Log: adjust per the new pypy3 exe name (grafted from
5ac508b99502933d3f86d5fb3be2743fef715486)
diff --git a/pypy/tool/release/test/test_package.py b/pypy/tool/release/test/test_package.py
--- a/pypy/tool/release/test/test_package.py
+++ b/pypy/tool/release/test/test_package.py
@@ -1,4 +1,4 @@
-
+import os
import py
from pypy.conftest import pypydir
from pypy.tool.release import package, package
@@ -13,12 +13,12 @@
exe_name_in_archive = 'pypy-c.exe'
else:
basename = 'pypy-c'
- rename_pypy_c = 'pypy'
- exe_name_in_archive = 'bin/pypy'
+ rename_pypy_c = package.POSIX_EXE
+ exe_name_in_archive = os.path.join('bin', package.POSIX_EXE)
pypy_c = py.path.local(pypydir).join('goal', basename)
if not pypy_c.check():
if sys.platform == 'win32':
- import os, shutil
+ import shutil
for d in os.environ['PATH'].split(';'):
if os.path.exists(os.path.join(d, 'cmd.exe')):
shutil.copy(os.path.join(d, 'cmd.exe'), str(pypy_c))
More information about the pypy-commit
mailing list