3 cd "`dirname \"$0\"`"/.. &&
8 python setup.py build_py &&
9 python setup.py build --executable '/usr/bin/env python' &&
10 python setup.py sdist &&
12 for py in 2.7 3.3 3.4 3.5 3.6 3.7; do
13 find build -name '*.py[co]' -delete &&
14 python$py setup.py build_py &&
15 python$py setup.py build --executable '/usr/bin/env python' &&
16 python$py -m compileall build &&
17 python$py -O -m compileall build &&
18 python$py setup.py bdist_egg || exit 1
21 find build -name '*.py[co]' -delete &&
22 python setup.py bdist_wheel --universal &&
24 twine upload dist/* &&
25 exec rm -rf build dist ppu.egg-info