-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
allow to include license text file in the wheel metadata #829
Comments
I think you can use the |
oh I didn't know that, thanks! Will that copy the full text of the license file to the wheel .dist-info? |
ok I just tried, I see it copied the full LICENSE text to the METADATA file, not as a separate LICENSE file. That's fine by me. Thank you! |
actually I'm having issues embedding the full text of the LICENSE file when running on Windows. E.g. download the dist.zip file from here, and try to run
If I do the same for the other non-Windows wheels (e.g. the mac or linux ones in the same archive), it works. They differ only by their line endings. |
@anthrotype Thanks for the report, I'll look into it soon. |
maturing has issues embedding license full text in the wheels so for now we do it ourselves. PyO3/maturin#829
maturing has issues embedding license full text in the wheels so for now we do it ourselves. PyO3/maturin#829 There's another problem using wheeltools on windows (it creates zip files with backslashes...) so I run this on Linux after all the wheels have been built.
@anthrotype Can you try #836 ? Released in v0.12.10-beta.8. |
thanks! The windows wheels now pass twine check. What the Would it be possible for maturin to distinguish between the |
@anthrotype Opened #837 . |
the official
wheel
package (used by setuptools' bdist_wheel) has a handylicense_files
option (defined in setup.cfg[metadata]
section) that allows one to list the license file paths to be included in the generated wheel.https://wheel.readthedocs.io/en/stable/user_guide.html?highlight=license_files#including-license-files-in-the-generated-wheel-file
Some OSS licenses require one to include the license text along with distributed binaries.
I couldn't find a way to achive this when using maturin. Is it possible to add support for this?
thank you for considering.
The text was updated successfully, but these errors were encountered: