Skip to content
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

PICARD-1398: Fix installing locales when running setup.py bdist_wheel #1053

Merged

Conversation

phw
Copy link
Member

@phw phw commented Nov 26, 2018

Summary

Builds for Snap package do not contain locale files.

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Problem

Snap packages use setup.py bdist_wheel for generating the package. Currently the way our locale files are built causes them to be not included in the data package of the wheel.

Solution

Fix installation of locale files to be in the proper data file used by the setuptools. This ensures not matter how the final packaging works the locale files will be included.

For now only tested locally with normal setup.py install and bdist_wheel commands. Before merging I want to test the CI builds for Win and Mac.

Action

@phw
Copy link
Member Author

phw commented Nov 26, 2018

Both the Windows and Mac builds work and properly include the locales

@phw phw merged commit 66d0552 into metabrainz:master Nov 27, 2018
@phw phw deleted the PICARD-1398-fix-bdist_wheel-locale-location branch November 27, 2018 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants