16 lines
235 B
Bash
Executable File
16 lines
235 B
Bash
Executable File
#!/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
|