Geant4 +Python: fix module load (#17046)
Adding `extends('python')` makes sure that a ``` spack load -r geant4 +python python -c "import Geant4" ``` find the module.
This commit is contained in:
parent
34fb4b30dc
commit
42e6cb769e
@ -56,6 +56,7 @@ class Geant4(CMakePackage):
|
|||||||
|
|
||||||
# Python, with boost requirement dealt with in cxxstd section
|
# Python, with boost requirement dealt with in cxxstd section
|
||||||
depends_on('python@3:', when='+python')
|
depends_on('python@3:', when='+python')
|
||||||
|
extends('python', when='+python')
|
||||||
conflicts('+python', when='@:10.6.1',
|
conflicts('+python', when='@:10.6.1',
|
||||||
msg='Geant4 <= 10.6.1 cannont be built with Python bindings')
|
msg='Geant4 <= 10.6.1 cannont be built with Python bindings')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user