aboutsummaryrefslogtreecommitdiff
path: root/docs/refman/main.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-04-16 00:00:55 -0400
committerNirbheek Chauhan <nirbheek@centricular.com>2023-05-24 02:02:52 +0530
commit4c72b6da56e5fee4e7056e1771c8c58111235612 (patch)
treeb99583bab39e2f32e7b02225c717bd6244b32164 /docs/refman/main.py
parent9678aa05fbef1bbb783118c775aff72e10d83c10 (diff)
downloadmeson-4c72b6da56e5fee4e7056e1771c8c58111235612.zip
meson-4c72b6da56e5fee4e7056e1771c8c58111235612.tar.gz
meson-4c72b6da56e5fee4e7056e1771c8c58111235612.tar.bz2
select the correct python_command for pyinstaller builds, even on not-Windows
Checking the executable basename sort of works, at least for Windows, since Windows always happens to use exactly this approach. However, the official pyinstaller documentation suggests a very different approach: https://pyinstaller.org/en/stable/runtime-information.html This approach is more robust since it works on any OS, and in particular it allows me to test the PyInstaller bundle functionality on Linux, even though we don't officially distribute it as such.
Diffstat (limited to 'docs/refman/main.py')
0 files changed, 0 insertions, 0 deletions