Remove Spack external find from startup

Spack was running an external detection of Python during each invocation
of the setup script for Windows CMD/PWSH, which has dramatic performance
implications each time the script is invoked, and is completely
unneccesary. Remove this operation.
pull/34828/head
John Parent 2023-01-06 13:26:44 -05:00 committed by Peter Scheibel
parent c0eb2cf9e6
commit 521cc41db0
1 changed files with 0 additions and 1 deletions

View File

@ -52,7 +52,6 @@ if defined py_path (
if defined py_exe (
"%py_exe%" "%SPACK_ROOT%\bin\haspywin.py"
"%py_exe%" "%SPACK_ROOT%\bin\spack" external find python >NUL
)
set "EDITOR=notepad"