Skip to content

Commit 53512e0

Browse files
committed
MAINT: use pathlib.Path.as_posix in _WheelBuilder._install_path
Signed-off-by: Filipe Laíns <[email protected]>
1 parent 068a190 commit 53512e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def _install_path(
476476
Some files might need to be fixed up to set the RPATH to the internal
477477
library directory on Linux wheels for eg.
478478
"""
479-
location = os.fspath(destination).replace(os.path.sep, '/')
479+
location = destination.as_posix()
480480
counter.update(location)
481481

482482
# fix file

0 commit comments

Comments
 (0)