[pypy-svn] pypy default: 'strip' fun.
arigo
commits-noreply at bitbucket.org
Tue Dec 21 14:59:17 CET 2010
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r40161:42ea9c611870
Date: 2010-12-21 14:58 +0100
http://bitbucket.org/pypy/pypy/changeset/42ea9c611870/
Log: 'strip' fun.
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
@@ -78,7 +78,13 @@
old_dir = os.getcwd()
try:
os.chdir(str(builddir))
- os.system("strip -x " + str(archive_pypy_c)) # ignore errors
+ #
+ # 'strip' fun: see https://codespeak.net/issue/pypy-dev/issue587
+ if sys.platform == 'darwin':
+ os.system("strip -x " + str(archive_pypy_c)) # ignore errors
+ else:
+ os.system("strip " + str(archive_pypy_c)) # ignore errors
+ #
if USE_TARFILE_MODULE:
import tarfile
tf = tarfile.open(str(builddir.join(name + '.tar.bz2')), 'w:bz2')
More information about the Pypy-commit
mailing list