On Wednesday 20 November 2002 00:22, you wrote: > I have a directory containing common library code that is located outside > of any context. I need to add the directory's path to sys.path. Right now, > I'm doing so with a call to sys.path.append() within contextInitialize() of > the default context. > > I'd really prefer that there was some way to add stuff to sys.path through > some setting in Application.config, so that I don't have to hardcode the > library path in __init__.py of any context, and so that I don't have a > context that has to be loaded before any other context that also uses the > libraries. > > Is there anyway to achieve this?
I had the same problem and just manipulated the sys.path in Launch.py (in my AppWorkDir of course) Stephan > > ...Edmund. > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss