This repository contains any precompiled wheels that my Banana Pi R2 router has compiled in a separate compilation environment. These wheels are used for projects:
apt update
apt install -y --no-install-recommends python3-pip python3-venv
Get the precompiled wheels for mitmproxy:
git clone https://github.com/xptsp/python3.9-wheels /tmp/wheels
Create mitmproxy user:
useradd -m -G users -b /opt -s /usr/sbin/nologin mitmproxy
Change user to "mitmproxy":
sudo -u mitmproxy -s
Create and activate virtual environment:
python3 -m venv /opt/mitmproxy/venv
source /opt/mitmproxy/venv/bin/activate
Install the precompiled wheels:
python3 -m pip install --no-index --find-links=/tmp/wheels mitmproxy
Install other packages:
apt install -y git iw dnsmasq rfkill hostapd screen curl mosquitto haveged net-tools libssl-dev python3-dev
Install the precompiled wheels:
python3 -m pip install --no-index --find-links=/tmp/wheels --upgrade paho-mqtt tornado sslpsk pycryptodomex