[Distutils] [venv] Re: two questions about virtualenv

Lennart Regebro regebro at gmail.com
Fri Oct 16 18:59:51 CEST 2009


2009/10/16 ssteinerX at gmail.com <ssteinerx at gmail.com>:
> Doesn't that also mean that the Python 3 version of Distribute is generated
> live on the installation system?

That is absolutely true.

> That doesn't seem right because that
> leaves the possibility that the code generated by 2to3 is different from the
> code that passed the (hypothetical, at this point) tests before the
> distribution was created.

The tests are not hypothetical. The code may be different if you use
different versions of Python, since they may have different version of
the 2to3 library. That is however not a bigger problem than any other
incompatibilities between different python versions.

> I'm going to cross-post this to the distutils list as well.  If the idea is
> to stabilize Distribute, get some tests in place, etc. then this method of
> distribution  (running 2to3 in situ, as it were) is not the correct way to
> do it from a "shipping the tested product" perspective.

I don't agree with that statement.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64


More information about the Distutils-SIG mailing list