Prevent pyc or pyo compiled output

Peter Otten __peter__ at web.de
Fri Jun 25 06:51:42 EDT 2004


Jason Smith wrote:

> Hi.  I have exactly the problem described in PEP 304: I want to tell
> python _not_ to write the .pyc bytecode versions of my modules.  (During
> development it clutters up my directories and 'svn st' output.)
> 
> PEP 304 introduces a method to fix this, but I was wondering if there is
>   some sort of quick and/or dirty workaround for now.

Maybe you can duplicate your package structure with symlinks to the *.py
files. Then you need not care about the *.pyc put there (untested).

Peter




More information about the Python-list mailing list