Skip to content

Commit

Permalink
MAINT: use pathlib.Path.as_posix in _WheelBuilder._install_path
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <[email protected]>
  • Loading branch information
FFY00 committed Nov 30, 2022
1 parent 8be68be commit 5ee52b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _install_path(
Some files might need to be fixed up to set the RPATH to the internal
library directory on Linux wheels for eg.
"""
location = os.fspath(destination).replace(os.path.sep, '/')
location = destination.as_posix()
counter.update(location)

# fix file
Expand Down

0 comments on commit 5ee52b1

Please sign in to comment.