Hi Kay (2011.11.12_23:01:43_+0200) > More or less stolen from "/usr/bin/hg" which does something similar. > I have hooked distutils to modify the scripts and replace @LIBDIR@ > for the binary distributions.
I disabled that in mercurial in Debian. It caused a rather nasty bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620087 first noticed in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mercurial/+bug/745250 The way we handle multiple python versions in Debian allows for .so and .py files to differ between python versions (although .py files differing is ugly and should be avoided). However, we cannot deal with differences like that in scripts in /usr/bin. There's only one of those, shared between all the python versions, so if you put things in it that depend on a particular python version, things get ugly. SR -- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111112211630.gi9...@bach.rivera.co.za