[Distutils] Fwd: Re: PEP 517 again
xoviat
xoviat at gmail.com
Thu Aug 24 11:32:31 EDT 2017
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)?
2017-08-24 10:27 GMT-05:00 xoviat <xoviat at gmail.com>:
> That is actually the first time that build_dir makes sense to me now.
> Thank you.
>
> 2017-08-24 10:24 GMT-05:00 Paul Moore <p.f.moore at gmail.com>:
>
>> On 24 August 2017 at 16:20, xoviat <xoviat at gmail.com> wrote:
>> >> I *do* care about telling backends we don't want "different
>> > results from those that would be obtained by exporting an sdist
>> > first".
>> >
>> > I completely agree with this statement, but I don't believe that it can
>> or
>> > should be accomplished with this parameter. Let me just quote the
>> process
>> > that I proposed:
>> >
>> >
>> >> Proposed process:
>> > - Frontend copies source tree to temporary directory
>>
>> That step's the problem. If the frontend does that it can potentially
>> be copying a lot of unneeded stuff (VCS history, for example). We
>> tried that with pip and it was a major issue. That problem is the
>> *whole point* of all the discussions about the various proposals that
>> ended up with build_tree.
>>
>> > - Frontend invokes build-sdist to build an sdist
>> > - Frontend extracts sdist to new temporary directory
>> > - Frontend reloads backend from sdist directory and invokes build-wheel
>>
>> Paul
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170824/b9d1c1f1/attachment.html>
More information about the Distutils-SIG
mailing list