From 1925c604e7c332e1f4bd6e65acdd36e2d3e2c537 Mon Sep 17 00:00:00 2001 From: Matthias Wittgen Date: Fri, 3 Jan 2025 19:55:27 -0800 Subject: [PATCH] Don't use system python env --- .github/workflows/build.yaml | 6 ++---- setup.py | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6edf24a..0f6ea20 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,12 +32,10 @@ jobs: - name: Build and install run: | python -m pip install --upgrade pip setuptools uv - uv venv - uv pip install pytest - uv pip install .[yaml,test] + uv pip install --system .[yaml,test] - name: Run tests - run: uv run pytest -r a -v + run: pytest -r a -v pypi_sdist_build: runs-on: ubuntu-latest diff --git a/setup.py b/setup.py index 689ba5c..d0572b1 100644 --- a/setup.py +++ b/setup.py @@ -13,4 +13,5 @@ setup( cmake_source_dir=".", + cmake_install_dir=".", )