Skip to content

Commit

Permalink
Add setup dependency group to pyproject.toml
Browse files Browse the repository at this point in the history
This will allow us to install the dependencies for building the
project in one location for users and the action.
  • Loading branch information
JacobCallahan committed Aug 30, 2023
1 parent c069221 commit 31962f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Setup and Build
run: |
pip install -U pip build
pip install -U pip .[setup]
python -m build
python -m twine check dist/*
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ docker = [
]
podman = ["podman-py"]
beaker = ["beaker-client"]
setup = [
"build",
"twine",
]

[project.scripts]
broker = "broker.commands:cli"
Expand Down

0 comments on commit 31962f8

Please sign in to comment.