Skip to content

Commit

Permalink
move build and twine to be dev deps rather than workflow installs (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Feb 25, 2022
1 parent 7f3b61d commit 43138bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/upload-pypi-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
- name: Build source distribution
run: |
pip install build
python -m build --sdist --outdir dist .
- name: Upload artifacts
Expand All @@ -71,9 +70,6 @@ jobs:
name: dist
path: ./dist

- name: Install twine
run: pip install twine

- name: Publish distribution to Test PyPI
if: steps.check_secrets.outputs.HAS_SECRET
env:
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@
]

dev_dependencies = [
"build",
"pre-commit",
"pytest",
"pytest-asyncio",
"pytest-monitor; sys_platform == 'linux'",
"pytest-xdist",
"twine",
"isort",
"flake8",
"mypy",
Expand Down

0 comments on commit 43138bc

Please sign in to comment.