I see that Thonny 4 stores its plug-ins in a separate directory, isolating them from the scripts the user may write and run. So, In Thonny 4, you have --
a packages directory:
/home/<user>/.local/lib/python3.10/site-packages
and a plug-ins directory:
/home/<user>/.config/Thonny/plugins/lib/python3.10/site-packages
In Thonny 3, these are the same location (/home/<user>/.local/lib/python3.9/site-packages)
The problem is that I've developed a plug-in (thonny-py5mode) with packages (dependencies) that I also require for running scripts in the editor. I suppose I could install the plug-in twice -- using "Manage packages" and "Manage plug-ins", but that's redundant and makes installing the plug-in a clumsy, two-step process.
Any suggestions on how to resolve this?
Thanks. T