Python Modules

Note: this page is out of date, see Python instead.

Installing "custom" modules under linux as a user:

# pick a place to store the virtual python and modules
mkdir /opt/python
cd /opt/python

# get some tools
wget http://peak.telecommunity.com/dist/virtual-python.py
wget http://peak.telecommunity.com/dist/ez_setup.py

# create the virtual python
python virtual-python.py --prefix=/opt/python
# there is now a /opt/python/bin/python with the right path etc.

# install setup tools
/opt/virtual-python/bin/python ez_setup.py

# example: install a module
/opt/python/bin/easy_install "CherryPy==3.0.3" 

Info found here: http://peak.telecommunity.com/DevCenter/EasyInstall