Allow xb.bat to find python from a common install path
This commit is contained in:
parent
a3c2b8b3f5
commit
3b7002e945
4
xb.bat
4
xb.bat
|
@ -42,6 +42,10 @@ IF %FOUND_PYTHON_EXE% EQU "" (
|
|||
SET FOUND_PYTHON_EXE=python
|
||||
)
|
||||
)
|
||||
IF %FOUND_PYTHON_EXE% EQU "" (
|
||||
ECHO Found from fs
|
||||
IF EXIST c:\python27\python.exe SET FOUND_PYTHON_EXE=C:\python27\python.exe
|
||||
)
|
||||
IF %FOUND_PYTHON_EXE% EQU "" (
|
||||
ECHO ERROR: no Python executable found on PATH.
|
||||
ECHO Make sure you can run 'python' or 'python2' in a Command Prompt.
|
||||
|
|
Loading…
Reference in New Issue