Local module installation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gonzalo Sainz-Trápaga (GomoX)

    #1

    Local module installation

    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
Working...