[Distutils] Question about wheels and python-dbg 2.7
Daniel Holth
dholth at gmail.com
Fri Apr 3 19:26:43 CEST 2015
This is a longstanding issue in that the ABI tag (the middle tag in
py27-none-linux_x86_64) is not implemented for Python 2.7 in
bdist_wheel or in pip. The design calls for a "cp27d" tag for your
wheel, instead it is always none. It would be pretty easy to fix by
writing some Python 2 code that would detect debug / m / unicode and
adding that to both the tagging scheme in bdist_wheel, and the
supported tags in pip.
On Fri, Apr 3, 2015 at 12:40 PM, Ionel Cristian Mărieș
<contact at ionelmc.ro> wrote:
> Hey,
>
> It appears that using a debug build of python 2.7 doesn't mark the wheels
> built using it in any special way. Pip would install them on a regular
> python 2.7 (if they would be on an package index) and then later on imports
> for C extensions would fail (not sure why, tho I suspect the different
> "_d.so" naming scheme).
>
> Is there something more complicated preventing this be fixed or there's just
> hasn't been enough interest? Why does the import fail anyway?
>
> Thanks,
> -- Ionel Cristian Mărieș, http://blog.ionelmc.ro
More information about the Distutils-SIG
mailing list