Skip to content

Commit

Permalink
Use os.sep for replace
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Feb 17, 2025
1 parent fe63c2f commit 3e9b9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def _finalize_license_files(self) -> None:

self.metadata.license_files = list(
map(
lambda path: path.replace("\\", "/"),
lambda path: path.replace(os.sep, "/"),
unique_everseen(self._expand_patterns(patterns)),
)
)
Expand Down

0 comments on commit 3e9b9c7

Please sign in to comment.