Kirk Strauser schrieb:
> On Thursday 25 September 2008 09:03:58 Diez B. Roggisch wrote:
> 
>> How about a conditional import in your model that first tries to get mapper
>> from turbogears, and on a failing import, import the contextual_mapper?
> 
> That just may be doable, so long as I don't run non-TG applications on the 
> webserver.  Given how easy it is to carve out a FreeBSD jail, that just might 
> work.  Thanks.


You should look into virtualenv. IMHO every TG app deployment should
have it's own virtual environment with all its dependencies, independent
from the system Python site-packages.

http://python.org/pypi/virtualenv

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to