From 63527d74898ccb87662bb4306ad424d16717827c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katharina=20Dr=C3=B6ge?= Date: Wed, 8 Apr 2026 21:57:11 +0200 Subject: [PATCH] A few tweaks that should make it even faster --- .github/workflows/python.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 9d13b86..7bd4785 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -16,6 +16,8 @@ jobs: 'macos-15-intel', 'macos-15' ] fail-fast: false + env: + UV_SYSTEM_PYTHON: 1 steps: - uses: actions/checkout@v6 @@ -30,10 +32,10 @@ jobs: enable-cache: true - name: Dependencies - run: uv sync + run: uv sync --no-install-local - name: Optional dependencies (WebView) - run: uv sync --extra webview + run: uv sync --extra webview --no-install-local if: runner.os != 'macOS' - name: Build tools @@ -84,14 +86,14 @@ jobs: - run: mkdir -p build dist - name: Dependencies - run: uv export --format requirements.txt | uv pip install --requirement - --target build + run: uv export --format requirements.txt --no-install-local | uv pip install --requirement - --target build + + - run: cp zipapp_main.py build/__main__.py - run: | uv build uv pip install dist/legendary_gl-*.tar.gz --target build - - run: cp zipapp_main.py build/__main__.py - - name: Build run: python -m zipapp --output dist/legendary