aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-02-24 00:01:05 -0500
committerXavier Claessens <xclaesse@gmail.com>2023-02-24 20:45:00 -0500
commit9f05d45b7084866f0b306f4685a118e5fea138af (patch)
tree9d042859953ec490353d1ec6e014e1ea6b265a59 /mesonbuild/compilers/compilers.py
parent8f683eeb21021f5907e8a6587c59d2d486399027 (diff)
downloadmeson-9f05d45b7084866f0b306f4685a118e5fea138af.zip
meson-9f05d45b7084866f0b306f4685a118e5fea138af.tar.gz
meson-9f05d45b7084866f0b306f4685a118e5fea138af.tar.bz2
work around circular imports in python probe script
It seems this happens because at some point setuptools imports gettext, and we have a script by the same name. In general, this path injection by default is bad news for our use case. Python 3.11 introduced -P for this reason, but we cannot depend on that. Instead, check for it first, and delete it, before doing more imports.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions