The hook is also so a tool like tox or TravisCI or twine can produce a sdist that can be uploaded to PyPI or similar.
Sent from my iPhone > On May 31, 2017, at 11:16 AM, Paul Moore <p.f.mo...@gmail.com> wrote: > > Hmm. The proposed API (whether it's "create a sdist" or "tell me what > files to copy") is intended so that a frontend can use the following > process: > > 1. Create a temp directory > 2. Call a hook to get the "source" > 3. Put the source in the temp directory (unpack, copy, ask the hook to > put the files in here directly, whatever) > 4. Call the "build wheel" hook on the temp directory _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig