Skip to content

Commit

Permalink
updated pypi github actions workflow, and updated bash script deploy_…
Browse files Browse the repository at this point in the history
…pypi.sh used by the workflow.
  • Loading branch information
djl11 committed Nov 30, 2021
1 parent d154600 commit 1c5280c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ jobs:

- name: Install Dependencies
run: |
pip3 install --upgrade pip
pip3 install setuptools twine wheel
sudo apt-get install python3-venv
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
- name: Get the version
id: get_version
Expand Down
2 changes: 1 addition & 1 deletion deploy_pypi.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python3 setup.py sdist bdist_wheel
python3 -m build
python3 -m twine upload dist/* -u "__token__" -p "$PYPI_PASSWORD" --verbose
6 changes: 6 additions & 0 deletions project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

0 comments on commit 1c5280c

Please sign in to comment.