Skip to content

Commit

Permalink
Win: Ignore missing unixccompiler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Nov 25, 2019
1 parent de9a4e5 commit 6a1fd91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyoxidizer/src/py_packaging/distutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ pub fn prepare_hacked_distutils(logger: &slog::Logger, target: &PythonPaths) {
for (path, data) in MODIFIED_DISTUTILS_FILES.iter() {
let dest_path = dest_distutils_path.join(path);

if !dest_path.exists() {
warn!(logger, "not updating missing distutils/{}", path);
continue;
}

warn!(logger, "modifying distutils/{} for oxidation", path);
std::fs::write(dest_path, data).unwrap();
}
Expand Down

0 comments on commit 6a1fd91

Please sign in to comment.