GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-packaging-tutorial/noxfile.py at 2023 · python-packaging-tutorial/python-packaging-tutorial Expand file tree/ Copy pathnoxfile.pyMore file actions 25 lines (18 loc) · 754 Bytes / Copy pathnoxfile.pyFile metadata and controls25 lines (18 loc) · 754 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 from __future__ import annotations import nox @nox.session(reuse_venv=True) def docs(session: nox.Session) -> None: """ Build the docs. Pass "serve" to serve. """ session.install("-r", "sphinx_presentation/requirements.txt") session.chdir("sphinx_presentation/source") if "pdf" in session.posargs: session.run("sphinx-build", "-M", "latexpdf", ".", "_build") return session.run("sphinx-build", "-M", "html", ".", "_build") if "serve" in session.posargs: session.log("Launching docs at http://localhost:8000/ - use Ctrl-C to quit") session.run("python", "-m", "http.server", "8000", "-d", "_build/html") elif session.posargs: session.error("Unsupported argument to docs") |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |