[Distutils] setuptools and use_2to3

Paul Moore p.f.moore at gmail.com
Mon Nov 11 23:26:22 CET 2013

On 11 November 2013 20:45, Lennart Regebro <regebro at gmail.com> wrote:
> If 2to3 is being run you'll get quite a lot of fairly obvious output
> to that effect. So it sounds like it's not.
> A quick look at bdist_egg seems to indicate that it never runs the
> build_py step, which is what runs 2to3. So this may be a bug.

Good thought. python setup.py build does run 2to3, and as you say the
output is not something you can miss. So setup.py bdist_wheel isn't
running build, which is likely a bug (but also not hard to work

That's probably good enough for now - this whole exercise is a local
hack, so just getting it to work is likely good enough. I'm not enough
of a fan of the whole 2to3 process to be bothered spending time
producing a reproducible test case, etc, for a good-quality bug
report. I might just report it as it stands and leave it at that,
though, so at least it doesn't get forgotten.


More information about the Distutils-SIG mailing list