X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=devscripts%2Frelease;h=b02e47042932a07410dd37c154322554a88e7965;hb=d1205f46545a684d17e9e59cb73f223f811fd86e;hp=eb89faa6b653eb87c0c96751ed5a4abf084a7da9;hpb=e2492fb8662ae2e21162d4c087b41fea93cc2b17;p=ppu.git diff --git a/devscripts/release b/devscripts/release index eb89faa..b02e470 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; 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