#!/bin/bash

if which python3 > /dev/null; then
  py=python3
else
  py=python
fi

$py setup.py sdist bdist_wheel
for file in dist/*; do
  twine upload $file
done
