Skip to content

Commit

Permalink
fix: better python linking naming
Browse files Browse the repository at this point in the history
  • Loading branch information
FlickerSoul committed Dec 12, 2023
1 parent 3185aad commit 925a6dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gapper/gradescope/resources/run_autograder
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3a
#!/usr/bin/env python3.gapper
from gapper.gradescope.main import run_autograder

if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion src/gapper/gradescope/resources/setup.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ add-apt-repository -y ppa:deadsnakes/ppa
apt-get update -y
apt-get install -y software-properties-common
apt-get install -y python{{ py_major }}.{{ py_minor }} python{{ py_major }}.{{ py_minor }}-distutils
ln -s $(which python{{ py_major }}.{{ py_minor }}) $(which python3)a
ln -s $(which python{{ py_major }}.{{ py_minor }}) $(which python3).gapper

# install gapper
curl -sS https://bootstrap.pypa.io/get-pip.py | python{{ py_major }}.{{ py_minor }}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_zip_file_handle.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_zipping(tmp_path: Path) -> None:
apt-get update -y
apt-get install -y software-properties-common
apt-get install -y python{major}.{minor} python{major}.{minor}-distutils
ln -s $(which python3.12) $(which python3)a
ln -s $(which python3.12) $(which python3).gapper
# install gapper
curl -sS https://bootstrap.pypa.io/get-pip.py | python{major}.{minor}
Expand Down

0 comments on commit 925a6dc

Please sign in to comment.