Skip to content

Commit

Permalink
And uv in the build noxenv.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Jan 16, 2025
1 parent 4158241 commit 7159c97
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,15 @@ def build(session):
"""
Build a distribution suitable for PyPI and check its validity.
"""
session.install("build", "twine")
session.install("build[uv]", "twine")
with TemporaryDirectory() as tmpdir:
session.run("python", "-m", "build", ROOT, "--outdir", tmpdir)
session.run(
"pyproject-build",
"--installer=uv",
ROOT,
"--outdir",
tmpdir,
)
session.run("twine", "check", "--strict", tmpdir + "/*")


Expand Down

0 comments on commit 7159c97

Please sign in to comment.