General Comment:
This can't be right.
vmpath is not necessarily the python vm. It could also be wine or say java.
For more information:
http://code.google.com/p/pychess/source/detail?r=692ba9ceecb8b1ca75bb5d1c83ec31454f919042
General Comment:
I don't think one will use wine to run an engine on win32 :)
But you are right, I forgot abou java. Will try a better fix for win32.
General Comment:
Right, so what we want to do is to go from a binname e.g. "python" to a
path e.g. "C:\\Programs\python". There must be a way to do that on Windows?
I know they have a PATH variable.
General Comment:
Added which.py to hg from http://bugs.python.org/issue444582. Seems there
will be shutil.which in Python one day.