Skip to content

Commit

Permalink
Merge pull request #3532 from architecture-building-systems/cea-dev-w…
Browse files Browse the repository at this point in the history
…indows-fix

Install git and use micromamba run
  • Loading branch information
reyery committed Mar 20, 2024
2 parents 81653b7 + 3563634 commit 9d3e2fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup/cityenergyanalyst.nsi
Expand Up @@ -159,10 +159,13 @@ SectionEnd

Section /o "Developer version" Clone_Repository_Section

DetailPrint 'Installing git to CEA environment'
nsExec::ExecToLog '"$INSTDIR\dependencies\micromamba.exe" -r "$INSTDIR\dependencies\micromamba" -n cea install git -c conda-forge -y'

DetailPrint 'Cloning GitHub Repository ${CEA_REPO_URL} to "$INSTDIR\CityEnergyAnalyst"'
nsExec::ExecToLog '"$INSTDIR\dependencies\cea-env.bat" git clone ${CEA_REPO_URL}'
nsExec::ExecToLog '"$INSTDIR\dependencies\micromamba.exe" run -r "$INSTDIR\dependencies\micromamba" -n cea git clone ${CEA_REPO_URL}'
DetailPrint "Binding CEA to repository"
nsExec::ExecToLog '"$INSTDIR\dependencies\cea-env.bat" pip install -e "$INSTDIR\CityEnergyAnalyst"'
nsExec::ExecToLog '"$INSTDIR\dependencies\micromamba.exe" run -r "$INSTDIR\dependencies\micromamba" -n cea pip install -e "$INSTDIR\CityEnergyAnalyst"'

SectionEnd

Expand Down

0 comments on commit 9d3e2fe

Please sign in to comment.