On Wed, Jan 09, 2002 at 07:01:15AM -0600, Dirk Eddelbuettel wrote: > On Wed, Jan 09, 2002 at 03:06:52PM +0900, Junichi Uekawa wrote: > > Is byte-compiled python script platform-dependent? > > Is that not correct? Or does an i386 .pyc/.pyo work on other architectures?
.pyc and .pyo files are completely portable. At work we use the same .pyc files on solaris, hpux and nt. So I don't see why python files are in /usr/lib, not /usr/share. python modules should be supplied as source, and byte compiled in the postinst.