[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question on packaging of python applications



On Thu, 2 Nov 2000, Bastian Kleineidam wrote:

> >I recently created a debian file for my project (see http://subterfugue.org),
> >and discovered just now why including .pyc and .pyo files directly doesn't
> >work optimally.

> Where is the problem? Python bytecode should be platform
> independent! So it is safe to include .pyc and .pyo files. There is no
> need to compile them at configure time.

Well, there might be a problem with Python version. While 99% of all
Python source code will work with Python 1.5.2, 1.6 and 2.0, the bytecode
format has changed, and will probably continue to change when 2.1 comes
along.




Reply to: