diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-09-16 16:38:39 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-09-16 16:38:39 +1000 |
commit | a5b0fd47debd010c0a0e57fd4795af071e4381a7 (patch) | |
tree | e2eb206aaba7a3512ff04d7a04817162c51bbfd2 /dist/s_release | |
parent | 3f4762c0f8ff69d058719a9465d1b3c027d8b236 (diff) | |
download | mongo-a5b0fd47debd010c0a0e57fd4795af071e4381a7.tar.gz |
Don't require SWIG to build the Python API from a release.
Diffstat (limited to 'dist/s_release')
-rwxr-xr-x | dist/s_release | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/s_release b/dist/s_release index c050e4c2ded..b197cf6c124 100755 --- a/dist/s_release +++ b/dist/s_release @@ -21,6 +21,12 @@ hg archive `sed -e '/^#/d' -e 's/^/--exclude ..\//' < s_release.list` "$DEST" echo "Running 'dist/s_all' in the release tree" (cd "$DEST/dist" && env WT_RELEASE_BUILD=yes sh s_all -A > /dev/null) +echo "Running swig to generate the Python API" +(cd "$DEST/build_posix" && \ + ../configure --enable-python && \ + (cd lang/python && make ../../../lang/python/wiredtiger_wrap.c) && \ + make distclean) + echo "Packing release into $RELEASE_DIR/$PKG.tar.bz2" (cd "$RELEASE_DIR" && tar cf - $PKG | bzip2 -9 > $PKG.tar.bz2) |