Home
last modified time | relevance | path

Searched refs:PythonVersion (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/python/kdoc/
H A Dpython_version.py29 class PythonVersion: class
94 return PythonVersion.parse_version(match.group(1))
120 version = PythonVersion.get_python_version(cmd)
135 ver = PythonVersion.ver_str(cur_ver)
138 python_ver = PythonVersion.ver_str(cur_ver)
140 available_versions = PythonVersion.find_python(min_version)
159 cmd_str = indent(PythonVersion.cmd_print(args), " ")
/linux/tools/docs/
H A Dsphinx-pre-install39 from kdoc.python_version import PythonVersion
41 RECOMMENDED_VERSION = PythonVersion("3.4.3").version
42 MIN_PYTHON_VERSION = PythonVersion("3.7").version
451 return PythonVersion.parse_version(match.group(1))
455 return PythonVersion.parse_version(match.group(1))
466 self.min_version = PythonVersion.parse_version(match.group(1))
486 curver = PythonVersion.ver_str(self.cur_version)
487 minver = PythonVersion.ver_str(self.min_version)
1228 elif PythonVersion.parse_version(ver) > self.cur_version:
1335 latest_avail_ver = PythonVersion.ver_str(self.latest_avail_ver)
[all …]
H A Dsphinx-build-wrapper65 from kdoc.python_version import PythonVersion
73 MIN_PYTHON_VERSION = PythonVersion("3.7").version
851 PythonVersion.check_python(MIN_PYTHON_VERSION, show_alternatives=True,