[Distutils] A possible refactor/streamlining of PEP 517

Daniel Holth dholth at gmail.com
Mon Jul 10 08:38:54 EDT 2017


Sdists contain generated PKG-INFO and .egg-info.

I'd prefer to let the build backend manage any sdist build directory. It
doesn't provide the same benefit to pip as the configurable wheel build
directory.

On Mon, Jul 10, 2017, 08:09 Jeremy Stanley <fungi at yuggoth.org> wrote:

> On 2017-07-10 20:33:16 +1000 (+1000), Nick Coghlan wrote:
> [...]
> > we don't really *want* folks to be adding generated files to their
> > sdist that they aren't keeping under source control - we'd prefer
> > that such activities were postponed to "build_wheel" now that we
> > have separate source and precompiled distribution formats.
> [...]
>
> This is a mildly naive view. The software I'm familiar with is
> actually attempting to reflect metadata _from_ the source revision
> control _into_ the sdist because while it's "tracked" there it's not
> tracked as normal files (version information from tags, change logs
> from the commit history, contributor lists from commit authorship).
> The metadata in question is lost by just blindly tarring up tracked
> files, so needs some mechanism to export and inject as untracked
> files (from the source revision control perspective) for inclusion
> in the sdist.
> --
> Jeremy Stanley
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170710/6ad27010/attachment-0001.html>


More information about the Distutils-SIG mailing list