4 abspath=$(which abspath)
5 if [ "$abspath" = "" ]; then
11 distname=$(basename $parent)
15 . $parent/dist.version
17 [ -d "$build" ] && echo "Removing $build" && rm -rf "$build"
19 scripts=$build/$distname/$version
22 cp $parent/src/* $scripts/
23 chmod +x $scripts/*.py
26 tar zcf $distname-$version.tar.gz $distname