Skip to content

Commit

Permalink
builder.dist: Create the output directory before building
Browse files Browse the repository at this point in the history
This is necessary, as `build` otherwise fails on macOS.
  • Loading branch information
nbraud committed Dec 30, 2020
1 parent 5bb992d commit 5c7e01a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bork/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def dist():
"""Build the sdist and wheel distributions."""

builder = build.ProjectBuilder('.')
(Path.cwd() / 'dist').mkdir(mode=0o755, exist_ok=True)
builder.build('sdist', './dist/')
builder.build('wheel', './dist/')

Expand Down

0 comments on commit 5c7e01a

Please sign in to comment.