Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils builds extension modules to root package directory #50652

Closed
IvanK mannequin opened this issue Jul 2, 2009 · 2 comments
Closed

distutils builds extension modules to root package directory #50652

IvanK mannequin opened this issue Jul 2, 2009 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@IvanK
Copy link
Mannequin

IvanK mannequin commented Jul 2, 2009

BPO 6403
Nosy @tarekziade

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tarekziade'
closed_at = <Date 2009-07-03.08:59:53.828>
created_at = <Date 2009-07-02.20:26:43.958>
labels = ['type-bug', 'library']
title = 'distutils builds extension modules to root package directory'
updated_at = <Date 2009-10-14.02:01:55.230>
user = 'https://bugs.python.org/ivank'

bugs.python.org fields:

activity = <Date 2009-10-14.02:01:55.230>
actor = 'srid'
assignee = 'tarek'
closed = True
closed_date = <Date 2009-07-03.08:59:53.828>
closer = 'tarek'
components = ['Distutils']
creation = <Date 2009-07-02.20:26:43.958>
creator = 'ivank'
dependencies = []
files = []
hgrepos = []
issue_num = 6403
keywords = []
message_count = 2.0
messages = ['90034', '90046']
nosy_count = 4.0
nosy_names = ['exarkun', 'tarek', 'srid', 'ivank']
pr_nums = []
priority = 'normal'
resolution = 'accepted'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue6403'
versions = ['Python 2.7']

@IvanK
Copy link
Mannequin Author

IvanK mannequin commented Jul 2, 2009

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.

@IvanK IvanK mannequin assigned tarekziade Jul 2, 2009
@IvanK IvanK mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jul 2, 2009
@tarekziade
Copy link
Mannequin

tarekziade mannequin commented Jul 3, 2009

Related to bpo-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)

@tarekziade tarekziade mannequin closed this as completed Jul 3, 2009
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

0 participants