Skip to content

Commit 04d1148

Browse files
committed
And uv in the build noxenv.
1 parent 103bc03 commit 04d1148

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

noxfile.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,15 @@ def build(session):
7676
"""
7777
Build a distribution suitable for PyPI and check its validity.
7878
"""
79-
session.install("build", "twine")
79+
session.install("build[uv]", "twine")
8080
with TemporaryDirectory() as tmpdir:
81-
session.run("python", "-m", "build", ROOT, "--outdir", tmpdir)
81+
session.run(
82+
"pyproject-build",
83+
"--installer=uv",
84+
ROOT,
85+
"--outdir",
86+
tmpdir,
87+
)
8288
session.run("twine", "check", "--strict", tmpdir + "/*")
8389

8490

0 commit comments

Comments
 (0)