Skip to content

Commit

Permalink
Use portable display consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Nov 29, 2024
1 parent e228449 commit e6479cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uv-build-backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}`");

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit e6479cb

Please sign in to comment.