We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nox -s build
dist
1 parent 7a69014 commit bf406bfCopy full SHA for bf406bf
noxfile.py
@@ -29,6 +29,7 @@ def build(session: nox.Session) -> str:
29
session.run("python", "-m", "build", "--outdir", tmpdir, env=BUILD_ENV)
30
(wheel_path,) = Path(tmpdir).glob("*.whl")
31
(sdist_path,) = Path(tmpdir).glob("*.tar.gz")
32
+ Path("dist").mkdir(exist_ok=True)
33
wheel_path.rename(f"dist/{wheel_path.name}")
34
sdist_path.rename(f"dist/{sdist_path.name}")
35
built = wheel_path.name
0 commit comments