THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/07/2012 at 16:23, xxxxxxxx wrote:
I will try to explain all the steps I'm doing.
I have an ObjectData plugin, with the .pyp extension that is working.
I dissected the RoundedTube file from the SDK and made my plugin from it (with a unique ID, of course).
I tried compiling it from the Terminal (I'm on a Mac) with:
cd /Applications/MAXON/CINEMA\ 4D\ R13/resource/modules/python/res/Python.osx.framework
python -m compileall /Applications/MAXON/CINEMA\ 4D\ R13/plugins/Actor
...and I get:
Listing /Applications/MAXON/CINEMA 4D R13/plugins/Actor ...
Listing /Applications/MAXON/CINEMA 4D R13/plugins/Actor/res ...
Listing /Applications/MAXON/CINEMA 4D R13/plugins/Actor/res/description ...
Listing /Applications/MAXON/CINEMA 4D R13/plugins/Actor/res/strings_us ...
Listing /Applications/MAXON/CINEMA 4D R13/plugins/Actor/res/strings_us/description ...
But no Actor.pyc file is produced.
If I change the extension of the original plugin to .py and perform the same steps to compile it, I do get a .pyc file.
But using that .pyc file doesn't load the plugin.
So, how can I compile a python plugin properly?