py-cartopy: specify where deps are found (#20597)

This commit is contained in:
Adam J. Stewart 2020-12-29 01:04:13 -06:00 committed by GitHub
parent a13b9d8a7d
commit 6c9272677b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,10 @@ def setup_build_environment(self, env):
# Needed for `spack test run py-cartopy` # Needed for `spack test run py-cartopy`
setup_run_environment = setup_build_environment 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): def build_ext_args(self, spec, prefix):
args = [ args = [
spec['geos'].headers.include_flags, spec['geos'].headers.include_flags,