Skip to content

Commit

Permalink
Okay, now try this
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Jul 3, 2024
1 parent 61a861b commit dd592ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit dd592ab

Please sign in to comment.