mkDerivation python module for addon util

What I really want is to register the $out/A directory as globalPyton-env/lib/site-packages/A, even if it is mkDerivation, not buildPytonPackage.

I need PythonOCC & IfcOpenShell.

thanks.