janabeck/Annotald — Issue #14: Finding the right python
Author: aecay
Created: 2012-02-01 05:01:14+00:00
State: open
Labels: shortcoming

On computers with python 3 installed as the default, Annotald (the annotald script at the top level of the repo) gets launched via python 3. At least on OS X, there is not an explicit "python2" symlink to the python 2 binary. So we need to figure out how to run under python 2 only.

One possible way to do this would be to test the python version at the top of the script, and re-exec the script with python2 if it is running under 3.