cd /home/tc git clone https://github.com/borntyping/python-colorlog cd python-colorlog python3.6 setup.py build sudo python3.6 setup.py install --root=/tmp/python-colorlog cd /tmp/python-colorlog for i in $(sudo find . -not -type d | grep "__pycache__") do rm -rf "$i" done cd /tmp sudo mksquashfs python-colorlog python3.6-colorlog.tcz