[Setup] Installing Python modules with Unified Installer

Kevin Teague kevin at bud.ca
Sat Dec 15 21:58:07 UTC 2007

The easiest way to work with a particular Python for a particular Plone
installation is to put that Python first on your PATH:

$ export PATH=/opt/Plone-3.0.4/Python-2.4.4/bin:$PATH
$ which python

For python-lap you should then be able to to:

$ python setup.py install

Note that this is basically the same as this:

$ /opt/Plone-3.0.4/Python-2.4.4/bin/python setup.py install

But manipulating your PATH environment variable just saves you a lot of
typing. You can also create aliases in your shell profile (~/.bashrc on
linux, ~/.profile on Mac OS X) to make it easier to put a particular Python
first on your PATH:

# in your .bashrc or .profile
alias py4prod="export PATH=/opt/Plone-3.0.4/Python-2.4.4/bin:$PATH"
alias py4dev="export PATH=/opt/Plone-3.1/Python-2.4.4/bin:$PATH"

Then on your shell just type:

$ py4prod
$ echo $PATH

View this message in context: http://www.nabble.com/Installing-Python-modules-with-Unified-Installer-tp14354398s15482p14355563.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

More information about the Setup mailing list