post_install() {
echo "Installing dependencies for python-pillow through pip..."
LD_PRELOAD='' LDFLAGS="-lpython3.13" MATHLIB="m" "/data/data/com.termux/files/usr/bin/pip3" install   pillow
if [ -f "/data/data/com.termux/files/usr/bin/py3compile" ]; then
LD_PRELOAD='' "/data/data/com.termux/files/usr/bin/py3compile" -p "python-pillow" "/data/data/com.termux/files/usr/lib/python3.13/"
fi
exit 0
}
post_upgrade() {
post_install
}
pre_remove() {
if [ -f "/data/data/com.termux/files/usr/bin/py3clean" ]; then
LD_PRELOAD='' "/data/data/com.termux/files/usr/bin/py3clean" -p "python-pillow"
fi
exit 0
}
