<div dir="auto">I'm handling the setuptools backend. I will make sure that it complies with the clean directory.</div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 24, 2017 5:30 PM, "Paul Moore" <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 24 August 2017 at 20:00, Thomas Kluyver <<a href="mailto:thomas@kluyver.me.uk">thomas@kluyver.me.uk</a>> wrote:<br>
> So for the time being, I'd prefer to say that the build_wheel() hook should<br>
> not create or modify files in the source directory. Backends may keep their<br>
> own caches elsewhere to speed up repeated builds, but any more provisions<br>
> for developer use cases should be left for a future PEP. And developers can<br>
> invoke enscons/flit/... directly in the meantime.<br>
<br>
That means a PEP 517 compatible interface to setuptools is more<br>
complex, as it would *have* to specify a temporary build directory.<br>
And I'm not sure whether there are any *other* files it dumps in the<br>
source directory (egg info comes to mind, and PKG-INFO) and if so<br>
whether it's easy to get setuptools to place them elsewhere. That's<br>
fine, as far as I'm concerned, but it should be made explicit, IMO.<br>
I'm not yet sure who (if anyone) is proposing to write a PEP 517<br>
wrapper for setuptools (or if we'll need to special-case setuptools in<br>
pip for "legacy" support) but we should make it as easy as possible<br>
for anyone who does to get the details right, as it's likely to be a<br>
very widely used backend.<br>
<br>
It would be a lot easier to handle the edge cases here if there were<br>
someone writing a setuptools wrapper. Any takers? (I'm not sure I can<br>
make the time to do so, and I *am* sure that if I did, I don't have<br>
the time to support and maintain it going forward...)<br>
<br>
Paul<br>
______________________________<wbr>_________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/distutils-sig</a><br>
</blockquote></div></div>