[Distutils] Disabling 2to3 fixers in setup.py w/Distribute?
regebro at gmail.com
Fri Apr 23 21:45:24 CEST 2010
On Fri, Apr 23, 2010 at 14:42, Barry Warsaw <barry at python.org> wrote:
> Does distribute's 2to3 support allow you to disable specific fixers?
Yeah, you can set the build commands fixer_names attribute to a list
of all the fixers you want. That means you get no default, and
use_2to3_fixers is ignored. Setting this is most neatly done by
subclassing build_py to your own custom build command with the
attribute set as a class attribute.
Lennart Regebro: http://regebro.wordpress.com/
Python 3 Porting: http://python-incompatibility.googlecode.com/
+33 661 58 14 64
More information about the Distutils-SIG