Skip to content

Commit

Permalink
make sure to call pip in the correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Nov 1, 2023
1 parent 0df53d0 commit e525922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iblrig/version_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,6 @@ def upgrade() -> int:
check_call(["git", "reset", "--hard"], cwd=BASE_DIR)

check_call(["git", "pull", "--tags"], cwd=BASE_DIR)
check_call(["pip", "install", "-U", "pip"])
check_call(["pip", "install", "-U", "-e", "."])
check_call([sys.executable, "-m", "pip", "install", "-U", "pip"], cwd=BASE_DIR)
check_call([sys.executable, "-m", "pip", "install", "-U", "-e", BASE_DIR], cwd=BASE_DIR)
return 0

0 comments on commit e525922

Please sign in to comment.