<div dir="ltr">If the entire idea of copying out-of-tree is to work around setuptools deficiencies, then perhaps it would be a better idea to push this onto the setuptools build backend rather than bring these problems into PEP 517?</div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-24 10:32 GMT-05:00 xoviat <span dir="ltr"><<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">May I ask what is wrong *in principle* with the setuptools "build" folder (other than the fact that it does not contain all tree changes)?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-08-24 10:27 GMT-05:00 xoviat <span dir="ltr"><<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That is actually the first time that build_dir makes sense to me now. Thank you.</div><div class="m_1614698249017204043HOEnZb"><div class="m_1614698249017204043h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-08-24 10:24 GMT-05:00 Paul Moore <span dir="ltr"><<a href="mailto:p.f.moore@gmail.com" target="_blank">p.f.moore@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 24 August 2017 at 16:20, xoviat <<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>> wrote:<br>
>>  I *do* care about telling backends we don't want "different<br>
> results from those that would be obtained by exporting an sdist<br>
> first".<br>
><br>
> I completely agree with this statement, but I don't believe that it can or<br>
> should be accomplished with this parameter. Let me just quote the process<br>
> that I proposed:<br>
><br>
><br>
>> Proposed process:<br>
> - Frontend copies source tree to temporary directory<br>
<br>
</span>That step's the problem. If the frontend does that it can potentially<br>
be copying a lot of unneeded stuff (VCS history, for example). We<br>
tried that with pip and it was a major issue. That problem is the<br>
*whole point* of all the discussions about the various proposals that<br>
ended up with build_tree.<br>
<div class="m_1614698249017204043m_4534223485819856179HOEnZb"><div class="m_1614698249017204043m_4534223485819856179h5"><br>
> - Frontend invokes build-sdist to build an sdist<br>
> - Frontend extracts sdist to new temporary directory<br>
> - Frontend reloads backend from sdist directory and invokes build-wheel<br>
<br>
</div></div><span class="m_1614698249017204043m_4534223485819856179HOEnZb"><font color="#888888">Paul<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>