Python Plugin .macrhi question

I have a very basic python plugin that, when installed, adds a command to rhino. By following the instructions here I was able to get the plugin working. I would now like to package said plugin into a .macrhi file. That’s where I’m getting tripped up. When I zip the dev folder into an rhp the commands are no longer recognized by rhino. Creating a .macrhi file as detailed here doesn’t work either.

As I understand it the structure of the .rhp file should be

TestPlugin.rhp
      --__plugin__.py
      --testPlugin_cmd.py

and the structure of a .macrhi should be

TestPlugin.macrhi
      --TestPlugin.rhp
           --__plugin__.py
           --testPlugin_cmd.py

What am I missing?

testPlugin.rhp (716 Bytes)