Get the repo
git clone https://github.com/krenzelok/addnet.gitChange directory
cd addnetGet the requrd dependencies
For chimera/alpine run
doas apk add uvFor void run
sudo xbps-install -S uvFor any other distos install thru your package manager uv
Make an new enviroment
uv venv compileActivate it
source ./compile/bin/activateInstall pyinstaller (dont worry it just installs into the new enviroment)
uv pip install pyinstallerTo compile it run
pyinstaller --onefile ./addnet.pyExit the Env
exitinstall (You need to run this as root)
sudo install -Dm755 ./dist/addnet "${PREFIX:-/usr/local}/bin/addnet"