[Distutils] Automatic creation of .pyc files]

Thomas Heller thomas.heller@ion-tof.com
Tue Mar 26 04:46:01 2002


> 
> All,
> 
> When packaging a Python module is it possible to stop the automatic
> creation of .pyc on installation?
> 
'setup.py install --no-compile' or
'setup.py bdist_wininst --no-target-compile --no-target-optimize'.

This will, however, affect *all* .py files. There is no way to disable
compilation on a file-by-file basis.

Thomas