-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add missing code and data files back to dist wheels. #303
Conversation
LGTM. Thanks! |
Codecov Report
@@ Coverage Diff @@
## main #303 +/- ##
=======================================
Coverage 75.49% 75.49%
=======================================
Files 44 44
Lines 5125 5125
=======================================
Hits 3869 3869
Misses 1256 1256 Continue to review full report at Codecov.
|
I expect the devastropy check will be fixed by astropy/astropy#12875. |
Re: devastropy -- yup yup, you can ignore it here. Not sure if you are waiting for other reviews or not, but feel free to merge if you are not. Good work. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
p.s. Sorry I missed this in the original review! |
With the APE-17 changes (#290), wheel files built for release did not contain the code or test data. @pllim and I found some subtle changes needed in
setup.cfg
to get those files in the wheel.For the code, the key line is
I also included:
which I don't totally understand, but seems OK after reading the documentation.
The data files had been handled by
setup_package.py
files. With APE-17, these are obsolete so I deleted them and added their info tosetup.cfg
asoptions.package_data
.With these changes in place I verified that the wheel file created by these commands contained the same files as for the previous release (v1.2.1):
I also verified that the wheel was pip installable, and that the installation passed basic tests: