Skip to content

Commit

Permalink
unify list of packaging dependencies
Browse files Browse the repository at this point in the history
Make the tox pkglint job and the github action for publishing packages
use the same source for the list of dependencies.
  • Loading branch information
dhellmann committed Nov 24, 2023
1 parent 595ead8 commit 996f692
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine pbr
pip install .[build]
- name: Build sdist and wheel
run: |
python -m build
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ test = [
"pytest",
"beautifulsoup4",
]
build = [
"build",
"twine",
]

[tools.setuptools]
packages = [
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ commands=

[testenv:pkglint]
deps=
build
twine
.[build]
check-python-versions
commands=
python -m build
Expand Down

0 comments on commit 996f692

Please sign in to comment.