[Distutils] Provisionally accepting PEP 517's declarative build system interface
brett at python.org
Tue May 30 14:17:36 EDT 2017
Just to make sure I'm following this correctly, Donald is asking for:
- A way for pip to ask back-ends what files should be in an sdist from a
source checkout or to make an actual sdist
- Because sdists are a thing and so we should support them properly
- To make it so building wheels interact with just the files from an
sdist instead of skipping that and going straight from a source checkout
- Have this be a part of PEP 517 or at least a requirement for back-ends
to support so it doesn't get left out
Am I missing anything?
On Tue, 30 May 2017 at 09:48 Donald Stufft <donald at stufft.io> wrote:
> On May 30, 2017, at 12:29 PM, Thomas Kluyver <thomas at kluyver.me.uk> wrote:
> What about saying that the copying step, if necessary, is part of the
> build backend's responsibilities? I.e. pip doesn't copy the whole directory
> to a temporary build location, but the build backend may decide to do that
> at its discretion when it's asked to build a wheel. pip would continue to
> handle this for setup.py builds.
> That still leaves the other use cases for building sdists unsatisfied. In
> addition it’ll likely be pip that gets the bug reports when some backend
> inevitably doesn’t copy those files and then leaves random debris laying
> about (including things like read only file systems where random crap
> *can’t* be written to the ``.`` directory or mounting the same package in
> multiple docker containers that would cause different things to be pooped
> into the ``.`` directory).
> Donald Stufft
> Distutils-SIG maillist - Distutils-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG