From 7159c9706671798f1f83f937a3c73514330d578e Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 16 Jan 2025 13:14:33 -0500 Subject: [PATCH] And uv in the build noxenv. --- noxfile.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index bd5e40b..2510e72 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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 + "/*")