Skip to content

Commit

Permalink
Create env as a separate command
Browse files Browse the repository at this point in the history
  • Loading branch information
astaric committed Sep 24, 2017
1 parent edd729f commit 1b85f01
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/windows/condainstall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ if not exist "%PREFIX%\python.exe" (
rem # Create an empty initial skeleton to layout the conda, activate.bat
rem # and other things needed to manage the environment. conda 4.1.*
rem # requires at least one package name to succeed
"%CONDA%" create --yes --quiet --prefix "%PREFIX%" ^
|| exit /b !ERRORLEVEL!

for %%f in ( vs*_runtime*.tar.bz2 ) do (
"%CONDA%" create --yes --quiet --prefix "%PREFIX%" "%CD%\%%f" ^
"%CONDA%" install --yes --copy --quiet --prefix "%PREFIX%" "%CD%\%%f" ^
|| exit /b !ERRORLEVEL!
)

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

0 comments on commit 1b85f01

Please sign in to comment.