Skip to content

Commit 390fa6c

Browse files
committed
build: use best pip syntax in cheats
1 parent 19db169 commit 390fa6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

igor.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,10 @@ def do_cheats():
446446

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

454454
print(
455455
"\n## For other collaborators:\n"

0 commit comments

Comments
 (0)