Skip to content

Commit

Permalink
fix installation script for newer conda versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhmg committed Jul 31, 2024
1 parent 9dd62db commit 6e7c8f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Install_or_Update.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set ENV_NAME=geoapps
set MY_CONDA=!MY_CONDA_EXE:"=!
cd %~dp0
set PYTHONUTF8=1
set CONDA_CHANNEL_PRIORITY=strict

:: all dependencies are installed from conda
set PIP_NO_DEPS=1
Expand All @@ -25,7 +26,7 @@ if not exist %MY_CONDA_ENV_FILE% (
)

call "!MY_CONDA!" activate base ^
&& call "!MY_CONDA!" env create --force -n %ENV_NAME% --file %MY_CONDA_ENV_FILE% ^
&& call "!MY_CONDA!" env create -y -n %ENV_NAME% --file %MY_CONDA_ENV_FILE% ^
&& call "!MY_CONDA!" run -n %ENV_NAME% pip install -e .[core,apps]

if !errorlevel! neq 0 (
Expand Down

0 comments on commit 6e7c8f0

Please sign in to comment.