diff options
author | Matthew Brett <matthew.brett@gmail.com> | 2021-10-22 16:36:09 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-11-15 23:20:48 +0200 |
commit | bd5e5206729f4eaa1e9711c0ef3a5872b01e83f9 (patch) | |
tree | 630e95a1a07751203d7f50a67f5e829c67280a09 /mesonbuild/minit.py | |
parent | cad109607d441ad7a2a5ae83aae3a3159d6bfeda (diff) | |
download | meson-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