File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,20 @@ class macOSPythonBuilder : NixPythonBuilder {
31
31
. SYNOPSIS
32
32
Prepare system environment by installing dependencies and required packages.
33
33
#>
34
-
34
+ if ( $this .Version -eq " 3.7.17 " ) {
35
35
# Ensure Homebrew is installed (in case it's not already available)
36
36
if (-not (Test-Path " /usr/local/bin/brew" )) {
37
37
Write-Host " Homebrew not found. Installing Homebrew..."
38
38
Invoke-Expression - Command " /bin/bash -c \" $ (curl - fsSL https:// raw.githubusercontent.com / Homebrew/ install/ HEAD/ install.sh)\" "
39
+ # Once Homebrew is installed, install the dependencies
40
+ Write-Host " Installing dependencies: bzip2, readline, ncurses..."
41
+ Execute- Command - Command " brew install bzip2 readline ncurses"
42
+
39
43
} else {
40
44
Write-Host " Homebrew is already installed."
41
45
}
42
46
}
47
+ }
43
48
44
49
[void ] Configure() {
45
50
<#
You can’t perform that action at this time.
0 commit comments