From c527bc52df4cc968c47722c16f476f6423e1bb8b Mon Sep 17 00:00:00 2001 From: Charlotte Curtis Date: Tue, 4 Jun 2024 16:47:22 -0600 Subject: [PATCH] Adding a venv --- .github/workflows/create_release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 7becdd0..503607d 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -127,10 +127,14 @@ jobs: uses: actions/checkout@v4 - name: Install Python - run: brew install python@3.11 + run: | + brew install python@3.11 + python3 -m venv venv + source venv/bin/activate - name: Compile translation files and build .app run: | + source venv/bin/activate brew install qpdf pip3 install ".[gui]" python3 pdfstitcher/update_loc.py --compile @@ -138,6 +142,7 @@ jobs: - name: Build with Nuitka run: | + source venv/bin/activate pip3 install nuitka python3 -m nuitka \ --assume-yes-for-downloads \