sudo easy_install sphinx
download google SDK: | http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Python
#standarizing on location: /c/downloads/python
unzip google_appengine_1.3.5.zip #resulting in: /c/downloads/python/google_appengine
install Google App Engine SDK view documentation: /c/sites/google_app_engine/google_appengine/README
do this after libjpeg install | http://biomunky.wordpress.com/2010/04/19/pil-10-6-using-pip/
sudo easy_install pip
then
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
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)
cd /c/downloads/python/ hg clone https://pyglet.googlecode.com/hg/ pyglet cd pyglet hg update cocoa-port sudo python setup.py develop (or install)
not sure how to make pip download packages for later installation
these notes are formalized in: startup-python.sh
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
make sure /Library/Frameworks/Python.framework/Versions/2.5/bin 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
then 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
be sure to set up easy_install for the new python instance this can be done by running ez_setup.py available at: | http://peak.telecommunity.com/dist/ez_setup.py
curl http://peak.telecommunity.com/dist/ez_setup.py > ez_setup.py
#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
tar -xzvf /tmp/libjpeg.tar.gz cd jpeg-8a ./configure
sudo make install
cd ../ sudo rm -rf jpeg-8a
download and move prebuilt binary for osx to /usr/local/bin sudo mv ~/Desktop/jhead /usr/local/bin sudo chmod +x /usr/local/bin/jhead
python setup.py develop
nosetests | http://somethingaboutorange.com/mrl/projects/nose/ | sudo easy_install nose
If you are on a shared system, Virtual Env may help isolate your Python instance from other Python instances on the system.
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: | http://pythonmac.org/packages/py25-fat/index.html | This also requires the 2.5 version of Python from python.org. (The one distributed with Leopard won't work)
also [2009.06.26 13:19:06] after installing the python from python.org, make sure that the python in the default path is using the latest python which python python -V should be 2.5.4
sudo rm /usr/bin/python sudo ln -s /usr/local/bin/python /usr/bin/python
sudo rm /usr/bin/pythonw sudo ln -s /usr/local/bin/pythonw /usr/bin/pythonw
See also: | http://code.google.com/appengine/docs/python/images/installingPIL.html
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
for example: python -V Python 2.5.2
If your operating system does not have Python installed, please visit: | http://www.python.org | For more information on downloading and installing Python for your system.
could optionally install flash cd $DLPATH/ubuntu/install_flash_player_9_linux/ ./flashplayer-installer