Add python packaging to the windows build script

This commit is contained in:
2Shirt 2023-02-06 18:51:00 -08:00
parent 8719f18f47
commit 191549f88f
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -116,9 +116,9 @@ if ($MyInvocation.InvocationName -ne ".") {
$Url = FindDynamicUrl $DownloadPage $RegEx
DownloadFile -Path $Temp -Name "psutil64.whl" -Url $Url
# Python: pytz, requests, & dependancies
# Python: pytz, requests, & dependencies
$RegEx = "href=.*.py3-none-any.whl"
foreach ($Module in @("chardet", "certifi", "idna", "pytz", "urllib3", "requests")) {
foreach ($Module in @("certifi", "chardet", "idna", "packaging", "pytz", "requests", "urllib3")) {
$DownloadPage = "https://pypi.org/project/$Module/"
$Name = "$Module.whl"
$Url = FindDynamicUrl -SourcePage $DownloadPage -RegEx $RegEx