Request: Seamlessly run via pkexec from a ~/.local install
For the most part, installing with pip install .
works to make a local install. However the relevant scripts requiring pkexec do run into trouble if I try to run them (e.g. pkexec sysext-add ...
), due to ~/.local/share/python.../site-packages
not being in the root users's python lookup paths.
Until #1 takes more shape, it would be nice if these scripts did not require environment hints when run as root from a non-system install. I locally got by bolting sys.path.append()
to these executables, but there's probably better methods.