@@ -105,33 +105,6 @@ impl ClobberRegistry {
105
105
self . package_names . len ( ) - 1
106
106
} ;
107
107
108
- // let entry_points = if index_json.noarch.is_python() {
109
- // let mut res = Vec::new();
110
- // if let (Some(link_json), Some(python_info)) = (link_json, python_info) {
111
- // // register entry points
112
- // if let NoArchLinks::Python(entry_points) = &link_json.noarch {
113
- // for entry_point in &entry_points.entry_points {
114
- // if python_info.platform.is_windows() {
115
- // let relative_path_script_py = python_info
116
- // .bin_dir
117
- // .join(format!("{}-script.py", &entry_point.command));
118
- // let relative_path_script_exe = python_info
119
- // .bin_dir
120
- // .join(format!("{}.exe", &entry_point.command));
121
- // res.push(relative_path_script_py);
122
- // res.push(relative_path_script_exe);
123
- // } else {
124
- // let file = python_info.bin_dir.join(&entry_point.command);
125
- // res.push(file);
126
- // }
127
- // }
128
- // }
129
- // }
130
- // res
131
- // } else {
132
- // Vec::new()
133
- // };
134
-
135
108
for ( _, path) in computed_paths {
136
109
// if we find an entry, we have a clobbering path!
137
110
if let Some ( e) = self . paths_registry . get ( path) {
@@ -156,7 +129,6 @@ impl ClobberRegistry {
156
129
clobber_paths
157
130
}
158
131
159
- /// Unclobber the paths after all installation steps have been completed.
160
132
/// Unclobber the paths after all installation steps have been completed.
161
133
pub fn unclobber (
162
134
& mut self ,
0 commit comments