Skip to content

Commit 7159c97

Browse files
committed
And uv in the build noxenv.
1 parent 4158241 commit 7159c97

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

noxfile.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,15 @@ def build(session):
7878
"""
7979
Build a distribution suitable for PyPI and check its validity.
8080
"""
81-
session.install("build", "twine")
81+
session.install("build[uv]", "twine")
8282
with TemporaryDirectory() as tmpdir:
83-
session.run("python", "-m", "build", ROOT, "--outdir", tmpdir)
83+
session.run(
84+
"pyproject-build",
85+
"--installer=uv",
86+
ROOT,
87+
"--outdir",
88+
tmpdir,
89+
)
8490
session.run("twine", "check", "--strict", tmpdir + "/*")
8591

8692

0 commit comments

Comments
 (0)