* Benoît Knecht <[email protected]>, 2012-02-21, 13:36:
In the same file, you run compileall unconditionally; I guess it should
only run during configure.
What's wrong with running it unconditionally?
As far as I know, none of the Python helpers in the wild create
maintainer script fragments that'd check the first argument.
You do not honor the settings from /etc/python/debian_config [1].
[1]
http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-byte_compilation
Righto. Implementing byte-compiling is not really straight-forward.
If you do it yourself, there's a great chance you'll do it wrong.
Apart from the issue mentioned by Benoît:
- Modules are not re-byte-compiled when the default Python version
changes.
- postrm doesn't remove anything (unless /bin/sh is a symlink to bash,
which is not the default these days).
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]