[Distutils] Erasing *.py after install

Jack Jansen Jack.Jansen@cwi.nl
Mon Jul 8 09:25:30 2002


On Monday, July 8, 2002, at 02:52 , Ville Vainio wrote:

> Occasionally there is a need to delete the *.py files (but leave *.pyc 
> and *.pyo) after installation, in order to protect some proprietary 
> stuff (not just embarrassing hacks ;-). It would be quite nice to have 
> this option in distutils. Or is it there already?

If you want this shouldn't you just distribute the .pyc or .pyo files? 
It's false security to think that people won't be able to get at your 
sources if the .py files are part of the distribution...
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -