Plugin development: were to put additional binaries

Ok, I’ve tried it. Putting the file to “~/local/bin” doesn’t work. I can use the extension manager to add it to the mkp package but it won’t get delivered as part of the agent. The extension manager tags the file as “Binary”.
I’ve also tried to put it to “~/local/share/check_mk/agents/bin” because this would be next to the “plugins” directory that contains the actual agent plugin. In this case the extension manager tags the file as “Agents: bin/” which sounds somewhat better – but it doesn’t get installed either.

I suppose I need to reference the file in “~/local/share/check_mk/agents/bakery/.py”. I had to do this to get the actual plugin file deployed. Unfortunately I couldn’t find any documentation on this file – so I don’t know how to do this.