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