X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=devscripts%2Frelease;h=61d71b2a6024a795dfb186d257db27cea7d3f010;hb=d212b3e1a9bdcff834f2880040b5963a5da109a1;hp=eb89faa6b653eb87c0c96751ed5a4abf084a7da9;hpb=e2492fb8662ae2e21162d4c087b41fea93cc2b17;p=ppu.git diff --git a/devscripts/release b/devscripts/release index eb89faa..61d71b2 100755 --- a/devscripts/release +++ b/devscripts/release @@ -6,23 +6,11 @@ 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 - find build -name '*.py[co]' -delete && - python$py setup.py build_py && - python$py setup.py build && - python$py -m compileall build && - python$py -O -m compileall build && - python$py setup.py bdist_egg || exit 1 -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 --disable-progress-bar --skip-existing dist/* && exec rm -rf build dist ppu.egg-info