diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-31 15:27:08 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-31 15:27:08 +0200 |
commit | b21ca69b70d10eb4d0ab8f76e3235ade574588ea (patch) | |
tree | e1e4ae4816b94f290dd7b98dcd2f836eff9fd0fc /scripts | |
parent | c7657e65cc2eea04aee70d466b436c675707c270 (diff) | |
download | qutebrowser-b21ca69b70d10eb4d0ab8f76e3235ade574588ea.tar.gz qutebrowser-b21ca69b70d10eb4d0ab8f76e3235ade574588ea.zip |
scripts: Handle isolated tox builds in link_pyqt.py
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/link_pyqt.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/link_pyqt.py b/scripts/link_pyqt.py index 6df48198c..0341de096 100644 --- a/scripts/link_pyqt.py +++ b/scripts/link_pyqt.py @@ -199,7 +199,9 @@ def get_tox_syspython(tox_path): with open(path, encoding='ascii') as f: line = f.readline() _md5, sys_python = line.rstrip().split(' ', 1) - return sys_python + # Follow symlinks to get the system-wide interpreter if we have a tox isolated + # build. + return os.path.realpath(sys_python) def main(): |