forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.sh
35 lines (27 loc) · 954 Bytes
/
release.sh
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
#! /bin/sh
# script to build tarballs, mac os x and windows installers on mac os x
export PYTHONPATH=''
# bootstrap needed to ensure we build the docs from the right scipy version
paver bootstrap
source bootstrap/bin/activate
python setupegg.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
export PATH=~/Code/tmp/gpp42temp/:$PATH
gpp="$(g++ --version | grep "4.2")"
if [ -z "$gpp" ]; then
echo "Wrong g++ version, we need 4.2 for 64-bit binary for Python 2.7"
exit 1
fi
paver dmg -p 2.7 # 32/64-bit version
paver dmg -p 3.3 # 32/64-bit version
paver dmg -p 3.4 # 32/64-bit version
paver bdist_superpack -p 2.7
paver bdist_superpack -p 3.3
paver bdist_superpack -p 3.4
paver write_release_and_log