Distribute instead of setuptools for virtualenv?
Hi, I'd like to know if I can create my virtualenvs with "--distribute" without any other changes, since distribute is advertised as being backwards compatible with setuptools? I'm trying to circumvent https://github.com/pypa/virtualenv/issues/202 and Distribute comes in handy. Also, if this works just fine, wouldn't it make sense to make Distribute the default for virtualenv at some point? Thanks, Chris
2012/1/16 Christian Ştefănescu
I'd like to know if I can create my virtualenvs with "--distribute" without any other changes, since distribute is advertised as being backwards compatible with setuptools?
It should work as well or better, yes. If not, that's a bug.
Also, if this works just fine, wouldn't it make sense to make Distribute the default for virtualenv at some point?
In my opinion, yes. //Lennart
2012/1/16 Lennart Regebro
2012/1/16 Christian Ştefănescu
: Also, if this works just fine, wouldn't it make sense to make Distribute the default for virtualenv at some point?
In my opinion, yes.
FWIW you can also set VIRTUALENV_USE_DISTRIBUTE=1 in your environment. Or, in the latest version of virtualenv I think it's just VIRTUALENV_DISTRIBUTE. You can also set it in a config file now; I forget the details but it's explained in the virtualenv docs.
participants (3)
-
Christian Ştefănescu
-
Erik Bray
-
Lennart Regebro