Package: pychecker Version: 0.8.17-2 Severity: wishlist Tags: patch
It would be nice if it were possible to select the python version used by the default /usr/bin/pychecker script. Even better would be if this method were compatible with the one used by the old pychecker package: the $PYTHONVER variable. This patch implements both: --- pychecker.orig 2006-08-23 11:39:11.000000000 -0400 +++ pychecker 2006-08-23 11:40:44.000000000 -0400 @@ -15,7 +15,7 @@ # than the default should copy this script and then change $PYTHON, immediately # below. This will only work for versions of Python supported by python-support. -PYTHON="/usr/bin/python" +PYTHON="/usr/bin/python$PYTHONVER" CHECKER_PATH=`${PYTHON} -c "from imp import find_module; print find_module('pychecker/checker')[1]"` if [ ! -n "${CHECKER_PATH}" ]; then -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.7-skas3-v9-pre9 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages pychecker depends on: ii python 2.4.3-11 An interactive high-level object-o ii python-support 0.4.1 automated rebuilding support for p pychecker recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]