Skip to content

Commit f223264

Browse files
CopilotSkn0tt
andauthored
fix(setup): resolve InWheel path symlinks for macOS builds
Agent-Logs-Url: https://github.com/microsoft/playwright-python/sessions/c7067ec4-86a2-4d5a-946e-959dd18402fa Co-authored-by: Skn0tt <14912729+Skn0tt@users.noreply.github.com>
1 parent 01448e1 commit f223264

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ def _build_wheel(
177177
if InWheel:
178178
wheelhouse_whl = os.path.join("wheelhouse", os.path.basename(whlfile))
179179
shutil.move(whlfile, wheelhouse_whl)
180-
with InWheel(in_wheel=Path(wheelhouse_whl), out_wheel=Path(whlfile)):
180+
with InWheel(
181+
in_wheel=Path(wheelhouse_whl).resolve(),
182+
out_wheel=Path(whlfile).resolve(),
183+
):
181184
print(f"Updating RECORD file of {whlfile}")
182185
print("Copying new wheels")
183186
shutil.rmtree("wheelhouse")

0 commit comments

Comments
 (0)