#!/bin/sh #For compiling pyquery in python 3.6 tce-load -i compiletc python3.6-lxml python3.6-cssselect git clone https://github.com/gawel/pyquery/ cd pyquery python3.6 setup.py build sudo python3.6 setup.py install --root=/tmp/pyquery cd /tmp/pyquery sudo find . -not -type 'd' | sed '/pattern to match/d' | tee /tmp/tempfile for i in $(cat /tmp/tempfile) do mkdir /tmp/python3.6-pyquery cp "$i" /tmp/python3.6-pyquery done sudo mksquashfs python3.6-pyquery/ python3.6-pyquery.tcz