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 <[email protected]> wrote:

>
> On May 30, 2017, at 12:29 PM, Thomas Kluyver <[email protected]> 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  -  [email protected]
> https://mail.python.org/mailman/listinfo/distutils-sig
>
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to