After some coding, I have moved away from Bash-specific venv stuff.
My current pull request is linked in the other topic. Basically, I replaced .pth files with regular .py files in site-packages. Those then load the source of the editable project only when I ask for them to be imported. It can be adjusted to include in pip.