Skip to content

Commit 1b85f01

Browse files
committed
Create env as a separate command
1 parent edd729f commit 1b85f01

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/windows/condainstall.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ if not exist "%PREFIX%\python.exe" (
1212
rem # Create an empty initial skeleton to layout the conda, activate.bat
1313
rem # and other things needed to manage the environment. conda 4.1.*
1414
rem # requires at least one package name to succeed
15+
"%CONDA%" create --yes --quiet --prefix "%PREFIX%" ^
16+
|| exit /b !ERRORLEVEL!
17+
1518
for %%f in ( vs*_runtime*.tar.bz2 ) do (
16-
"%CONDA%" create --yes --quiet --prefix "%PREFIX%" "%CD%\%%f" ^
19+
"%CONDA%" install --yes --copy --quiet --prefix "%PREFIX%" "%CD%\%%f" ^
1720
|| exit /b !ERRORLEVEL!
1821
)
1922

23+
echo Installing python into "%PREFIX%"
2024
rem # Also install python (msvc runtime and python might be required
2125
rem # for any post-link scripts).
2226
for %%f in ( python-*.tar.bz2 ) do (

0 commit comments

Comments
 (0)