[mod_python] psp import problem

Alex Greif alex.greif at gmail.com
Fri Jun 8 09:25:12 EDT 2007


Hi,

I use version 4 of the document (http://www.modpython.org/pipermail/ 
mod_python/2006-November/022726.html) to store my mod_python sources.
If I put consts.py in the lib folder (which is on the same level as  
the handlers), then I can import consts from the handlers, but not  
from the psp files.

What is the prefered way to import custom python sources in psp files?

In my apache conf I have the following:

     SetHandler mod_python
     PythonHandler mod_python.publisher
     PythonDebug On
     PythonOption mod_python.importer.path "['~/lib']"


I am using MP 3.3.1 with apache 2.2.4 on Mac Os X 10.4.9



Alex.

--
alex.greif at gmail.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070608/b21fb057/attachment.html


More information about the Mod_python mailing list