Skip to content

Add tests for MANIFEST.in #737

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

Merged
merged 2 commits into from
Aug 19, 2016
Merged

Add tests for MANIFEST.in #737

merged 2 commits into from
Aug 19, 2016

Conversation

mx-moth
Copy link
Contributor

@mx-moth mx-moth commented Aug 16, 2016

I was looking in to finishing #610, but found that there were no tests for MANIFEST.in that I could find. As setuptools customises the FileList a little bit, and #610 customises it some more, some tests for this would be sensible.

I wrote some tests that work much like setuptools/tests/test_sdist.py, by creating some files and running with various MANIFEST.in files.

I also copied the FileList tests from distutils, modifying them slightly to fit with py.test and the setuptools environment.

This way, it will be easy to verify that any modifications done to setuptools retain compatibility with distutils.

@mx-moth mx-moth force-pushed the manifest-tests branch 2 times, most recently from 4992078 to b3b9c65 Compare August 16, 2016 23:44
@mx-moth
Copy link
Contributor Author

mx-moth commented Aug 17, 2016

OK, got the tests passing. Compatibility across so many versions and platforms is apparently tricky!

@jaraco
Copy link
Member

jaraco commented Aug 19, 2016

Awesome. Thanks!

@jaraco jaraco merged commit 3059401 into pypa:master Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants