From 4bd1b6fad354b2ea823119e47cf378b3706e4d4e Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Fri, 31 Mar 2023 13:49:39 +0200 Subject: [PATCH] Provisioning: Make the dependencywalker available to python nuitka nuitka needs the dependency walker to create standalone binaries. For that nuitka downloads the dependency walker into its cache location. If we copy our installation to this cache folder first, we don't need to download it again. Change-Id: Ib55e5ddc7cb6b482e9db0723fd015b36da01e555 Reviewed-by: Heikki Halmet --- coin/provisioning/common/windows/install-dependencywalker.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coin/provisioning/common/windows/install-dependencywalker.ps1 b/coin/provisioning/common/windows/install-dependencywalker.ps1 index 1d015ffa..6714ded0 100644 --- a/coin/provisioning/common/windows/install-dependencywalker.ps1 +++ b/coin/provisioning/common/windows/install-dependencywalker.ps1 @@ -62,6 +62,10 @@ Verify-Checksum $dependsPackage $sha1 Extract-7Zip $dependsPackage $TARGETDIR +# Copy the content also into the cache location of nuitka +# This makes it usable without the need to download it again +Copy-Item -Path $TARGETDIR -Destination "$env:LOCALAPPDATA\Nuitka\Nuitka\Cache\downloads\depends\x86_64" -Recurse + Write-Host "Cleaning $dependsPackage.." Remove "$dependsPackage"