Lines Matching +full:stdout +full:- +full:path
2 # SPDX-License-Identifier: GPL-2.0
14 import os.path
22 PYTHON = os.path.basename(sys.executable)
47 (8, 2, 3) # Latest version - covers rolling distros
68 "sphinxcontrib-applehelp": "1.0.2",
69 "sphinxcontrib-devhelp": "1.0.2",
70 "sphinxcontrib-htmlhelp": "1.0.3",
71 "sphinxcontrib-jsmath": "1.0.1",
72 "sphinxcontrib-qthelp": "1.0.3",
73 "sphinxcontrib-serializinghtml": "1.1.4",
89 "sphinxcontrib-applehelp": "1.0.4",
90 "sphinxcontrib-htmlhelp": "2.0.1",
91 "sphinxcontrib-serializinghtml": "1.1.5",
133 "sphinxcontrib-serializinghtml": "1.1.9",
153 "sphinxcontrib-applehelp": "1.0.7",
154 "sphinxcontrib-devhelp": "1.0.6",
155 "sphinxcontrib-htmlhelp": "2.0.6",
156 "sphinxcontrib-qthelp": "1.0.6",
161 "sphinxcontrib-serializinghtml": "1.1.9",
171 self.stdout = None
194 out = line.decode("utf-8", errors="backslashreplace")
197 self.stdout += out
212 self.stdout = ""
220 stdout=asyncio.subprocess.PIPE,
225 self._read(proc.stdout, verbose, True),
234 output=self.stdout,
246 stdout=self.stdout,
286 await cmd.run([python_bin, "-m", "venv", venv_dir],
288 pip = os.path.join(venv_dir, "bin/pip")
304 with open(req_file, "w", encoding="utf-8") as fp:
305 fp.write(result.stdout)
312 bin_dir = os.path.join(venv_dir, "bin")
313 env["PATH"] = bin_dir + ":" + env["PATH"]
323 sphinx_build = os.path.realpath(f"{bin_dir}/sphinx-build")
338 elapsed_time = end_time - start_time
357 fp = open(args.log, "w", encoding="utf-8")
408 DEFAULT_VERS = " - "
409 DEFAULT_VERS += "\n - ".join(map(lambda v: f"{v[0]}.{v[1]}.{v[2]}",
412 SCRIPT = os.path.relpath(__file__)
421 If called without "--versions" argument, it covers the versions shipped
428 {SCRIPT} -m -l sphinx_builds.log
436 memory. That, together with "-jauto" may cause OOM killer to cause
438 "-a" command line parameter to constrain the built directories and/or
439 reduce the number of threads from "-jauto" to, for instance, "-j4":
441 {SCRIPT} -m -V 6.0.1 -a "SPHINXDIRS=process" "SPHINXOPTS='-j4'"
463 ver_group.add_argument('-V', '--versions', nargs="*",
466 ver_group.add_argument('--min-version', "--min", type=parse_version,
468 ver_group.add_argument('--max-version', "--max", type=parse_version,
470 ver_group.add_argument('-f', '--full', action='store_true',
475 build_group.add_argument('-b', '--build', action='store_true',
477 build_group.add_argument('-a', '--make-args', nargs="*",
480 build_group.add_argument('-t', '--targets', nargs="+", choices=MAKE_TARGETS,
483 build_group.add_argument("-o", '--output',
488 other_group.add_argument('-r', '--req-file', action='store_true',
490 other_group.add_argument('-l', '--log',
492 other_group.add_argument('-v', '--verbose', action='store_true',
494 other_group.add_argument('-i', '--wait-input', action='store_true',