axom: python only reliably available when +python, +devtools (#33414)
This commit is contained in:
parent
7ad7fde09c
commit
9f89926980
@ -449,7 +449,7 @@ def initconfig_package_entries(self):
|
||||
entries.append("# ClangFormat disabled due to disabled devtools\n")
|
||||
entries.append(cmake_cache_option("ENABLE_CLANGFORMAT", False))
|
||||
|
||||
if spec.satisfies("^python") or "+devtools" in spec:
|
||||
if "+python" in spec or "+devtools" in spec:
|
||||
python_path = os.path.realpath(spec["python"].command.path)
|
||||
for key in path_replacements:
|
||||
python_path = python_path.replace(key, path_replacements[key])
|
||||
|
Loading…
Reference in New Issue
Block a user