Newbie needs to be set straight again ...

David Bolen db3l at fitlinxx.com
Tue Jan 22 16:29:49 EST 2002


Jyrinx <jyrinxat at mindspringdot.com> writes:

> Anyway, as you can see, I'm speculating quite a bit; I'm sure I'm dead
> wrong in some subset of the real world. Who wants to play Educate The
> Confused, Wayward Newbie? :-)

Well, in my own subset of the real world, I do get asked by some folks
here about how our external Python projects would get distributed and
the ramifications for the source.  But so far (our target environment
is Windows), I've been quite comfortable with how a fully packaged
installation (we use Gordon McMillan's Installer, but py2exe is
similar) turns out.  All of your Python code is packaged into the
executable (and all but the main script is in a compressed archive
format made up of only pyc files).  While certainly not a major effort
to decompose by someone experienced in Python (and using the Installer
package classes), it tends to be more than enough to cover basic
concerns.  And while decompiling a pyc file does yield workable
source, it's not quite the same as having original source.

I'm not quite sure how I'd fight the battle if the question was one of
really just directly distributing .py files (I know my view personally
is fine with it, but talking from a corporate perspective now), but I
don't see the need when you have reasonable packaging tools.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list