Author ianb
Recipients ianb, larry
Date 2009-04-23.18:32:45
SpamBayes Score 1.13715e-06
Marked as misclassified No
Message-id <>
This has a similar purpose to virtualenv, but using an environmental
variable.  An earlier package, workingenv, also used an environmental
variable, and this led to a set of problems.

The biggest problem is that the environmental variable is inherited by
subprocesses.  This means if you install hg globally, then do['hg', ...]), then hg will have picked up your local
environment.  Sometimes this is what you want (e.g., when using ipython)
and sometimes not (probably not when using hg).

Another problem is that scripts aren't really sticky with respect to the
environment.  When you install a script using this, it may only work
when that same environmental variable is set.  But the script remains
present and callable regardless.  Also, it's hard to mix and match
environments in this system.

These are real-world problems I encountered with workingenv, and
virtualenv has resolved them very reliably by instead using
sys.executable to select the environment.  This requires some
infrastructure in each environment which is unfortunate, but the result
is more consistent behavior.
Date User Action Args
2009-04-23 18:32:49ianbsetrecipients: + ianb, larry
2009-04-23 18:32:48ianbsetmessageid: <>
2009-04-23 18:32:47ianblinkissue5819 messages
2009-04-23 18:32:46ianbcreate