Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

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

$
0
0

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.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles