aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/minit.py
diff options
context:
space:
mode:
authorMatthew Brett <matthew.brett@gmail.com>2021-10-22 16:36:09 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2021-11-15 23:20:48 +0200
commitbd5e5206729f4eaa1e9711c0ef3a5872b01e83f9 (patch)
tree630e95a1a07751203d7f50a67f5e829c67280a09 /mesonbuild/minit.py
parentcad109607d441ad7a2a5ae83aae3a3159d6bfeda (diff)
downloadmeson-bd5e5206729f4eaa1e9711c0ef3a5872b01e83f9.zip
meson-bd5e5206729f4eaa1e9711c0ef3a5872b01e83f9.tar.gz
meson-bd5e5206729f4eaa1e9711c0ef3a5872b01e83f9.tar.bz2
Fix to find Python files for Windows virtualenvs
Virtualenvs do not have their Python DLLs etc in the `sys.prefix` directory, but in the `sys.base_prefix` directory. This directory is the same as `sys.prefix` if not in a virtualenv, so is safe for either case: https://docs.python.org/3/library/sys.html#sys.base_prefix
Diffstat (limited to 'mesonbuild/minit.py')
0 files changed, 0 insertions, 0 deletions