you can easily decompile pyc into py files http://stackoverflow.com/questions/5287253/is-it-possible-to-decompile-a-compiled-pyc-file-into-a-py-file so it doesn't protect your source code.
On Tue, Aug 12, 2014 at 2:55 PM, Stodge <[email protected]> wrote: > As explained in https://code.djangoproject.com/ticket/14952, Django doesn't > support custom management commands that are only provided as .pyc files. I > have a requirement with my project that I cannot distribute the .py files - > only the .pyc. It's a roundabout way of not providing the source code when > we install our software on a client's server. Is the only recommended way > around this to hack django/core/management/init.py? Is it acceptable to > monkey patch the file instead? I don't want to hack the Django source as it > will break when I upgrade Django in the future. Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/6b8f36ee-3419-4af7-a46c-43236b8620b0%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Best Regards, Christian Ledermann London - UK Mobile : +44 7474997517 <*)))>{ If you save the living environment, the biodiversity that we have left, you will also automatically save the physical environment, too. But If you only save the physical environment, you will ultimately lose both. 1) Don’t drive species to extinction 2) Don’t destroy a habitat that species rely on. 3) Don’t change the climate in ways that will result in the above. }<(((*> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABCjzWrK%2BXWnsxUF5Se3keZ-y6k720zaJt4ipAxAS01bx5YZxA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

