python skelly cumulation of common and novel methods to distribute so called installable python packages.
{
# change to your names
buildname="build"
execName="exe.this"
# work in temp directory
cd /tmp/
# Downloade skelly
git clone https://github.com/Tearran/python_skelly.git
# place all include files in this directory
cd ./python_skelly/src/
# edit __main__.py
# compress to a zip
zip -r ../$buildname.zip *
cd ..
# set the interprater / program loader
echo '#!/usr/bin/env python' | cat - $buildname.zip > $execName
# make file executible
chmod +x $execName
# Uncomment to install
# sudo cp $execName /user/bin/
}
referances :