diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2023-09-08 16:54:48 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-10-02 18:15:16 -0400 |
| commit | 9f610ad5b72ea91de2d7aeb6f3266d0a7477062e (patch) | |
| tree | 395b95014dbf45747e519d8dd8f1d177da03af95 /mesonbuild/scripts/python_info.py | |
| parent | 710a753c78077220b13a9f7e999dcdb61339efb1 (diff) | |
| download | meson-9f610ad5b72ea91de2d7aeb6f3266d0a7477062e.tar.gz | |
python dependency: ensure that setuptools doesn't inject itself into distutils
We do not use setuptools for anything, and only lightly use distutils.
Unpredictable issues can occur due to setuptools monkey-patching, which
interferes with our intended use. Tell setuptools to simply never get
involved.
Note: while it's otherwise possible to check if the probe is run using
sys.executable and avoid forking, setuptools unconditionally injects
itself at startup in a way that requires subprocess isolation to
disable.
Diffstat (limited to 'mesonbuild/scripts/python_info.py')
0 files changed, 0 insertions, 0 deletions
