diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9e0c7d8..0d357dea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,10 +30,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flit + pip install ".[dev]" - name: Build package - run: flit build + run: python -m build - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index d34c0e35..0afcbcb8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,7 @@ license = {file = "LICENSE"} dev = [ "bandit", "black", + "build", "coverage", "doc8", "flake8-bugbear",