Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
reuteras committed Oct 16, 2024
1 parent ff0aea3 commit a8a69c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup/install_python_tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,15 @@ if ((Get-FileHash "C:\tmp\visualstudio.txt").Hash -ne (Get-FileHash "$CURRENT_VE
if (Test-Path "C:\venv\jep") {
Get-ChildItem C:\venv\jep\ -Exclude jep.txt | Remove-Item -Force -Recurse 2>&1 | ForEach-Object{ "$_" } | Out-null
}

# Set environment variables for Visual Studio Build Tools
$env:DISTUTILS_USE_SDK=1
$env:MSSdk=1
$env:LIB = "C:\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\shared\x64;" + $env:LIB
$env:INCLUDE = "C:\BuildTools\VC\Tools\MSVC\14.29.30133\include" + ";C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0" + $env:INCLUDE
C:\BuildTools\VC\Auxiliary\Build\vcvarsall.bat amd64 >> "C:\log\python.txt"
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","User")+ ";" + [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64"

Start-Process -Wait -FilePath "$PYTHON_BIN" -ArgumentList "-m venv C:\venv\jep"
C:\venv\jep\Scripts\Activate.ps1 2>&1 | ForEach-Object{ "$_" } >> "C:\log\python.txt"
Set-Location "C:\venv\jep" 2>&1 | ForEach-Object{ "$_" } >> "C:\log\python.txt"
Expand Down Expand Up @@ -669,7 +669,7 @@ foreach ($virtualenv in "binary-refinery", "chepy", "csvkit", "ghidrecomp", "jpt
} else {
Get-LatestPipVersion ${virtualenv} > "${WSDFIR_TEMP}\${virtualenv}.txt"
}

if (Test-Path "C:\venv\${virtualenv}\${virtualenv}.txt") {
$CURRENT_VENV = "C:\venv\${virtualenv}\${virtualenv}.txt"
} else {
Expand Down

0 comments on commit a8a69c9

Please sign in to comment.