[yt-svn] commit/yt: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Mon Apr 9 22:05:01 PDT 2012
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/changeset/bf87a4e87601/
changeset: bf87a4e87601
branch: yt
user: MatthewTurk
date: 2012-04-04 21:30:59
summary: Adding IPython notebook dependencies (on-by-default) to the install script.
ZeroMQ, pyzmq, and tornado. Also output the last ten lines of the install
script in case of failure.
affected #: 1 file
diff -r 2af699ff04a4d28d0494cd18f727a3a0b7f6a2e5 -r bf87a4e87601ced2eefc754d521314de1f2bf5f9 doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -42,6 +42,7 @@
INST_SQLITE3=1 # Install a local version of SQLite3?
INST_PYX=0 # Install PyX? Sometimes PyX can be problematic without a
# working TeX installation.
+INST_0MQ=1 # Install 0mq (for IPython) and affiliated bindings?
# If you've got YT some other place, set this to point to it.
YT_DIR=""
@@ -238,6 +239,10 @@
get_willwont ${INST_PYX}
echo "be installing PyX"
+printf "%-15s = %s so I " "INST_0MQ" "${INST_0MQ}"
+get_willwont ${INST_0MQ}
+echo "be installing ZeroMQ"
+
echo
if [ -z "$HDF5_DIR" ]
@@ -268,7 +273,15 @@
function do_exit
{
- echo "Failure. Check ${LOG_FILE}."
+ echo "********************************************"
+ echo " FAILURE REPORT:"
+ echo "********************************************"
+ echo
+ tail -n 10 ${LOG_FILE}
+ echo
+ echo "********************************************"
+ echo "********************************************"
+ echo "Failure. Check ${LOG_FILE}. The last 10 lines are above."
exit 1
}
@@ -357,6 +370,9 @@
echo 'de3dd37f753614055dcfed910e9886e03688b8078492df3da94b1ec37be796030be93291cba09e8212fffd3e0a63b086902c3c25a996cf1439e15c5b16e014d9 numpy-1.6.1.tar.gz' > numpy-1.6.1.tar.gz.sha512
echo '5ad681f99e75849a5ca6f439c7a19bb51abc73d121b50f4f8e4c0da42891950f30407f761a53f0fe51b370b1dbd4c4f5a480557cb2444c8c7c7d5412b328a474 sqlite-autoconf-3070500.tar.gz' > sqlite-autoconf-3070500.tar.gz.sha512
echo 'edae735960279d92acf58e1f4095c6392a7c2059b8f1d2c46648fc608a0fb06b392db2d073f4973f5762c034ea66596e769b95b3d26ad963a086b9b2d09825f2 zlib-1.2.3.tar.bz2' > zlib-1.2.3.tar.bz2.sha512
+echo 'fb3cf421b2dc48c31956b3e3ee4ab6ebc743deec3bf626c2238a1996c8c51be87260bd6aa662793a1f0c34dcda9b3146763777bb162dfad6fec4ca7acc403b2e zeromq-2.2.0.tar.gz' > zeromq-2.2.0.tar.gz.sha512
+echo 'd761b492352841cdc125d9f0c99ee6d6c435812472ea234728b7f0fb4ad1048e1eec9b399df2081fbc926566f333f7780fedd0ce23255a6633fe5c60ed15a6af pyzmq-2.1.11.tar.gz' > pyzmq-2.1.11.tar.gz.sha512
+echo '57fa5e57dfb98154a42d2d477f29401c2260ae7ad3a8128a4098b42ee3b35c54367b1a3254bc76b9b3b14b4aab7c3e1135858f68abc5636daedf2f01f9b8a3cf tornado-2.2.tar.gz' > tornado-2.2.tar.gz.sha512
# Individual processes
if [ -z "$HDF5_DIR" ]
@@ -596,6 +612,28 @@
[ -n "${OLD_LDFLAGS}" ] && export LDFLAGS=${OLD_LDFLAGS}
[ -n "${OLD_CXXFLAGS}" ] && export CXXFLAGS=${OLD_CXXFLAGS}
[ -n "${OLD_CFLAGS}" ] && export CFLAGS=${OLD_CFLAGS}
+
+# Now we do our IPython installation, which has two optional dependencies.
+if [ $INST_0MQ -eq 1 ]
+then
+ get_enzotools zeromq-2.2.0.tar.gz
+ get_enzotools pyzmq-2.1.11.tar.gz
+ get_enzotools tornado-2.2.tar.gz
+ if [ ! -e zeromq-2.2.0/done ]
+ then
+ [ ! -e zeromq-2.2.0 ] && tar xfz zeromq-2.2.0.tar.gz
+ echo "Installing ZeroMQ"
+ cd zeromq-2.2.0
+ ( ./configure --prefix=${DEST_DIR}/ 2>&1 ) 1>> ${LOG_FILE} || do_exit
+ ( make install 2>&1 ) 1>> ${LOG_FILE} || do_exit
+ ( make clean 2>&1) 1>> ${LOG_FILE} || do_exit
+ touch done
+ cd ..
+ fi
+ do_setup_py pyzmq-2.1.11 --zmq=${DEST_DIR}
+ do_setup_py tornado-2.2
+fi
+
do_setup_py ipython-0.12
do_setup_py h5py-2.0.1
do_setup_py Cython-0.15.1
https://bitbucket.org/yt_analysis/yt/changeset/d91d543c83db/
changeset: d91d543c83db
branch: yt
user: MatthewTurk
date: 2012-04-05 20:20:05
summary: Moving the calls to get the 0MQ deps up with all the others.
affected #: 1 file
diff -r bf87a4e87601ced2eefc754d521314de1f2bf5f9 -r d91d543c83dbcaf140926c26a87cb369251b4c40 doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -375,18 +375,16 @@
echo '57fa5e57dfb98154a42d2d477f29401c2260ae7ad3a8128a4098b42ee3b35c54367b1a3254bc76b9b3b14b4aab7c3e1135858f68abc5636daedf2f01f9b8a3cf tornado-2.2.tar.gz' > tornado-2.2.tar.gz.sha512
# Individual processes
-if [ -z "$HDF5_DIR" ]
-then
- echo "Downloading HDF5"
- get_enzotools hdf5-1.8.7.tar.gz
-fi
-
+[ -z "$HDF5_DIR" ] && get_enzotools hdf5-1.8.7.tar.gz
[ $INST_ZLIB -eq 1 ] && get_enzotools zlib-1.2.3.tar.bz2
[ $INST_BZLIB -eq 1 ] && get_enzotools bzip2-1.0.5.tar.gz
[ $INST_PNG -eq 1 ] && get_enzotools libpng-1.2.43.tar.gz
[ $INST_FTYPE -eq 1 ] && get_enzotools freetype-2.4.4.tar.gz
[ $INST_SQLITE3 -eq 1 ] && get_enzotools sqlite-autoconf-3070500.tar.gz
[ $INST_PYX -eq 1 ] && get_enzotools PyX-0.11.1.tar.gz
+[ $INST_0MQ -eq 1 ] && get_enzotools zeromq-2.2.0.tar.gz
+[ $INST_0MQ -eq 1 ] && get_enzotools pyzmq-2.1.11.tar.gz
+[ $INST_0MQ -eq 1 ] && get_enzotools tornado-2.2.tar.gz
get_enzotools Python-2.7.2.tgz
get_enzotools numpy-1.6.1.tar.gz
get_enzotools matplotlib-1.1.0.tar.gz
@@ -616,9 +614,6 @@
# Now we do our IPython installation, which has two optional dependencies.
if [ $INST_0MQ -eq 1 ]
then
- get_enzotools zeromq-2.2.0.tar.gz
- get_enzotools pyzmq-2.1.11.tar.gz
- get_enzotools tornado-2.2.tar.gz
if [ ! -e zeromq-2.2.0/done ]
then
[ ! -e zeromq-2.2.0 ] && tar xfz zeromq-2.2.0.tar.gz
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list