From 9b53a6d79d5013d6dc612cd8353286488f792e9e Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 28 Sep 2022 09:57:03 -0700 Subject: [PATCH] Include MariaDB in Windows kit --- setup/windows/build.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup/windows/build.ps1 b/setup/windows/build.ps1 index 36177787..66202cb3 100644 --- a/setup/windows/build.ps1 +++ b/setup/windows/build.ps1 @@ -98,6 +98,15 @@ if ($MyInvocation.InvocationName -ne ".") { # Python: docopt Copy-Item -Path "$WD\docopt\docopt-0.6.2-py2.py3-none-any.whl" -Destination "$Temp\docopt.whl" + # Python: mariadb + $DownloadPage = "https://pypi.org/project/mariadb" + $RegEx = "href=.*-cp310-cp310-win32.whl" + $Url = FindDynamicUrl $DownloadPage $RegEx + DownloadFile -Path $Temp -Name "mariadb32.whl" -Url $Url + $RegEx = "href=.*-cp310-cp310-win_amd64.whl" + $Url = FindDynamicUrl $DownloadPage $RegEx + DownloadFile -Path $Temp -Name "mariadb64.whl" -Url $Url + # Python: psutil $DownloadPage = "https://pypi.org/project/psutil/" $RegEx = "href=.*-cp310-cp310-win32.whl" @@ -161,6 +170,7 @@ if ($MyInvocation.InvocationName -ne ".") { "chardet.whl", "docopt.whl", "idna.whl", + "mariadb$Arch.whl", "pytz.whl", "psutil$Arch.whl", "requests.whl",