From b87b44168cc5ab3b11b03c1015022d69763745a9 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Thu, 29 Jun 2023 11:25:56 +0200 Subject: Provisioning: Remove the special wheel cache for python3 packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It should be replaced with a global pip cache in the long run. Removing it should make the maintenance of the required packages easier as it can be done within the modules instead of in the global provisioing scripts. Pick-to: 6.6 Change-Id: Ief9832a8a640ce98325cda015d0a9e89d6cb16af Reviewed-by: Simo Fält --- coin/provisioning/common/windows/python3.ps1 | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'coin/provisioning/common/windows/python3.ps1') diff --git a/coin/provisioning/common/windows/python3.ps1 b/coin/provisioning/common/windows/python3.ps1 index f35d2ae6..fba24beb 100644 --- a/coin/provisioning/common/windows/python3.ps1 +++ b/coin/provisioning/common/windows/python3.ps1 @@ -62,17 +62,6 @@ Run-Executable "$install_path\python.exe" "-m pip install --upgrade pip" Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel html5lib" -# Install all needed packages in a special wheel cache directory -$python3_wheel_dir="$install_path\python3-wheels" -Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args wheel --wheel-dir $python3_wheel_dir -r $PSScriptRoot\..\shared\requirements.txt" - -Set-EnvironmentVariable "PYTHON3_WHEEL_CACHE-$version-$archVer" "$python3_wheel_dir" -# PYTHON3_WHEEL_CACHE is already in use so we should keep it pointing to 64 bit default -# wheel cache -if (($setDefault) -And ($archVer -eq 64)) { - Set-EnvironmentVariable "PYTHON3_WHEEL_CACHE" "$python3_wheel_dir" -} - # Install PyPDF2 for QSR documentation Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install PyPDF2" -- cgit v1.2.3