SamAuthenticator/pip-build.sh

16 lines
235 B
Bash
Raw Permalink Normal View History

2018-03-28 21:44:03 +00:00
#!/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