Skip to content

Commit

Permalink
install poetry for wheels-version.sh and deploy-pypi.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ajslater committed Dec 21, 2021
1 parent 1d1e1b7 commit f889ffc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- ./Dockerfile
- ./README.md
- ./build-codex.sh
- ./build-install-poetry.sh
- ./build-wheels.sh
- ./deploy-pypi.sh
- ./dist
Expand All @@ -53,6 +54,10 @@ jobs:
steps:
- attach_workspace:
at: .
command:
- run:
command: ./build-install-poetry.sh
name: Install poetry
- run:
command: ./docker/docker-login.sh
name: Login to Docker Hub
Expand All @@ -71,6 +76,9 @@ jobs:
steps:
- attach_workspace:
at: .
- run:
command: ./build-install-poetry.sh
name: Install poetry
- run:
command: ./docker/docker-login.sh
name: Login to Docker Hub
Expand Down
5 changes: 5 additions & 0 deletions build-install-poetry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# install poetry, for wheels-version.sh & deploy-pypi.sh
set -euo pipefail
pip3 install -U pip
pip3 install -U poetry
2 changes: 0 additions & 2 deletions deploy-pypi.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash
set -euo pipefail
pip3 install -U pip
pip3 install -U poetry
poetry publish -u "$PYPI_USER" -p "$PYPI_PASS"

0 comments on commit f889ffc

Please sign in to comment.