Hi everyone.

I am running into a problem in deploying multiple contexts with Webware.  I have a 
directory structure that resembles something similar to this:

/webware
/webware/__init__.py = __all__ = ['lib']
/webware/lib/        (common library code shared by all contexts)

then:

/context1/www/     (actual templates)
/context1/config/  (configuration files)

and similarly:

/context2/www/     (actual templates for context2)
/context2/config/  (configuration files for context2)

So with the /webware/__init__.py line, I don't have any trouble sharing the 'lib' 
module between my contexts.  But I run into trouble with context1 and context2.  If I 
add a __init__.py line that appends to the sys.path, I end up having /context1/config/ 
AND /context2/config/ in my sys.path.  What am I doing wrong?

Thanks!
-s



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to