Directions for developers
PyPi builds should be automated by simply updating the trigger-actions branch, however, if you want to do it manually:
- Install build (
pip install build
) and twine (pip install twine
) - Create a Github release with a tag with the proper version number (if you want a dev release just skip this step; see https://packaging.python.org/en/latest/specifications/version-specifiers/ for proper version numbering)
- Run
python3 -m build
- Run
twine upload dist/*
You may want to setup an API key for easier login, see https://packaging.python.org/en/latest/specifications/pypirc/#using-a-pypi-token
Pyinstaller builds should be automated by pushing to the trigger-actions branch and binaries should be available in the actions tab. However, if you'd prefer to build from source:
- Install PyInstaller (
pip install pyinstaller
or it may be present in a distro repository) - Run
pyinstaller REVHubInterface.spec
- The binary should be available in the
dist
folder
Install Flatpak and flatpak-builder
TODO: finish this with Flathub directions