Permalink
Cannot retrieve contributors at this time
13 lines (13 sloc)
475 Bytes
|
@echo off |
|
rem We need this script because .py probably isn't in pathext. |
|
rem We can't just call python -c because it may not be in the path. |
|
rem Instead, find the python launcher (installed by python 3) |
|
where py 1>nul 2>&1 |
|
if "%ERRORLEVEL%" == "0" ( |
|
rem Python launcher is present in the PATH |
|
rem Call python 3.7 for 32 bits |
|
py -3.7-32 "%~dp0\scons.py" %* |
|
) else ( |
|
rem Python registers itself with the .py extension, so call scons.py. |
|
"%~dp0\scons.py" %* |
|
) |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.