[Distutils] Finishing up PEP 517

Thomas Kluyver thomas at kluyver.me.uk
Fri Jun 16 18:05:11 EDT 2017

On Fri, Jun 16, 2017, at 10:48 PM, Nathaniel Smith wrote:
> The messy complications come from
> prepare_wheel_metadata and get_prepare_wheel_input_files, which isn't
> surprising, since those are the two hooks where we're squinting into
> our crystal ball to try and guess what will be useful for software
> that doesn't exist yet, but will later, maybe, we hope.

I'm not exactly clear on what use cases the prepare_wheel_metadata hook
satisfies - that was in the spec before I was particularly involved in

I do think we've hashed out a concrete need for prepare_build_files (or
whatever it ends up called): to copy the files to a build directory
without either copying large amounts of unnecessary data or figuring out
what belongs in an sdist. The only alternative would be to require
backends to avoid leaving clutter in the working directory, so they
would take care of any necessary copy step rather than exposing a
separate hook. People insist that trusting backends is a non-starter, 

More information about the Distutils-SIG mailing list