Skip to content

Commit bd85f57

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonpy/__init__.py

+1-1
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)