mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-15 04:52:07 +00:00
Fix Qt dependency: install setuptools to venv
In `CI/before_script.msvc.sh`, while executing the following line: run_cmd "aqt-venv/${VENV_BIN_DIR}/pip" install aqtinstall==1.1.3 This error is raised: ``` Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\TES3MP.git\deps\aqt-venv\Scripts\aqt.exe\__main__.py", line 4, in <module> File "C:\TES3MP.git\deps\aqt-venv\Lib\site-packages\aqt\__init__.py", line 23, in <module> from pkg_resources import DistributionNotFound, get_distribution ModuleNotFoundError: No module named 'pkg_resources' ``` This commit fixes that by first installing setuptools.
This commit is contained in:
parent
65c5ed5666
commit
74ecc8bbdf
1 changed files with 2 additions and 0 deletions
|
@ -862,6 +862,8 @@ fi
|
|||
# check version
|
||||
aqt-venv/${VENV_BIN_DIR}/pip list | grep 'aqtinstall\s*1.1.3' || [ $? -ne 0 ]
|
||||
if [ $? -eq 0 ]; then
|
||||
echo " Installing setuptools into virtualenv..."
|
||||
run_cmd "aqt-venv/${VENV_BIN_DIR}/pip" install setuptools
|
||||
echo " Installing aqt wheel into virtualenv..."
|
||||
run_cmd "aqt-venv/${VENV_BIN_DIR}/pip" install aqtinstall==1.1.3
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue