what I've done after times of searching is:
first define some .files:
cat ~/.pydistutils.cfg
[install]
prefix =~

cat .bashrc
---%<---
export
PYTHONPATH='/home/briner/lib/python2.3/site-packages:/home/briner/lib/python2.3/site-packages/setuptools-0.6a1-py2.3.egg'
export
PYTHONPATH=$PYTHONPATH:'/home/briner/lib/python2.4/site-packages:/home/briner/lib/python2.4/site-packages/setuptools-0.6a1-py2.4.egg'
---%<---

the .pydist.. will tell ez_setup to install everyting under your ~ as
for /usr or /usr/local
   ~/lib
   ~/bin

then, because the ez_setup will install some stuff under
~/lib/python2.3/site-packages or ~/lib/python2.4/site-packages that
python will have to use, you have to declare the PYTHONPATH as:
PYTHONPATH='/home/briner/lib/python2.3/site-packages:/home/briner/lib/python2.3/site-packages/setuptools-0.6a1-py2.3.egg'
for python2.3 and so on for python2.4

so then, you can also put this one in the .bashrc or .tcshrc depending
of your shell.

Ced.

Reply via email to