QUOTE(dauzer @ 08/04/08, 12:26 AM) [snapback]289247[/snapback]
is it a C++ API only thing?
C++ api thing only, yes.
Furtermore giving a person just the pyc file should be enough (nd you can jsut put all code in one file). However please understand that it is quit trivial to uncompile a pyc tp a py file back. It even includes most fo the comments.
(also since its maya plug in is t relatively easy to listen to all the calls between you and maya, by making some decorators for all maya api and mel calls.)
Porting python files to C++ should be quite trivial tough. After all all the logic work si done, rest is just pure work with no real thinking involved.
It is in fact quite impossible to spread python without somebody else seeing what exactly you have done. In fact its is kind of impossible to do this anyway (C++ makes it hard but not impossibly hard) only the law protects you here. I mean even if you'd send a compiled ml i could reconstruct it back if i really really needed to. So all that really ever protects your data is the license under wich you transport it.
So if you deem that the ability for users to send in fix suggestions is a good thing you get legally to same point by spreading the entire code too. + i works for a larger audience than the pyc files. If there's anything worth swiping off somebody will do it anyway because at the end of the day the end result is visible.