/usr/share/python/runtime.d/python-pytest.rtinstall is in python-pytest 2.2.4-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #!/bin/sh
set -e
PYVERSION="${2##*python}"
if [ ! -e "/usr/bin/py.test-$PYVERSION" ]; then
cp /usr/bin/py.test /usr/bin/py.test-$PYVERSION
sed -i "s,#!/usr/bin/python,#!/usr/bin/$2," /usr/bin/py.test-$PYVERSION
fi
|