[Tutor] search path

bas pels pels@bio.uva.nl
Thu, 18 Mar 1999 17:50:28 +0100


a small question about search paths.

i have downloaded two so-called site-packages that both contain
x.pth files in their directories (so-called path configuration files).
from the reference manual  (p.57) i learnt that the site module uses 
these files to modify the sys.path list.

it seems to me that the path configuration files need to be in 
a specific directory (given by sys.prefix or sys.exec_prefix) to be
read. however, to put them there i need to be root.

is there a way to test the packages (and to make use of their path
configuration files) without travelling around as root?

thanks!
bas