diff --git a/contrib/packaging/hgpackaging/pyoxidizer.py b/contrib/packaging/hgpackaging/pyoxidizer.py --- a/contrib/packaging/hgpackaging/pyoxidizer.py +++ b/contrib/packaging/hgpackaging/pyoxidizer.py @@ -127,6 +127,7 @@ # Write out a default editor.rc file to configure notepad as the # default editor. + os.makedirs(out_dir / "defaultrc") with (out_dir / "defaultrc" / "editor.rc").open( "w", encoding="utf-8" ) as fh: