Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r73981:5ac508b99502 Date: 2014-10-16 16:50 -0700 http://bitbucket.org/pypy/pypy/changeset/5ac508b99502/
Log: adjust per the new pypy3 exe name 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)) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit