[yt-users] Install Script Upgrade to Python 2.7 - fix for OS X 10.6 compilation

Matthew Turk matthewturk at gmail.com
Wed Mar 16 14:13:41 PDT 2011


Hi all (Especially Emilio and Peng),

>From some detective work by Emilio, Peng, Stephen Skory and myself, it
looks like an upgrade to Python 2.7 fixes the installation issues on
OSX 10.6.

I have updated the install_script.sh for the *unstable* branch to use
Python 2.7, along with an update to Mercurial 1.8.1 and HDF5 1.8.6.
This new version of the install script also brings with it the
yt-supplemental repository, which is a clearing house for several
related repositories, including the documentation, cookbook, and some
other small scripts.  This is located in $YT_DEST/src/yt-supplemental
, and it is being documented on a "kickstart" webpage that will act as
a shorter version of the orientation documentation.

yt 2.1 will be released relatively soon, and with it the stable
repository will also move to Python 2.7.

To get the install script for the development branch:

$ wget http://hg.enzotools.org/yt/raw/yt/doc/install_script.sh
$ bash install_script.sh

If you want to upgrade to Python 2.7 now, it's recommended that you
remove your existing yt installation directory and re-run the install
script, as Python 2.7 will need new packages installed.  Please note
that yt does not require Python 2.7; upgrading is strictly optional at
this point; if you do decide to upgrade, the commands "python2.6"
scattered throughout the documentation will need to be changed to
either "python2.7" or the newly added alias, "pyyt", which will point
at the current python installation.

If you run into any issues, please let me know.

Best,

Matt



More information about the yt-users mailing list