Remove duplicate INSTALLER in RECORD (#2336)

## 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`.
This commit is contained in:
Charlie Marsh 2024-03-10 06:52:06 -07:00 committed by GitHub
parent 7978492122
commit be00b5b7b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)?;
}