Is it possible to stop Django from creating .pyc files, whilst in development?

Is it possible to stop Django from creating the .pyc files? I know it's Python that creates them when modules are imported, but is there some way of turning them off?

Totally understand why they're created, etc, and will want them when I go live, but currently they just clutter up the directory and it bothers me - so please, no "you shouldn't want to turn them off". I also know how I could stop them appearing, etc, etc. I really just want to know how I can stop them being created.

Oh and I'm on Linux, of course.

Thanks.

12
задан 15 May 2011 в 13:31
поделиться