From d34df7ae072ec5e9e1490d0950ee054b4d5e97d5 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 24 Jun 2023 19:44:20 -0700 Subject: [PATCH] Add/Update Python dependencies for build_windows --- setup/windows/build.ps1 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/setup/windows/build.ps1 b/setup/windows/build.ps1 index a7278265..6922ea1f 100644 --- a/setup/windows/build.ps1 +++ b/setup/windows/build.ps1 @@ -100,10 +100,10 @@ if ($MyInvocation.InvocationName -ne ".") { # Python: psutil $DownloadPage = "https://pypi.org/project/psutil/" - $RegEx = "href=.*-cp310-cp310-win32.whl" + $RegEx = "href=.*-cp36-abi3-win32.whl" $Url = FindDynamicUrl $DownloadPage $RegEx DownloadFile -Path $Temp -Name "psutil32.whl" -Url $Url - $RegEx = "href=.*-cp310-cp310-win_amd64.whl" + $RegEx = "href=.*-cp36-abi3-win_amd64.whl" $Url = FindDynamicUrl $DownloadPage $RegEx DownloadFile -Path $Temp -Name "psutil64.whl" -Url $Url @@ -156,15 +156,18 @@ if ($MyInvocation.InvocationName -ne ".") { foreach ($Arch in @("32", "64")) { Write-Host "Extracting: Python (x$Arch)" $Files = @( - "python$Arch.zip", + "Pygments", "certifi.whl", "chardet.whl", "docopt.whl", "idna.whl", - "pytz.whl", + "prompt_toolkit", "psutil$Arch.whl", + "python$Arch.zip", + "pytz.whl", "requests.whl", - "urllib3.whl" + "urllib3.whl", + "wcwidth" ) try { foreach ($File in $Files) {