[Distutils] Erasing *.py after install

Michael Hudson mwh@python.net
Mon Jul 8 09:34:01 2002


Jack Jansen <Jack.Jansen@cwi.nl> writes:

> 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...

It's arguably false security to think that sufficiently determined
people won't be able to get at your .pys if you distribute only your
.pycs...

Cheers,
M.

-- 
  Strangely enough  I saw just such a beast at  the grocery store
  last night. Starbucks sells Javachip. (It's ice cream, but that
  shouldn't be an obstacle for the Java marketing people.)
                                         -- Jeremy Hylton, 29 Apr 1997