[issue13317] building with 2to3 generates wrong import paths because build_ext is run after build_py

Éric Araujo report at bugs.python.org
Thu Nov 3 17:33:51 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

Hello and thanks for the report.

> We need build_ext before build_py. Otherwise, when 2to3 is called (in build_py),
> it will not find ext modules,
Why is 2to3 interested in extension modules?  2to3 converts Python code, extension modules are written in C or C++.

> thinking that those modules are global
I don’t understand what you mean.

Can you give me a Python or shell script to reproduce the error or a full description of what you did, what you expected and what went wrong?

----------
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13317>
_______________________________________


More information about the Python-bugs-list mailing list