Fix 'python' filename under Windows

executable named 'python.exe' whatever major python version (2 or 3)
This commit is contained in:
elderamevans 2015-07-29 11:06:46 +02:00 committed by Jérôme Rapinat
parent a6712e151a
commit c9e23628d7

View File

@ -62,7 +62,7 @@ if sys.platform == 'win32':
msgfmtCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'msgfmt.exe')
msgattribCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'msgattrib.exe')
xgettextCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'xgettext.exe')
pythonCmd = os.path.join(sys.prefix, 'bin', 'python3.exe')
pythonCmd = os.path.join(sys.prefix, 'bin', 'python.exe')
# Others OS