From 2d0f3d6bdc28b308be52f239af2aea704c7e9476 Mon Sep 17 00:00:00 2001 From: Christopher Bailey Date: Thu, 15 Sep 2022 14:10:38 -0400 Subject: [PATCH] Fixes pypi release --- .github/workflows/release.yml | 4 ++-- pyproject.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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",