Skip to content

Commit fb5a3d8

Browse files
author
Luke Sneeringer
committed
Use Python 3 for package build.
1 parent 77648fa commit fb5a3d8

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.circleci/config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,6 @@ jobs:
136136
- deploy:
137137
name: Update the docs
138138
command: nox -e docs
139-
- deploy:
140-
name: Setup to Push to PyPI
141-
command: |
142-
if [[ -n "$CIRCLE_TAG" ]]; then
143-
pip install --upgrade setuptools twine
144-
fi
145139
- deploy:
146140
name: Push to PyPI (if this is a release tag).
147141
command: test_utils/scripts/circleci/twine_upload.sh

test_utils/scripts/circleci/twine_upload.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ PKG_DIR="$(python ${SCRIPT})"
2929

3030
# Move into the package, build the distribution and upload.
3131
cd ${PKG_DIR}
32-
python setup.py sdist bdist_wheel
32+
python3 setup.py sdist bdist_wheel
33+
34+
pip3 install twine
3335
twine upload dist/*

0 commit comments

Comments
 (0)