On 2007-11-14 09:33:03 -0500, JP Rosevear wrote:
On Wed, 2007-11-14 at 15:08 +0100, Johannes Meixner wrote:
Hello,
what is the recommended way for packaging Python stuff?
Either have byte-compiled Python .pyc and .pyo files packaged into the RPM or let this be done by the currently actually installed Python system during run-time on the end-user's computer and not by whatever (perhaps different) Python system during package build-time?
This is kind of what I was trying to figure out myself for python-gtkglext. The python automake macros seem to create both at install time, but the files are identical.
as we build with the same python version as the user will run it later. you can safely package the .pyc files. i would even recommend packaging them so they get removed if you uninstall the package. hope this helps darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org