/usr/bin/ipython2.7 is in ipython 1.2.1-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 8 9 10 11 12 | #! /bin/sh
# determine desired Python version from filename
VERSION="${0##*ipython}"
if [ ! -f /usr/bin/python$VERSION ]
then
echo "Please install the python$VERSION package." >&2
exit 1
else
exec python$VERSION -c "import sys; sys.argv[0] = '/usr/bin/ipython$VERSION'; from IPython.frontend.terminal.ipapp import launch_new_instance; launch_new_instance()" $@
fi
|