mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
7 lines
236 B
Batchfile
7 lines
236 B
Batchfile
@echo off
|
|
setlocal EnableDelayedExpansion
|
|
for /f %%i in ('where python') DO (set PYTHON=%%i) & goto :done1
|
|
:done1
|
|
@where python3 > nul 2>&1 && for /f %%i in ('@where python3') DO (@set PYTHON=%%i) & goto :done2
|
|
:done2
|
|
!PYTHON! configure |