[issue29225] distutils.command.install_lib.get_outputs() wrong with extensions built inplace

Elvis Stansvik report at bugs.python.org
Wed Jul 19 05:17:49 EDT 2017


Elvis Stansvik added the comment:

@inada.naoki: I was half afraid that note in the docs would be brought up :) But I should have brought it up myself, sorry about that.

My take is that I see no reason why this limitation should exists. For projects that have extensions, and wish to be runnable both directly from the distribution source tree, but also be installable, it would be quite convenient to be able to set inplace=1 in setup.cfg and have it just work (tm). At least, that's how I ran into this issue. Doing so breaks `setup.py install`.

I haven't tested other targets like sdist and bdist_wheel, but I'll do that and report back.

----------

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


More information about the Python-bugs-list mailing list