Author: Maciej Fijalkowski <[email protected]>
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.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit