New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLD: fix include list for sdist building #13086
Conversation
I'm not sure any of the |
I think you're thinking that they're not needed for installation, hence don't package? I'm thinking of the sdist more as an archive of the tagged source tree (the first purpose in https://www.python.org/dev/peps/pep-0517/#terminology-and-goals). We also package |
Hmm, the travisci build complains: |
"cythonize.dat" is a build artifact containing the hashes of the target files used to trigger a cythonize run when they change. |
Yes I know - we should be including it to avoid users who build from source having to recompile the Cython files. I think it fell out of the sdist by accident, but I'm not sure yet - will investigate. |
Okay, we avoid the need for that because we only call |
Okay all green, should be good to merge |
Thanks @rgommers |
Closes gh-11927
To verify the changes I ran
python setup.py sdist
onmaster
and on the branch this PR was made from, unpacked each sdist and ran this script:The result:
I think those should all be included.
The
LICENSE.txt
file was the important one pointed out in the bug report. The missingcythonize.dat
was also not good, that must have triggered recompilation of Cython files for source builds that we didn't intend have happen.