From a1e51c595f7472891fb93e51157cebd3e64da6c6 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Tue, 25 Apr 2023 18:37:53 +0200 Subject: [PATCH] Trying to solve windows issues with python. --- tools/metacall-environment.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/metacall-environment.ps1 b/tools/metacall-environment.ps1 index b3de6af47..d2e5573ee 100755 --- a/tools/metacall-environment.ps1 +++ b/tools/metacall-environment.ps1 @@ -26,8 +26,7 @@ function Set-Python { Write-Output "Installing python $PythonVersion" # Install Python - ./python_installer.exe /quiet "TargetDir=$RuntimeDir" ` - Include_debug=1 Include_symbols=1 PrependPath=1 CompileAll=1 + ./python_installer.exe /quiet "TargetDir=$RuntimeDir" Include_debug=1 Include_symbols=1 PrependPath=1 CompileAll=1 # Set environment variables Add-to-Path $RuntimeDir @@ -43,6 +42,7 @@ function Set-Python { Write-Output "-DPython3_EXECUTABLE=""$PythonRuntimeDir/python.exe""" >> $Env_Opts Write-Output "-DPython3_INCLUDE_DIRS=""$PythonRuntimeDir/include""" >> $Env_Opts Write-Output "-DPython3_LIBRARIES=""$PythonRuntimeDir/libs/python39_d.lib;$PythonRuntimeDir/libs/python39.lib""" >> $Env_Opts + Write-Output "-DPython3_Development_FOUND=1" >> $Env_Opts # Install dependencies for tests pip3 install requests