Tim Black schrieb:
>   I saw this on the Pylons list and think TurboGears devs & users will 
> want to consider it:
> 
> -------------------------------
>  > In production, I've gone to always using virtualenvs.
> 
> Python 2.6 now supports $PYTHONUSERBASE, just set it to a directory 
> (doesn't need to exist), for example:
> 
> export PYTHONUSERBASE=$HOME/mydev/
> pip.py install FormAlchemy
> 
> Now I do have in ~/.pydistutils.cfg
> [install]
> user=True
> 
> It's similar to virtualenv, but kind-of more clean, and doesn't copy the 
> whole python executable in each env (which I never liked).
> 
> To switch to another env, just reset the variable.
> -------------------------------
> 
> Can anyone here recommend against doing this?

I so far didn't work with it, but one thing makes me think VE is cooler 
- the setuptools-installed commands work, regardless of the environment. 
So starting e.g. paster will always pick the right environment if 
invoked from within a VE.

I don't see this happen with the PYTHONUSERBASE.

So I personally will stick with VE for now.

Diez

--~--~---------~--~----~------------~-------~--~----~
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