From e6479cbb285c1aee9a289dedc68f228238f273aa Mon Sep 17 00:00:00 2001 From: konstin Date: Fri, 29 Nov 2024 21:04:56 +0100 Subject: [PATCH] Use portable display consistently --- crates/uv-build-backend/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uv-build-backend/src/lib.rs b/crates/uv-build-backend/src/lib.rs index 616669bf2229a..597533a904030 100644 --- a/crates/uv-build-backend/src/lib.rs +++ b/crates/uv-build-backend/src/lib.rs @@ -379,7 +379,7 @@ pub fn build_wheel( trace!("Excluding from module: `{}`", match_path.user_display()); continue; } - let wheel_path = wheel_path.user_display().to_string(); + let wheel_path = wheel_path.portable_display().to_string(); debug!("Adding to wheel: `{wheel_path}`"); @@ -639,7 +639,7 @@ pub fn build_source_dist( let import_path = &settings .module_root .join(pyproject_toml.name().as_dist_info_name().as_ref()) - .simplified_display() + .portable_display() .to_string(); includes.push(format!("{}/**", globset::escape(import_path))); for include in includes {