THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/07/2012 at 06:41, xxxxxxxx wrote:
I have just finished my first Python plugin and am about to hand it out to the public.
When I started writing it I was closely following this fantastic tutorial on smart-page.net. He suggests a modular approach where every major bit of the code sits in it's own .py file.
The problem I'm having now, is that when I encrypt my .pyp file into a .pype all the other .py files still remain readable. I was hoping that in the end I'd get a single .pype file that includes all the imports. I know I could compile the .py files to .pyc but I'd like my release of the plugin to be a simple .pype + res folder affair (You know, keep it compact :)).
Is my only chance to go the extra mile and copy paste all my files into one (plus fixing the sourcecode) or am I missing something?