Skip to content

Commit

Permalink
fix: deploy to Pypi in Circle
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Aug 15, 2022
1 parent c0e93a5 commit d7e02d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -713,13 +713,15 @@ jobs:
- run:
name: Start virtual environment
command: |
sudo python -m pip install -U build "setuptools >= 45" wheel "setuptools_scm >= 6.2" \
setuptools_scm_git_archive pip twine docutils
python -m venv /tmp/venv
source /tmp/venv/bin/activate
python -m pip install -U build "setuptools >= 45" wheel "setuptools_scm >= 6.2" \
setuptools_scm_git_archive pip twine docutils
- run:
name: Deploy to PyPi
command: |
source /tmp/venv/bin/activate
# Set version on stone before editing the bundle
export SETUPTOOLS_SCM_PRETEND_VERSION=$( python -m setuptools_scm )
Expand Down

0 comments on commit d7e02d6

Please sign in to comment.