Skip to content

Commit

Permalink
Merge pull request googleapis#3258 from lukesneeringer/python3-setupt…
Browse files Browse the repository at this point in the history
…ools

Use Python 3 for package build.
  • Loading branch information
dhermes committed Mar 31, 2017
2 parents 77648fa + fb5a3d8 commit 8c354a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ jobs:
- deploy:
name: Update the docs
command: nox -e docs
- deploy:
name: Setup to Push to PyPI
command: |
if [[ -n "$CIRCLE_TAG" ]]; then
pip install --upgrade setuptools twine
fi
- deploy:
name: Push to PyPI (if this is a release tag).
command: test_utils/scripts/circleci/twine_upload.sh
Expand Down
4 changes: 3 additions & 1 deletion test_utils/scripts/circleci/twine_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ PKG_DIR="$(python ${SCRIPT})"

# Move into the package, build the distribution and upload.
cd ${PKG_DIR}
python setup.py sdist bdist_wheel
python3 setup.py sdist bdist_wheel

pip3 install twine
twine upload dist/*

0 comments on commit 8c354a1

Please sign in to comment.