This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: distutils builds extension modules to root package directory
Type: behavior Stage:
Components: Distutils Versions: Python 2.7
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: tarek Nosy List: exarkun, ivank, srid, tarek
Priority: normal Keywords:

Created on 2009-07-02 20:26 by ivank, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg90034 - (view) Author: ivank (ivank) Date: 2009-07-02 20:26
When I built Twisted, I noticed that 'python2.7 setup.py build' created
_c_urlang.so in the wrong place:

$ find . | grep _c_url
./twisted/protocols/_c_urlarg.c
./build/lib.linux-x86_64-2.7/_c_urlarg.so
./build/temp.linux-x86_64-2.7/twisted/protocols/_c_urlarg.o

I noticed the same problem when I built Mercurial 1.3, too.

This happens with svn r73778, but not svn r73145 (June 2). I don't know
which commit caused the problem. I don't know if the problem is in 3.x too.
msg90046 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-07-03 08:59
Related to #6365. I've added a test to make sure twisted builds with
'build' and 'build_ext -i'.

Fixed in r73790 and propagated in 2.6/3.1/3.2. 

Thanks for the feeback !

(I am also adding twisted in my buildbot to make sure trunk creates a
similar binary dist than 2.6)
History
Date User Action Args
2022-04-11 14:56:50adminsetgithub: 50652
2009-10-14 02:01:55sridsetnosy: + srid
2009-07-03 08:59:53tareksetstatus: open -> closed

messages: + msg90046
2009-07-02 22:05:11tareksetresolution: accepted
2009-07-02 20:35:26exarkunsetnosy: + exarkun
2009-07-02 20:26:43ivankcreate