You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to see
The LICENSE.txt file included in the dist-info list.
What did you see instead?
No LICENSE.txt file.
Anything else we should know about your project / environment
We use a script to gather licenses for python packages we include when shipping our products. flatbuffers is one of the packages that does not include a license file for us to gather, requiring extra manual steps to collect. Ideally the solution would fix this for all flatbuffers versions going forward as we've encountered the same problem with many previous flatbuffers releases. Thanks!
The text was updated successfully, but these errors were encountered:
Happy to help! This stack overflow answer is pretty comprehensive on how to use setup.py to include the license file with a wheel: https://stackoverflow.com/a/66443941
Ideally the wheel would include the LICENSE.txt file (here). For our use case that helps us ensure we catch any changes to licenses over versions.
You should be able to verify the file was included by doing the download step indicated above.
What version of protobuf and what language are you using?
Version: 22.10.26 (applies to all versions we tested)
Language: Python
What operating system (Linux, Windows, ...) and version?
Windows 11. Linux.
What runtime / compiler are you using (e.g., python version or gcc version)
Pip install only.
What did you do?
Download the flatbuffers python package:
Shows nothing.
What did you expect to see
The LICENSE.txt file included in the dist-info list.
What did you see instead?
No LICENSE.txt file.
Anything else we should know about your project / environment
We use a script to gather licenses for python packages we include when shipping our products. flatbuffers is one of the packages that does not include a license file for us to gather, requiring extra manual steps to collect. Ideally the solution would fix this for all flatbuffers versions going forward as we've encountered the same problem with many previous flatbuffers releases. Thanks!
The text was updated successfully, but these errors were encountered: