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

Re: question on packaging of python applications



> BTW, what's the reason of making packages containing .py files?  Is not
> it
> better to include only .pyo and .pyc files?  And for those who really
> need
> sources there those source packages?

A good reason (mentioned in a previous thread) is that there are some
incompatibilities between bytecodes of the different Python releases.
So, .py scripts can be used with any Python releases without any problem.
(.py files can then be compiled at postinst time).

Cheers,



Reply to: