MCPcopy
hub / github.com/pypa/sampleproject / build_and_check_dists

Function build_and_check_dists

noxfile.py:33–40  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

31
32@nox.session
33def 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"])

Callers 1

testsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected