Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 41 lines (31 sloc) 1.28 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#! /bin/sh
# 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

# bootstrap needed to ensure we build the docs from the right scipy version
paver bootstrap
source bootstrap/bin/activate
python setupsconsegg.py install

# build docs
paver pdf

#------------------------------------------------------------------
# Build tarballs, Windows and 64-bit OS X installers (on OS X 10.6)
#------------------------------------------------------------------
paver sdist

export MACOSX_DEPLOYMENT_TARGET=10.6
paver dmg -p 2.7 # 32/64-bit version

paver bdist_superpack -p 3.2
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
Something went wrong with that request. Please try again.