X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=devscripts%2Frelease;h=c6bc18a727da917e2a1f55fa4b4b3be86b4d2831;hb=fc4c763f8e897e8b1925424fc28f58226417093a;hp=eb89faa6b653eb87c0c96751ed5a4abf084a7da9;hpb=e2492fb8662ae2e21162d4c087b41fea93cc2b17;p=ppu.git diff --git a/devscripts/release b/devscripts/release index eb89faa..c6bc18a 100755 --- a/devscripts/release +++ b/devscripts/release @@ -6,13 +6,13 @@ chmod -R a+rX . && set-commit-date.py && python setup.py build_py && -python setup.py build && +python setup.py build --executable '/usr/bin/env python' && python setup.py sdist && -for py in 2.6 2.7 3.4 3.5 3.6; do +for py in 2.7 3.3 3.4 3.5 3.6 3.7; do find build -name '*.py[co]' -delete && python$py setup.py build_py && - python$py setup.py build && + python$py setup.py build --executable '/usr/bin/env python' && python$py -m compileall build && python$py -O -m compileall build && python$py setup.py bdist_egg || exit 1 @@ -21,8 +21,5 @@ done find build -name '*.py[co]' -delete && python setup.py bdist_wheel --universal && -version=`python setup.py --version` -twine register dist/ppu-"$version".tar.gz && -twine upload --sign dist/* && - +twine upload dist/* && exec rm -rf build dist ppu.egg-info