Skip to content

Commit 5ee52b1

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

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
@@ -467,7 +467,7 @@ def _install_path(
467467
Some files might need to be fixed up to set the RPATH to the internal
468468
library directory on Linux wheels for eg.
469469
"""
470-
location = os.fspath(destination).replace(os.path.sep, '/')
470+
location = destination.as_posix()
471471
counter.update(location)
472472

473473
# fix file

0 commit comments

Comments
 (0)