Ge0rG on Nostr: My Android app builds use `xml2po` to interact with the Launchpad translation ...
My Android app builds use `xml2po` to interact with the Launchpad translation community. `xml2po` is a Python 2 tool with no modern equivalent. Python 2 doesn't (easily) work on modern Linux distros.
Workaround, on a legacy system with Python2 PIP:
`pip install pyinstaller==3.6 ; pyinstaller --hiddenimport xml2po.modes.basic --onefile /usr/bin/xml2po`
This leaves a 17MB ELF file under `dist/xml2po` that contains its own Python2 and can run on any modern Linux!
#PalliativeAdministration
Workaround, on a legacy system with Python2 PIP:
`pip install pyinstaller==3.6 ; pyinstaller --hiddenimport xml2po.modes.basic --onefile /usr/bin/xml2po`
This leaves a 17MB ELF file under `dist/xml2po` that contains its own Python2 and can run on any modern Linux!
#PalliativeAdministration