Skip to content

Commit

Permalink
fixes: build toml fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsneto committed Apr 3, 2023
1 parent 157bb0a commit b78f685
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Upload Python Package

on:
release:
types: [created]
types: [created, edited]

jobs:
deploy:
Expand All @@ -23,5 +23,5 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
python -m build --no-isolation
twine upload dist/*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = {file = ["requirements.txt"]}
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ tensorflow
numpy
calango~=2.2.6
mediapipe
opencv-python~=4.7.0.72
setuptools>=61.0
opencv-python~=4.7.0.72

0 comments on commit b78f685

Please sign in to comment.