Skip to content

Commit

Permalink
build: use best pip syntax in cheats
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Dec 20, 2023
1 parent 19db169 commit 390fa6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions igor.py
Expand Up @@ -446,10 +446,10 @@ def do_cheats():

print("\n## To run this code:")
if facts.branch == "master":
print(f"pip install git+{github}#{egg}")
print(f"python3 -m pip install git+{github}#{egg}")
else:
print(f"pip install git+{github}@{facts.branch}#{egg}")
print(f"pip install git+{github}@{facts.sha}#{egg}")
print(f"python3 -m pip install git+{github}@{facts.branch}#{egg}")
print(f"python3 -m pip install git+{github}@{facts.sha[:20]}#{egg}")

print(
"\n## For other collaborators:\n"
Expand Down

0 comments on commit 390fa6c

Please sign in to comment.