Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8ac74ec

Browse filesBrowse files
committed
Use paatch to apply patches the same way across all platforms
1 parent c480ad9 commit 8ac74ec
Copy full SHA for 8ac74ec

1 file changed

+4-5Lines changed: 4 additions & 5 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/wheelbuilder/build_wheels.py‎

Copy file name to clipboardExpand all lines: scripts/wheelbuilder/build_wheels.py
+4-5Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,10 @@ def create_venv():
104104
subprocess.check_call([binary, "-m", "venv", "graalpy"])
105105
print("Installing wheel with", pip, flush=True)
106106
subprocess.check_call([pip, "install", "wheel"])
107-
if sys.platform == "win32":
108-
print("Installing python-patch-ng to provide patch.exe", flush=True)
109-
p = subprocess.run([pip, "install", "git+https://github.com/timfel/python-patch-ng.git"])
110-
if p.returncode != 0:
111-
print("Installing python-patch-ng failed, assuming patch.exe is on PATH", flush=True)
107+
print("Installing paatch to provide patch.exe", flush=True)
108+
p = subprocess.run([pip, "install", "paatch"])
109+
if p.returncode != 0:
110+
print("Installing paatch failed, assuming a GNU patch compatible binary is on PATH", flush=True)
112111
return pip
113112

114113

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.