Skip to content

Commit

Permalink
Ensure --output-dir always exists (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp authored Nov 8, 2024
1 parent e61aef2 commit 6c43085
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions constructor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ def main_build(dir_path, output_dir='.', platform=cc_platform,
# '_dists': List[Dist]
# '_urls': List[Tuple[url, md5]]

os.makedirs(output_dir, exist_ok=True)
info_dicts = []
for itype in itypes:
if itype == 'sh':
Expand Down
19 changes: 19 additions & 0 deletions news/891-output-dir
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Do not crash if `--output-dir` doesn't exist. Ensure it does before creating installers. (#772 via #891)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit 6c43085

Please sign in to comment.