Skip to content

Commit 8187934

Browse files
committed
Use virtual env in Python
1 parent 7aeec14 commit 8187934

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/mac/build-dependencies.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ PYTHON_VERSION_LONG=$2
2929
source pkg/mac/common.sh
3030
source build-support/dep-url.sh
3131

32-
pip3 install pyyaml setuptools
32+
python3 -m venv venv
33+
source venv/bin/activate
34+
python3 -m pip install pyyaml setuptools
3335

3436
dep=$ROOT_DIR/build-support/dep-version.py
3537
PYBIND11_VERSION=$($dep pybind11)

0 commit comments

Comments
 (0)