Ledger's Python API is known to work best against Python 2.7, then Python 2.6
Ledger's Python API is known to work best against Python 2.7, then Python 2.6

Indeed, at the moment, it doesn't work against Python 3.x at all, so
ideally, we'd like to tell CMake that no Python versions except 2.7 and
2.6 are acceptable.  However, at least as of CMake 2.8.8, there appears to
be no way to instruct CMake to never consider other versions of Python.

In other words, Python_ADDITIONAL_VERSIONS is prepended to the list of
possible Python versions considered, rather than replacing it wholly.

Theoretically, we could try to diddle withe the internal CMake variables
_PYTHON_FIND_OTHER_VERSIONS or _Python_VERSIONS somehow, but that seems
kludgey and dangerous.  This patch is probably "enough for now" to at
least make sure that if the user has both Python 2.x and Python 3.x
installed, some version of 2.x that is known to work will be preferred.

duncanmortimer/ledger,paulbdavis/ledger,ledger/ledger,ledger/ledger,jwakely/ledger,duncanmortimer/ledger,jwakely/ledger,duncanmortimer/ledger,paulbdavis/ledger,jwakely/ledger,duncanmortimer/ledger,afh/ledger,jwakely/ledger,paulbdavis/ledger,afh/ledger,duncanmortimer/ledger,duncanmortimer/ledger,paulbdavis/ledger,paulbdavis/ledger,jwakely/ledger,ledger/ledger,paulbdavis/ledger,ledger/ledger,jwakely/ledger,afh/ledger,jwakely/ledger,afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,ledger/ledger,afh/ledger