diff options
author | Sergey Shepelev <temotor@gmail.com> | 2019-04-23 16:08:55 +0500 |
---|---|---|
committer | Sergey Shepelev <temotor@gmail.com> | 2019-04-24 10:30:27 +0500 |
commit | 1b96297db986773903ea4c41769895f1ae322258 (patch) | |
tree | 42bde5552ac0dfb0f67ea9ab1710a7b7414081b4 /script | |
parent | 51bcdd26291343a9c29cac122048a937d4d93895 (diff) | |
download | httplib2-1b96297db986773903ea4c41769895f1ae322258.tar.gz |
travis: upgrade service jobs python 3.6 -> 3.7 for no good reason; fix indent in script/release
Diffstat (limited to 'script')
-rwxr-xr-x | script/release | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/script/release b/script/release index ce8e2fc..0c1e7ca 100755 --- a/script/release +++ b/script/release @@ -83,19 +83,19 @@ interactive() { confirm "Continue still? [yN] " || exit 1 fi - echo "Building package" >&2 - find . -name '*.pyc' -o -name '*.pyo' -o -name '*.orig' -delete - rm -rf python{2,3}/.cache - rm -rf build dist - # TODO: sdist bdist_wheel - # but wheels don't roll well with our 2/3 split code base - local venv=./venv-release - if [[ ! -d "$venv" ]] ; then - virtualenv $venv - $venv/bin/pip install -U pip setuptools wheel twine - fi - $venv/bin/python setup.py clean --all - $venv/bin/python setup.py sdist + echo "Building package" >&2 + find . -name '*.pyc' -o -name '*.pyo' -o -name '*.orig' -delete + rm -rf python{2,3}/.cache + rm -rf build dist + # TODO: sdist bdist_wheel + # but wheels don't roll well with our 2/3 split code base + local venv=./venv-release + if [[ ! -d "$venv" ]] ; then + virtualenv $venv + $venv/bin/pip install -U pip setuptools wheel twine + fi + $venv/bin/python setup.py clean --all + $venv/bin/python setup.py sdist if confirm "Upload to PyPI? Use in special situation, normally CI (Travis) will upload to PyPI. [yN] " ; then $venv/bin/twine upload dist/* || exit 1 |