diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-07-05 09:58:50 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-07-05 09:58:50 +0200 |
commit | 7c3771f0b1f426cbf465268b57f2a33ed9b9bbe3 (patch) | |
tree | 01f070518268b406499fb606da0a258106b9d44a /scripts | |
parent | b272fbb0e5a4692544ce7b2a1062f45013251739 (diff) | |
download | qutebrowser-7c3771f0b1f426cbf465268b57f2a33ed9b9bbe3.tar.gz qutebrowser-7c3771f0b1f426cbf465268b57f2a33ed9b9bbe3.zip |
Add glibc check to mkvenv.py
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkvenv.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py index d5cd5f5d7..7f6920bb8 100755 --- a/scripts/mkvenv.py +++ b/scripts/mkvenv.py @@ -238,6 +238,9 @@ def install_pyqt_binary(venv_dir: pathlib.Path, version: str) -> None: utils.print_error( f"{platform.machine()} is not a supported architecture for PyQt5 binaries " f"on {sys.platform}, this will most likely fail.") + elif sys.platform == 'linux' and platform.libc_ver()[0] != 'glibc': + utils.print_error("Non-glibc Linux is not a supported platform for PyQt5 " + "binaries, this will most likely fail.") pip_install(venv_dir, '-r', pyqt_requirements_file(version), '--only-binary', 'PyQt5,PyQtWebEngine') |