Skip to content

Commit

Permalink
Fix venv init on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Leclerc <[email protected]>
  • Loading branch information
sylvlecl committed Aug 28, 2024
1 parent 5f14724 commit dcd1109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/package_antares_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "INFO: Initializing the virtual environment .installer"
python -m venv .installer
if [[ "$OSTYPE" == "msys"* ]]; then
# initialize environment on windows
.installer/bin/Activate.ps1
source .installer/Scripts/activate
else
# initialize environment on linux
source .installer/bin/activate
Expand All @@ -35,4 +35,4 @@ else
fi

deactivate
rm -r .installer
rm -rf .installer

0 comments on commit dcd1109

Please sign in to comment.