Re: RFC: python-base, debconf and py/pyc files
Gregor Hoffleit (2001-03-23 21:39:07 +0100) : > currently, our Python packages mostly ship .py files and compile > them into .pyc files at run time in order to save space in the debs. The Python situation sounds remarkably like the Emacs one, don't you think? We have several (okay, two) flavours, and the modules provide source that can be byte-compiled at install-time. Maybe we could reuse the Emacs way? Ask Joey to add a dh_python, write up a /usr/lib/pythonen-common/python-install, and byte-compile at install-time for all the present flavours? Just an idea, of course. Roland. -- Roland Mas Chaos always defeats order, because it is better organized. -- Ly Tin Wheedle, in Interesting Times (Terry Pratchett)
Re: RFC: python-base, debconf and py/pyc files
Roland Mas <[EMAIL PROTECTED]> writes: > Maybe we could reuse the Emacs way? Ask Joey to add a dh_python, > write up a /usr/lib/pythonen-common/python-install, and byte-compile > at install-time for all the present flavours? > > Just an idea, of course. We have already talked about using the emacs way in previous threads. However, it seems that some modules are not compatible with all interpreters, so some of them can not be recompiled like this. Moreover, they may contain .so files. -- Jérôme Marant <[EMAIL PROTECTED]> --- Debian Activity Page: http://jerome.marant.free.fr/debian ---
Re: RFC: python-base, debconf and py/pyc files
Gregor Hoffleit <[EMAIL PROTECTED]> writes: > Hi, > > currently, our Python packages mostly ship .py files and compile them into > .pyc files at run time in order to save space in the debs. The way you do it currently is fine. If people don't want pyc, they can freely delete them. I don't think this is a good idea not to ship .py files since we can consider them as executables (like binaries) and pyc are just optimized binaries. The only change you may do is to ask for pyc generation at install time. Cheers, -- Jérôme Marant <[EMAIL PROTECTED]> --- Debian Activity Page: http://jerome.marant.free.fr/debian ---