diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2012-05-12 18:01:55 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2012-05-12 18:01:55 +0200 |
commit | b6fac09cc1e9dd52198c1dbc7c7dbbef814316fc (patch) | |
tree | 58bfd14980fffe18eaf25f945f2cf6208710d6f0 | |
parent | 73fc5a2844fbbdd4b9ee0d5bf82404eb2f71c8fb (diff) | |
download | numpy-b6fac09cc1e9dd52198c1dbc7c7dbbef814316fc.tar.gz |
REL: change release script to generate tarballs before building docs.
This avoids shipping generated .rst files and some .pyc files in the doc/ dir.
-rw-r--r-- | release.sh | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/release.sh b/release.sh index 5f1f31ebb..57dbb91de 100644 --- a/release.sh +++ b/release.sh @@ -5,6 +5,15 @@ # 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 +#--------------- +# Build tarballs +#--------------- +paver sdist + + +#-------------------- +# Build documentation +#-------------------- # Check we're using the correct g++/c++ for the 32-bit 2.6 version we build for # the docs and the 64-bit 2.7 dmg installer. # We do this because for Python 2.6 we use a symlink on the PATH to select @@ -21,14 +30,13 @@ paver bootstrap source bootstrap/bin/activate python setupsconsegg.py install -# build docs +# build pdf docs paver pdf -#------------------------------------------------------------------ -# Build tarballs, Windows and 64-bit OS X installers (on OS X 10.6) -#------------------------------------------------------------------ -paver sdist +#-------------------------------------------------------- +# Build Windows and 64-bit OS X installers (on OS X 10.6) +#-------------------------------------------------------- export MACOSX_DEPLOYMENT_TARGET=10.6 # Use GCC 4.2 for 64-bit OS X installer for Python 2.7 export PATH=~/Code/tmp/gpp42temp/:$PATH |