(session)
| 31 | |
| 32 | @nox.session |
| 33 | def build_and_check_dists(session): |
| 34 | session.install("build", "check-manifest >= 0.42", "twine") |
| 35 | # If your project uses README.rst, uncomment the following: |
| 36 | # session.install("readme_renderer") |
| 37 | |
| 38 | session.run("check-manifest", "--ignore", "noxfile.py,tests/**") |
| 39 | session.run("python", "-m", "build") |
| 40 | session.run("python", "-m", "twine", "check", "dist/*") |
| 41 | |
| 42 | |
| 43 | @nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"]) |