summaryrefslogtreecommitdiff
path: root/Mac/OSX/BuildScript/build-installer.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-05-26 12:23:20 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2006-05-26 12:23:20 +0000
commit736123605c29e5bf7cac7b3c39a61250f480824a (patch)
tree5ba67a77fb9f0de61612645168fc0783568aa79f /Mac/OSX/BuildScript/build-installer.py
parent2856e5f3909f8366487ad85ca6c234040317e1e5 (diff)
downloadcpython-git-736123605c29e5bf7cac7b3c39a61250f480824a.tar.gz
- Remove previous version of the binary distribution script for OSX
- Some small bugfixes for the IDLE.app wrapper - Tweaks to build-installer to ensure that python gets build in the right way, including sqlite3. - Updated readme files
Diffstat (limited to 'Mac/OSX/BuildScript/build-installer.py')
-rwxr-xr-xMac/OSX/BuildScript/build-installer.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mac/OSX/BuildScript/build-installer.py b/Mac/OSX/BuildScript/build-installer.py
index 03f5696477..2308059a03 100755
--- a/Mac/OSX/BuildScript/build-installer.py
+++ b/Mac/OSX/BuildScript/build-installer.py
@@ -591,10 +591,10 @@ def buildPython():
version = getVersion()
print "Running configure..."
- runCommand("%s -C --enable-framework --enable-universalsdk=%s LDFLAGS='-g -L'%s/libraries/usr/local/lib OPT='-g -O3 -I'%s/libraries/usr/local/include 2>&1"%(
+ runCommand("%s -C --enable-framework --enable-universalsdk=%s LDFLAGS='-g -L%s/libraries/usr/local/lib' OPT='-g -O3 -I%s/libraries/usr/local/include' 2>&1"%(
shellQuote(os.path.join(SRCDIR, 'configure')),
- shellQuote(SDKPATH), shellQuote(WORKDIR),
- shellQuote(WORKDIR)))
+ shellQuote(SDKPATH), shellQuote(WORKDIR)[1:-1],
+ shellQuote(WORKDIR)[1:-1]))
print "Running make"
runCommand("make")
@@ -839,6 +839,7 @@ def buildInstaller():
writePlist(pl, os.path.join(pkgroot, 'Resources', 'Description.plist'))
for fn in os.listdir('resources'):
+ if fn == '.svn': continue
if fn.endswith('.jpg'):
shutil.copy(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
else: