Early W.I.P to replace the old rezgui module of rez as a package. This fork is updated to the latest Qt.py
git clone https://github.com/melMass/rez-gui.git
cd rez-gui
rez build --install --clean
rez env gui -- gui
This is a very quick fix for now, the functions I needed from the original module are working (inspecting contexts and variants). Please do not hesitate to make PRs if you are fixing other parts of rezgui, Issues are welcomed as well.