On Nov 27, 3:16 pm, "Mark Ramm" <[EMAIL PROTECTED]> wrote:
> We have created a new index at:
>
> http://www.turbogears.org/2.0/downloads/1.9.7b2/index/
>
> So if you create a new virtualenv with the --no-site-packages option
> (or if you want to play fast and free with your system TG2 install)
>
> you should be able to get a fully functional TG2 install with all the
> latest goodness by activating your virtualenv and doing:
>
> easy_installhttp://www.turbogears.org/2.0/downloads/1.9.7b2/index/tg.devtools
>
> Let us know if there are any problems, if not we'll do a real release
> of this after thanksgiving, probably Monday.
Note that if using Apache/mod_wsgi and trying to use virtual
environment, if you do not have mod_wsgi associated with clean virtual
environment using WSGIPythonHome, but have left it pointing at main
Python installation and the main Python installation has older
versions of packages you will have problems as the standard Python
installation will take precedence.
This comes about because site.addsitedir() used to note the location
of the virtual environment adds new directories at end of sys.path and
so virtual environment will not take precedence.
For details of this issue and Python code snippet to use in place of
site.addsitedir() see:
http://code.google.com/p/modwsgi/issues/detail?id=112
The general documentation on virtual environments and Apache/mod_wsgi
is at:
http://code.google.com/p/modwsgi/wiki/VirtualEnvironments
but haven't yet updated that to indicate this reordering trick. Will
soon.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---