#!/bin/bash #go to the directory of the script reldir=`dirname $0` cd $reldir directory=`pwd` rm -rf build rm -rf dist python3 setup.py sdist if [ $? -ne 0 ]; then echo 'Python packager source distribution tool failed.' exit fi