-
Notifications
You must be signed in to change notification settings - Fork 216
data_files not included in sdist #73
Comments
Add manifest template, explicit list include/exclude files/dirs. This will make sure that files like bash completion and license are included in source distribution.
I run |
I see, I can't reproduce it ;( Couple of problems from above run:
hard linking test/test.py -> snakebite-2.4.5/test We can put all the test files in the tarball - but I think we need to do that in the MANIFEST, PR #74 |
I was thinking to include the test files but only for reference and not to run tests, but after thinking about it, just leave them out, because it might be too confusing. Tests that you can't run.. |
I agree completely - current PR #74 is valid and ready to merge, it would be nice to validate this sdist output tho. So let's first validate sdist and then decide on merging manifest. |
In py2.6 and still in 2.7 sdist may not include data_files from setup.py in source distribution which make some file unreachable during install process (including bash completion and license file).
@wouterdebie how do you produce tarballs available in pypi, I can see they have license and bash completion but I can't reproduce this via
python setup.py sdist
?To solve the problem, let's add MANIFEST.in and add all required files including:
Also since by default sdist includes all test/test* files, which at the moment includes two files (out of many test files), let's decided on either including all test files (via manifest) or not. I think we shouldn't include test files, what do you think @wouterdebie ?
The text was updated successfully, but these errors were encountered: