[Python-porting] Script for automatic 2to3-ing during develooment?

Lennart Regebro regebro at gmail.com
Thu Feb 19 00:36:36 CET 2009


On Thu, Feb 19, 2009 at 00:35, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> Yeah, but I don't want to *install* it. I want to run the tests under
>> Python 3. :) Maybe I can run a command that installs it into a
>> specific prefix, and then runs the tests from there. Hmmm.
>
> Then you should be able to recycle the logic that performs the
> translation, namely distutils.utils.run_2to3 (after making a copy
> of the sources to be converted).

OK, I'll look at that, thanks.

-- 
Lennart Regebro: Pythonista, Barista, Notsotrista.
http://regebro.wordpress.com/
+33 661 58 14 64


More information about the Python-porting mailing list