diff --git a/recipe/bld.bat b/recipe/bld.bat index 951fbf0..2074041 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -24,12 +24,13 @@ for /f "delims=" %%i in (%RECIPE_DIR%\spyder-menu-v1.json) do ( set dir %SCRIPTS% +dir %BUILD_PREFIX% where python echo %PYTHON% rem How to access the build environment python? for /F "tokens=*" %%i in ( - 'python -c "import conda_build, pathlib; print(pathlib.Path(conda_build.__file__).parent / 'gui-64.exe')"' + '%CONDA_PYTHON_EXE% -c "import conda_build, pathlib; print(pathlib.Path(conda_build.__file__).parent / 'gui-64.exe')"' ) do ( set exe_path=%%i )