Add/Update Python dependencies for build_windows
This commit is contained in:
parent
dfcc717048
commit
d34df7ae07
1 changed files with 8 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue