diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a386e3a2..ec872e06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,7 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: 3.11 - - name: Install dependencies - run: python -m pip install build - - run: python -m build -o python_dist + - run: pipx run uv tool run --with build[uv] --from build python -m build --installer uv -o python_dist - name: Publish a Python distribution to PyPI if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 2fea596b..f536ca3d 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -11,5 +11,5 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.11' - - run: pip install . + - run: pipx run uv pip install --system . - run: dpgui -h diff --git a/.gitignore b/.gitignore index dffd9a73..d689f5fa 100644 --- a/.gitignore +++ b/.gitignore @@ -192,3 +192,5 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ + +.uv/