python setup.py build &&
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/m_lib.defenc-"$version".tar.gz &&
-twine upload --sign dist/* &&
-
+twine upload --skip-existing dist/* &&
exec rm -rf build dist m_lib.defenc.egg-info