Local module installation

Gonzalo Sainz-Trápaga (GomoX) gomoSINSPAM at datafull.com
Thu Feb 17 15:07:45 EST 2005


Hi,

I'm starting to develop a Web application in Python for the first time. I
am considering some modules like SQLObject and Validators (by Ian
Bicking). The problem is, i'm planning to host the site on a shared
hosting provider with mod_python, and therefore I can't install the
modules site-wide.

My question is: How do I install the (distutils-packaged) modules inside
my WWW root in order for them to be found when I try to import them? I
have a config.py script on my WWW root that is imported on every other
script.

As you can see I'm quite a n00b with this (coming from PHP), so any
suggestions would be greatly appreciated.

Thanks in advance,

GomoX



More information about the Python-list mailing list