Improve setup.py and drop the MANIFEST #56
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes (hopefully) the problem discussed on Slack "we are getting this error when building chandra_time on Windows" in
#aspect_team
. The original strategy of makingcythonize
into a lambda function that returnsNone
was silly.I also noticed when building that the
MANIFEST.in
file referenced non-existent files and was generating warnings when building. But the distribution was still working so I don't think we need the manifest. Evenpython setup.py sdist
seems to be fine, see testing below.Interface impacts
None.
Testing
Unit tests
No code changes.
Functional tests
Install test
I did the usual of removing the
build
dir and installing to a dev ska and running tests. All good.Version
MANIFEST.in
The
.pyx
and.h
files are automatically included even without a manifest.