mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
Merge pull request #18356 from dundargoc/ci/gen_vimdoc/conda-edge-case
build(gen_vimdoc): handle conda edge case when parsing doxygen version
This commit is contained in:
@@ -60,10 +60,11 @@ if sys.version_info < MIN_PYTHON_VERSION:
|
||||
sys.exit(1)
|
||||
|
||||
doxygen_version = tuple([int(i) for i in subprocess.check_output(["doxygen", "-v"],
|
||||
universal_newlines=True).split('.')])
|
||||
universal_newlines=True).split()[0].split('.')])
|
||||
|
||||
if doxygen_version < MIN_DOXYGEN_VERSION:
|
||||
print("requires Doxygen {}.{}.{}+".format(*MIN_DOXYGEN_VERSION))
|
||||
print("\nRequires doxygen {}.{}.{}+".format(*MIN_DOXYGEN_VERSION))
|
||||
print("Your doxygen version is {}.{}.{}\n".format(*doxygen_version))
|
||||
sys.exit(1)
|
||||
|
||||
# DEBUG = ('DEBUG' in os.environ)
|
||||
|
Reference in New Issue
Block a user