[Distutils] Fwd: Re: PEP 517 again

Paul Moore p.f.moore at gmail.com
Thu Aug 24 11:24:24 EDT 2017

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


More information about the Distutils-SIG mailing list