[Yt-dev] yt in MacPorts

Thomas Robitaille thomas.robitaille at gmail.com
Fri Aug 19 17:37:28 PDT 2011


Dear yt developers,

I just wanted to let you know that I've added yt to the MacPorts
package manager (http://www.macports.org/).

I recently created a page with instructions for how to set up a fully
functioning Python distribution for Astronomy with MacPorts:

http://astrofrog.github.com/macports-python/

and as of today, you can type:

sudo port install py27-yt

and yt and all required dependencies will be installed. I'd be happy
to advertise this on the users mailing list if you like, or feel free
to do it if you prefer.

Note that MacPorts relies on stable releases, so I had to use the
auto-generated 2.1 tar file on bitbucket, which MacPorts needs to
apply a one-line patch to in order to get to compile. Just letting you
know so you are aware that this installation method is dependent on
the tags.

In addition to py27-yt, I created py25-yt and py26-yt (it's easy to
have multiple Python versions side by side in MacPorts).

Note that it's also possible to install the latest dev version of yt -
the easiest way it to install py27-yt as above to get all the
dependencies working, then to download the latest source and do

python setup.py install --user

Let me know if you have any questions about this!

Best regards,
Thomas Robitaille



More information about the yt-dev mailing list