[pypy-commit] pypy default: a bit blind test to see if libpypy-c exists
fijal
noreply at buildbot.pypy.org
Fri Oct 24 16:10:50 CEST 2014
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r74172:3ae7179632d3
Date: 2014-10-24 16:10 +0200
http://bitbucket.org/pypy/pypy/changeset/3ae7179632d3/
Log: a bit blind test to see if libpypy-c exists
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
@@ -160,6 +160,9 @@
if sys.platform == 'win32' and not rename_pypy_c.lower().endswith('.exe'):
rename_pypy_c += '.exe'
binaries = [(pypy_c, rename_pypy_c)]
+ libpypy_c = basedir.join('pypy', 'goal', 'libpypy-c.so')
+ if libpypy_c.check():
+ binaries.append('libpypy-c.so')
#
builddir = options.builddir
pypydir = builddir.ensure(name, dir=True)
@@ -212,6 +215,7 @@
directory next to the dlls, as per build instructions."""
import traceback;traceback.print_exc()
raise MissingDependenciesError('Tk runtime')
+
# Careful: to copy lib_pypy, copying just the hg-tracked files
# would not be enough: there are also ctypes_config_cache/_*_cache.py.
More information about the pypy-commit
mailing list