Skip to content

Commit

Permalink
Revert "Work around GraalPy virtualenv bug"
Browse files Browse the repository at this point in the history
This reverts commit ddf2c75e88f76fc01c350a605bdfb3946e6008de.
  • Loading branch information
timfel committed Sep 16, 2024
1 parent 8bb340e commit 01ee712
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions cibuildwheel/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,6 @@ def install_graalpy(tmp: Path, url: str) -> Path:
# GraalPy top-folder name is inconsistent with archive name
call("tar", "-C", installation_path, "--strip-components=1", "-xzf", downloaded_archive)
downloaded_archive.unlink()
# Workaround graalpy_virtualenv bug
(
installation_path
/ "lib-graalpython"
/ "modules"
/ "graalpy_virtualenv.egg-info"
/ "entry_points.txt"
).unlink(missing_ok=True)
return installation_path / "bin" / "graalpy"


Expand Down
8 changes: 0 additions & 8 deletions cibuildwheel/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,6 @@ def install_graalpy(tmp: Path, url: str) -> Path:
download(url, graalpy_zip)
# Extract to the parent directory because the zip file still contains a directory
extract_zip(graalpy_zip, installation_path.parent)
# Workaround graalpy_virtualenv bug
(
installation_path
/ "lib-graalpython"
/ "modules"
/ "graalpy_virtualenv.egg-info"
/ "entry_points.txt"
).unlink(missing_ok=True)
return installation_path / "bin" / "graalpy.exe"


Expand Down

0 comments on commit 01ee712

Please sign in to comment.