Plugins built in 8 SR11 don't unpack python libs correctly

The other day I updated to Version 8.11.24254.15001. Until now, I was able to bundle python libraries inside of the plugin project in the ScriptEditor. When a Python 3 command was run, it would unpack the libs into %appdata%\McNeel\Rhinoceros\packages\8.0\<PluginName>\<PluginVersion>\libs\<EnvironmentID>\library. When rebuilding the plugin in the new version, the libs get unpacked to %appdata%\McNeel\Rhinoceros\packages\8.0\<PluginName>\<PluginVersion>\libs\<EnvironmentID>\library\library. This is a problem because when the commands import library, they now have to import library.library as library.

The update also broke publishing if the .rhproj file is missing a “publishTarget” setting. It didn’t use to do this.

@Russell_Newton Thanks for bringing this up. It’s a regression that was fixed in 8.12. Would you mind testing the latest 8.12 Release Candidate?

Plugins built in V8 SR 11 still exhibit the behavior in SRC 12, but plugins built in SRC 12 work as expected in SRC 12. Looks like it’s fixed then.

1 Like

Thanks for testing