It looks like this issue has been marked as wontfix in https://code.djangoproject.com/ticket/14952
However, I've used the following in manage.py to support running management commands when distributing only .pyc files: https://gist.github.com/cchurch/6067733 On Tue, Jul 23, 2013 at 6:29 PM, Jan Vilhuber <[email protected]> wrote: > In our project, we typically deploy our django app without py's, except > for a few select ones (manage,py for example). I recently added a few > management/commands to a few of the apps in my project, and discovered that > manage.py does not find them, as it looks only for .py files (ignoring > .pyc's; django.core.management.__init__::29 in django 1.4). > > Any reason why this is so? Could commands be discovered by regular python > introspection rather than looking for py files? > > jan > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" 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-developers. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django developers" 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-developers. For more options, visit https://groups.google.com/groups/opt_out.
