Skip to content

Commit

Permalink
Remove duplicate INSTALLER in RECORD (#2336)
Browse files Browse the repository at this point in the history
## Summary

We write this a few lines down with a value passed in by the caller. I
suspect I missed that this was already here (with a less accurate value)
when adding `INSTALLER`.
  • Loading branch information
charliermarsh authored Mar 10, 2024
1 parent 7978492 commit be00b5b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/install-wheel-rs/src/wheel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,12 +603,6 @@ pub(crate) fn extra_dist_info(
record: &mut Vec<RecordEntry>,
) -> Result<(), Error> {
let dist_info_dir = PathBuf::from(format!("{dist_info_prefix}.dist-info"));
write_file_recorded(
site_packages,
&dist_info_dir.join("INSTALLER"),
env!("CARGO_PKG_NAME"),
record,
)?;
if requested {
write_file_recorded(site_packages, &dist_info_dir.join("REQUESTED"), "", record)?;
}
Expand Down

0 comments on commit be00b5b

Please sign in to comment.