py-cartopy: specify where deps are found (#20597)
This commit is contained in:
parent
a13b9d8a7d
commit
6c9272677b
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ def setup_build_environment(self, env):
|
|||
# Needed for `spack test run py-cartopy`
|
||||
setup_run_environment = setup_build_environment
|
||||
|
||||
# Needed for `spack test run py-foo` where `py-foo` depends on `py-cartopy`
|
||||
def setup_dependent_run_environment(self, env, dependent_spec):
|
||||
self.setup_build_environment(env)
|
||||
|
||||
def build_ext_args(self, spec, prefix):
|
||||
args = [
|
||||
spec['geos'].headers.include_flags,
|
||||
|
|
Loading…
Reference in a new issue