[Distutils] generating pyc and pyo files

Andrew Dalke dalke@bioreason.com
Mon, 29 Mar 1999 22:54:29 -0800


Michael P. Reilly <arcege@shore.net> said:
> I disagree.  I see no reason to double the size of the
> distribution by shipping redundent files (on average, a .pyc
> is 78.786% of a .py, based on the Python 1.5.1 distribution;
> .pyo is 88.148%).

I believe you misread the intention.  Only the .py files
will be shipped.  Once downloaded they are unpacked into the
"build" directory.  The .pyo and .pyc files are generated
in the build directory on the local (downloaded) machine.
Once these files are compiled locally, they are installed into
the install directory.


> Permissions and ownerships cannot be handled at build time.

Correct.  And that's why they will be handled during the
install step.

						Andrew
						dalke@bioreason.com