[issue6365] distutils duplicates package directory for C extensions in 3.1 final

Stefan Behnel report at bugs.python.org
Mon Jun 29 08:20:42 CEST 2009


New submission from Stefan Behnel <scoder at users.sourceforge.net>:

When compiling a C extension (lxml in this case) in Py3.1, calling the
"build_ext -i" distutils target duplicates the package path when writing
the dynlib. In this case, I get "lxml/lxml/etree.so" instead of
"lxml/etree.so". Obviously, the extension module cannot be found
afterwards, as it's not inside its package anymore. The extension is
named "lxml.etree" when creating the Extension object.

This is a regression from 3.1rc1 AFAICT.

----------
assignee: tarek
components: Distutils
messages: 89813
nosy: scoder, tarek
severity: normal
status: open
title: distutils duplicates package directory for C extensions in 3.1 final
type: behavior
versions: Python 3.1

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


More information about the Python-bugs-list mailing list