Skip to content

Commit

Permalink
Update install.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Dec 8, 2023
1 parent 1dd7e40 commit ef4556f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ def main() -> int:
_exe("chmod +x activate.sh")
_exe("git add ./activate.sh --chmod=+x")

os.chdir(os.path.abspath(HERE))

# Linux/MacOS uses bin and Windows uses Script, so create
# a soft link in order to always refer to bin for all
# platforms.
Expand All @@ -189,7 +191,8 @@ def main() -> int:
link = os.path.join(HERE, "venv", "bin")
if not os.path.exists(link):
_exe(f'mklink /J "{link}" "{target}"', check=False)



assert os.path.exists("activate.sh"), "activate.sh does not exist"
modify_activate_script()
# Note that we can now just use pip instead of pip3 because
Expand Down

0 comments on commit ef4556f

Please sign in to comment.