Skip to content

Commit c01881e

Browse files
committed
Fix macOS build process due to pip3 install failure
1 parent ce674cd commit c01881e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,4 @@ Testing
106106
.test-token.txt
107107
pkg/mac/.build
108108
pkg/mac/.install
109+
pkg/mac/python/

pkg/mac/build-static-library.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
set -ex
2222
cd `dirname $0`
2323

24-
pip3 install pyyaml
24+
python3 -m venv python/venv
25+
source python/venv/bin/activate
26+
python3 -m pip install pyyaml
2527

2628
MACOSX_DEPLOYMENT_TARGET=10.15
2729
if [[ -z ${ARCH} ]]; then

0 commit comments

Comments
 (0)