aboutsummaryrefslogtreecommitdiff
path: root/docs/refman/main.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-04-15 23:46:13 -0400
committerNirbheek Chauhan <nirbheek@centricular.com>2023-05-24 02:02:52 +0530
commit9678aa05fbef1bbb783118c775aff72e10d83c10 (patch)
tree4943f1cfe57ab77a1980441974caefb1898266a8 /docs/refman/main.py
parente5928e63d09f7fd67f1559864c126f25377d2972 (diff)
downloadmeson-9678aa05fbef1bbb783118c775aff72e10d83c10.zip
meson-9678aa05fbef1bbb783118c775aff72e10d83c10.tar.gz
meson-9678aa05fbef1bbb783118c775aff72e10d83c10.tar.bz2
fix data collection with pyinstaller
pyinstaller considers .py files to not be data by default. The entire architecture of pyinstaller is, in fact, different from zipapp or unpacked modules -- because it actually has to use a resource loader with on-disk files *separate* from the module itself. So just because a file gets packaged in the application does not mean it's usable as an importlib.resources compatible resource. Although we collect data files in general, we need to make sure that .py files are collected from scripts, because we may try to run them standalone from an external process. Fixes #11689
Diffstat (limited to 'docs/refman/main.py')
0 files changed, 0 insertions, 0 deletions