mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
CI: Fix python installations on macOS
This commit is contained in:
parent
56fac2d632
commit
72187174d2
1 changed files with 5 additions and 8 deletions
|
@ -8,12 +8,9 @@ set -x
|
|||
brew update
|
||||
brew upgrade cmake
|
||||
brew install openssl@3 swig bison flex ccache libmaxminddb
|
||||
python3 -m pip install --user websockets
|
||||
|
||||
# Brew doesn't create the /opt/homebrew/opt/openssl symlink if you install
|
||||
# openssl@1.1, only with 3.0. Create the symlink if it doesn't exist.
|
||||
#if [ ! -e /opt/homebrew/opt/openssl ]; then
|
||||
# if [ -d /opt/homebrew/opt/openssl@1.1 ]; then
|
||||
# ln -s /opt/homebrew/opt/openssl@1.1 /opt/homebrew/opt/openssl
|
||||
# fi
|
||||
#fi
|
||||
if [ $(sw_vers -productVersion | cut -d '.' -f 1) -lt 14 ]; then
|
||||
python3 -m pip install --upgrade pip
|
||||
fi
|
||||
|
||||
python3 -m pip install --user --break-system-packages websockets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue