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:07:46 +02:00 committed by Jérôme Rapinat
parent f96df5658c
commit 63f09baab0

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