mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-08-22 08:44:01 +08:00
388c799932
* Build PyQt5 wheel * Use valid whl name * Move openpilot_python_dependencies to earlier to avoid duplication
17 lines
490 B
Bash
Executable File
17 lines
490 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# Use pyenv venv
|
|
export PATH="/usr/local/pyenv/bin:/usr/local/pyenv/shims:$PATH"
|
|
export PYENV_ROOT="/usr/local/pyenv"
|
|
eval "$(pyenv init -)"
|
|
eval "$(pyenv virtualenv-init -)"
|
|
|
|
# Build PyQt5 wheel
|
|
cd /tmp
|
|
wget https://files.pythonhosted.org/packages/5c/46/b4b6eae1e24d9432905ef1d4e7c28b6610e28252527cdc38f2a75997d8b5/PyQt5-5.15.9.tar.gz
|
|
tar xf PyQt5-5.15.9.tar.gz
|
|
cd PyQt5-5.15.9
|
|
|
|
export MAKEFLAGS="-j$(nproc)"
|
|
pip wheel -w . --verbose --config-settings --confirm-license= .
|