diff --git a/.bin/Scripts/build_kit.ps1 b/.bin/Scripts/build_kit.ps1 index 4d456ef5..778c6bb8 100644 --- a/.bin/Scripts/build_kit.ps1 +++ b/.bin/Scripts/build_kit.ps1 @@ -96,7 +96,7 @@ if ($MyInvocation.InvocationName -ne ".") { DownloadFile -Path $Path -Name "python64.zip" -Url $Url # Python: psutil - $DownloadPage = "https://pypi.python.org/pypi/psutil" + $DownloadPage = "https://pypi.org/project/psutil/" $RegEx = "href=.*-cp36-cp36m-win32.whl" $Url = FindDynamicUrl $DownloadPage $RegEx DownloadFile -Path $Path -Name "psutil32.whl" -Url $Url @@ -107,7 +107,7 @@ if ($MyInvocation.InvocationName -ne ".") { # Python: requests & dependancies $RegEx = "href=.*.py3-none-any.whl" foreach ($Module in @("chardet", "certifi", "idna", "urllib3", "requests")) { - $DownloadPage = "https://pypi.python.org/pypi/$Module" + $DownloadPage = "https://pypi.org/project/$Module/" $Name = "$Module.whl" $Url = FindDynamicUrl -SourcePage $DownloadPage -RegEx $RegEx DownloadFile -Path $Path -Name $Name -Url $Url diff --git a/.bin/Scripts/build_pe.ps1 b/.bin/Scripts/build_pe.ps1 index a49d2c65..459141c0 100644 --- a/.bin/Scripts/build_pe.ps1 +++ b/.bin/Scripts/build_pe.ps1 @@ -164,11 +164,11 @@ if ($MyInvocation.InvocationName -ne ".") { # Python: psutil @( "psutil64.whl", - (FindDynamicUrl "https://pypi.python.org/pypi/psutil" "href=.*-cp36-cp36m-win_amd64.whl") + (FindDynamicUrl "https://pypi.org/project/psutil/" "href=.*-cp36-cp36m-win_amd64.whl") ), @( "psutil32.whl", - (FindDynamicUrl "https://pypi.python.org/pypi/psutil" "href=.*-cp36-cp36m-win32.whl") + (FindDynamicUrl "https://pypi.org/project/psutil/" "href=.*-cp36-cp36m-win32.whl") ), # Q-Dir @("qdir64.zip", "https://www.softwareok.com/Download/Q-Dir_Portable_x64.zip"),