[pypy-commit] pypy default: Also include sqlite3.dll with the windows binary.
arigo
noreply at buildbot.pypy.org
Sun Sep 18 12:25:09 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r47323:c3ac46a07c5d
Date: 2011-09-18 12:24 +0200
http://bitbucket.org/pypy/pypy/changeset/c3ac46a07c5d/
Log: Also include sqlite3.dll with the windows binary.
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
@@ -52,14 +52,15 @@
pypy_c_dir = basedir.join('pypy', 'translator', 'goal')
pypy_c = pypy_c_dir.join('pypy-c.exe')
libpypy_c = pypy_c_dir.join('libpypy-c.dll')
- libexpat = pypy_c_dir.join('libexpat.dll')
- if not libexpat.check():
- libexpat = py.path.local.sysfind('libexpat.dll')
- assert libexpat, "libexpat.dll not found"
- print "Picking %s" % libexpat
binaries = [(pypy_c, pypy_c.basename),
- (libpypy_c, libpypy_c.basename),
- (libexpat, libexpat.basename)]
+ (libpypy_c, libpypy_c.basename)]
+ for extra in ['libexpat.dll', 'sqlite3.dll']:
+ p = pypy_c_dir.join(extra)
+ if not p.check():
+ p = py.path.local.sysfind(extra)
+ assert p, "%s not found" % (extra,)
+ print "Picking %s" % p
+ binaries.append((p, p.basename))
else:
basename = 'pypy-c'
if override_pypy_c is None:
More information about the pypy-commit
mailing list