skytemple-randomizer icon indicating copy to clipboard operation
skytemple-randomizer copied to clipboard

Make sure the wheel built contains proper UI files

Open theCapypara opened this issue 6 months ago • 0 comments

Previously it was not possible to install SkyTemple Randomizer from just PyPI, because the source dists and wheels only contained the Blueprint (*.blp) source files.

Now there is a custom build backend which builds the blp -> ui files during the wheel build. This means that:

  • The source wheel can now be built into a proper working wheel and the GTK frontend works
  • The wheel on PyPI now actually works when installed from PyPI via pip (the GTK frontend works)

The same applies for the localization files (po -> mo).

This adds a new implicit dependency on PowerShell under Windows, make under Linux/macOS and msgfmt from gettext for all.

theCapypara avatar Aug 16 '24 17:08 theCapypara