Skip to content

Commit 9102ad7

Browse files
committed
chore: fix build
1 parent d8ba279 commit 9102ad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import subprocess
2020
import sys
2121
import zipfile
22+
from pathlib import Path
2223
from typing import Dict
2324

2425
driver_version = "1.51.1"
@@ -167,7 +168,7 @@ def _build_wheel(
167168
if InWheel:
168169
wheelhouse_whl = os.path.join("wheelhouse", os.path.basename(whlfile))
169170
shutil.move(whlfile, wheelhouse_whl)
170-
with InWheel(in_wheel=wheelhouse_whl, out_wheel=whlfile):
171+
with InWheel(in_wheel=Path(wheelhouse_whl), out_wheel=Path(whlfile)):
171172
print(f"Updating RECORD file of {whlfile}")
172173
print("Copying new wheels")
173174
shutil.rmtree("wheelhouse")

0 commit comments

Comments
 (0)