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
it.

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, 
though.
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to