Skip to content

Commit

Permalink
noxfile: use uv installer in build session
Browse files Browse the repository at this point in the history
  • Loading branch information
bretello committed Jan 24, 2025
1 parent 81fe38e commit 5ee0d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def lint(session: nox.Session) -> None:
@nox.session
def build(session: nox.Session) -> None:
session.install("build", "twine")
session.run("python", "-m", "build")
session.run("python", "-m", "build", "--installer=uv", *session.posargs)
dists = glob.glob("dist/*")
session.run("twine", "check", *dists, silent=True)

Expand Down

0 comments on commit 5ee0d6e

Please sign in to comment.