Skip to content

Commit e1fcef5

Browse files
author
Kasper Peeters
committed
Virtual envs are the root of all evil; part 2.
1 parent f715d75 commit e1fcef5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/macos.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
- name: get dependencies
2727
run: |
28-
brew install cmake ninja boost pcre gmp python \
28+
brew install cmake ninja boost pcre gmp python python@3.13 \
2929
pkgconfig gtkmm3 adwaita-icon-theme \
3030
catch2 tbb
31-
python3 -m venv .venv
31+
python3.13 -m venv .venv
3232
source .venv/bin/activate
3333
CFLAGS="-I/opt/homebrew/include" \
3434
LDFLAGS="-L/opt/homebrew/lib" \
@@ -40,6 +40,8 @@ jobs:
4040
mkdir build && cd build && cmake -G Ninja -DENABLE_MATHEMATICA=OFF \
4141
-DPython_ROOT_DIR="$VIRTUAL_ENV" \
4242
-DPython_FIND_VIRTUALENV=ONLY \
43+
-DPython_CDB_EXECUTABLE=${VIRTUAL_ENV}/bin/python3.13 \
44+
-DPYTHON_SITE_PATH=${VIRTUAL_ENV}/lib/python3.13/site-packages/
4345
..
4446
4547
- name: build

0 commit comments

Comments
 (0)