#sphinx needs this, along with some static site generators (charlesbrandt.com)
sudo pip install docutils

cd /c/mindstream
sudo python setup.py develop

sudo pip install BeautifulSoup

sudo pip install mako



cd /c/medley
sudo python setup.py develop

(use binary distribution on Mac: http://qt-project.org/wiki/PySide_Binaries_MacOSX)
sudo pip install PySide

sudo pip install mercurial
also [2013.11.19 08:18:13]
sudo pip install hg-git

via: http://hg-git.github.io/

be sure ~/.hgrc has:
hgext.bookmarks =
hggit =

sudo pip install virtualenv
sudo pip install virtualenvwrapper

Install pip:


cd ~/Downloads
sudo python ez_setup.py

sudo python get-pip.py

cd /c/moments/
sudo python setup.py develop


sudo easy_install reportlab

sudo easy_install mako

sudo easy_install sphinx

sudo easy_install beautifulsoup

Old notes taken from:

#2010.05.04 15:28:49 pil archive
for the original library, this works best:

do this after libjpeg install

sudo easy_install pip


sudo pip install http://effbot.org/downloads/Imaging-1.1.6.tar.gz

can test and verify installation with:
cd /c/scripts
python image_resize.py notice_world.jpg 100

#2009.01.21 10:13:12 imaging pil
The other component that you will need to install is the Python Imaging Library (often abbreviated as PIL).


Binaries for windows are available at the main site. Binary packages are much easier to install than from source.

For Mac OS X you can use ports, or find a binary package like the following:
This also requires the 2.5 version of Python from python.org. (The one distributed with Leopard won't work)

See also:


#2009.01.21 10:23:06 virtualenv
If you are on a shared system, Virtual Env may help isolate your Python instance from other Python instances on the system.

#2010.04.19 15:32:01 mercurial
mercurial is usually installed earlier in the process...
it is needed before other python libraries
make sure you have it, and if not, install it now

also [2009.06.22 09:08:16]
notes for this are elsewhere
but this is also a good time to install mercurial
easy_install mercurial

on Mac OS X this does require Xcode to be up to date
(can still download an executable for mac)

if freetype2 support in PIL is important to you, get that now too

might try Pillow this time around...
see if it's any easier

sudo easy_install pillow

test with:
import PIL

(may need to update a few scripts to use "import PIL" instead of "import Image"

Download and compile the latest libjpeg library: (be sure Xcode is set up first)


export VERSION=8d
#curl http://www.ijg.org/files/jpegsrc.v6b.tar.gz > /tmp/libjpeg.tar.gz
#curl http://www.ijg.org/files/jpegsrc.v8a.tar.gz > /tmp/libjpeg.tar.gz
curl http://www.ijg.org/files/jpegsrc.v$VERSION.tar.gz > ~/Downloads/libjpeg.tar.gz

tar -xzvf ~/Downloads/libjpeg.tar.gz
cd jpeg-$VERSION

sudo make install

cd ../
sudo rm -rf jpeg-$VERSION

PIL (Pillow)

The Python Imaging Library is a tricky beast to get set up on systems where it is not included by default.



looks like cocoa branch has been merged with trunk
hg clone https://pyglet.googlecode.com/hg/ pyglet-trunk
cd pyglet-trunk
sudo python setup.py develop

sudo easy_install sphinx

Set up the Google App Engine SDK

download google SDK:

#standarizing on location:

unzip google_appengine_1.3.5.zip
#resulting in:

install Google App Engine SDK
view documentation:


mkdir -p /c/downloads/python/
cd /c/downloads/python/
hg clone https://pyglet.googlecode.com/hg/ pyglet
cd pyglet
sudo python setup.py develop (or install)

not sure how to make pip download packages for later installation

notes on installing Sphinx from source:

#2009.09.04 09:57:32 charles@context:/media/C/downloads/python/sphinx
tar zxvf docutils-0.5.tar.gz

python setup.py install
sudo python setup.py install

cd ../pygments/
sudo python setup.py install

cd ../jinja2/
sudo python setup.py install

cd ../sphinx
sudo python setup.py install

hg clone http://bitbucket.org/birkenfeld/sphinx/
hg clone http://dev.pocoo.org/hg/pygments-main pygments
hg clone http://dev.pocoo.org/hg/jinja2-main jinja2

make sure
is in the shell path

notes for downloading and installing python packages offline have been scattered.
creating a new file in topics for these notes:

from /c/system/startup.txt

cd /directory/for/sources
sudo easy_install -zmaxd . pylons
#sudo easy_install -zmaxd . simplejson

on offline machine, use:
sudo easy_install -f . Pylons

cd /downloads/python/
mkdir sphinx
cd /downloads/python/sphinx/
sudo easy_install -zmaxd . sphinx
sudo easy_install -f . Sphinx

if easy_install is not available, (which easy_install)
be sure to set up easy_install for the new python instance
this can be done by running
available at:

curl http://peak.telecommunity.com/dist/ez_setup.py > ez_setup.py

jhead - Google Search
Exif Jpeg header manipulation tool

download and move prebuilt binary for osx to /usr/local/bin
sudo mv ~/Downloads/jhead /usr/local/bin
sudo chmod +x /usr/local/bin/jhead

python setup.py develop

sudo easy_install nose

Python is included with many operating systems.

An easy way to check if your system already has Python is to open up a terminal / command prompt and type:

python -V

If your operating system does not have Python installed, please visit:
For more information on downloading and installing Python for your system.