mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
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:
parent
7978492122
commit
be00b5b7b7
1 changed files with 0 additions and 6 deletions
|
@ -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)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue