On Mon, Feb 03, 2014 at 11:21:17AM +0900, Norbert Preining wrote: > On So, 02 Feb 2014, Julian Gilbey wrote: > > That way, pythontex will use Python 2.7 and pythontex3 will use Python > > 3.x. > > And we should recommend/depend/suggest both python2 and python3, > or is there a different way?
I would think that anyone actively trying to use pythontex3 would be knowingly using python3 and hence having python3 installed. The devscripts package is a good example of such a thing (lots of Suggests and explanation in the package description and README). Alternatively, if one wanted to be extra-careful, the /usr/bin/pythontex3 script could, instead of a symlink, be the following (untested): #!/bin/sh if which python3 >/dev/null 2>&1 then exec /usr/share/texlive/texmf-dist/scripts/pythontex3.py "$@" else echo "You need to have python3 installed to be able to use" >&2 echo "the Python 3 version of pythontex!" >&2 echo "Exiting." >&2 fi Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org