forked from numpy/numpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: update notes in release script and reorganize paver script a lit…
…tle.
- Loading branch information
Showing
2 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,37 @@ | ||
#! /bin/sh | ||
# script to build tarballs, mac os x and windows installers on mac os x | ||
# Script to build tarballs, windows and OS X installers on OS X | ||
|
||
# Note that we build the corresponding set of OS X binaries to the python.org | ||
# downloads, i.e. two versions for Python 2.7. The Intel 32/64-bit version is | ||
# for OS X 10.6+, the other dmg installers are for 10.3+ and are built on 10.5 | ||
|
||
paver bootstrap | ||
source bootstrap/bin/activate | ||
CFLAGS="-arch x86_64" FFLAGS="-arch x86_64" python setupsconsegg.py install | ||
python setupsconsegg.py install | ||
|
||
|
||
#------------------------------------------------------------------ | ||
# Build tarballs, Windows and 64-bit OS X installers (on OS X 10.6) | ||
#------------------------------------------------------------------ | ||
paver sdist | ||
paver dmg -p 2.5 | ||
paver dmg -p 2.6 | ||
paver bdist_superpack -p 2.5 | ||
|
||
export MACOSX_DEPLOYMENT_TARGET=10.6 | ||
paver dmg -p 2.7 # 32/64-bit version | ||
|
||
paver bdist_superpack -p 3.1 | ||
paver bdist_superpack -p 2.7 | ||
paver bdist_superpack -p 2.6 | ||
paver bdist_superpack -p 2.5 | ||
|
||
|
||
#-------------------------------------------- | ||
# Build 32-bit OS X installers (on OS X 10.5) | ||
#-------------------------------------------- | ||
#export MACOSX_DEPLOYMENT_TARGET=10.3 | ||
#paver dmg -p 2.6 | ||
#paver dmg -p 2.7 # 32-bit version | ||
#export CC=/usr/bin/gcc-4.0 # necessary on 10.6, not sure about 10.5 | ||
#paver dmg -p 2.5 | ||
|
||
|
||
paver write_release_and_log |