Skip to content

Commit

Permalink
try and fix macos
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Dec 8, 2023
1 parent 5e28ae8 commit 365de40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def main() -> int:
# Note that we can now just use pip instead of pip3 because
# we are now in the virtual environment.
try:
cmd = "bash activate.sh" if (sys.platform == "win32" or sys.platform == "darwin") else "./activate.sh"
cmd = "bash activate.sh" if sys.platform == "win32" else "./activate.sh"
_exe(f"{cmd} && pip install -e .") # Why does this fail on windows git-bash?
print(
'Now use ". ./activate.sh" (at the project root dir) to enter into the environment.'
Expand Down

0 comments on commit 365de40

Please sign in to comment.