Originally Posted by pilotbob
Sounds like a function that should be in calibre so it would be callable from a plugin.
The problem is that the concept of "installation directory" is not well defined for a python program. Indeed, only the windows version could be said to have an "installation directory". Also plugins really shouldn't need to know where calibre is installed.