On Tue, Jan 02, 2007, Pierre Habouzit wrote:
> or do that "the clean way": edit /usr/share/python/debian_defaults
This is slightly better indeed. My personal taste wouldn't allow me to
edit a file under /usr, but I suppose a diversion would achieve a
similar job.
It would be nice to override this with /etc/python/debian_config.
> Not sure what has to be done though to force the byte compilation and
> links creation for the pure modules, and that won't compile binary
> extention either anyway (but maybe pygtk already forces it I don't know
> I shall say, I've not checked).
The python postinst has it:
for hook in /usr/share/python/runtime.d/*.rtupdate; do
[ -x $hook ] || continue
if ! $hook rtupdate python$oldv python2.4; then
hb=$(basename $hook .rtupdate)
echo >&2 "error running python rtupdate hook $hb"
errors=yes
fi
done
(There are also pre- and post-rtupdate hooks, but these are mostly
useful when the default runtime changes.)
--
Loïc Minier <[EMAIL PROTECTED]>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]