#!/usr/local/bin/xonsh try: pip install wheel twine python setup.py sdist bdist_wheel twine upload dist/* finally: rm -rf dist/ build/