edm4hep: add edm4hep to PYTHONPATH (#38407)

Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
This commit is contained in:
Juan Miguel Carceller 2023-08-10 01:22:17 +02:00 committed by GitHub
parent 01b7cc5106
commit b99288dcae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,6 +124,9 @@ def cmake_args(self):
args.append(self.define("BUILD_TESTING", self.run_tests))
return args
def setup_run_environment(self, env):
env.prepend_path("PYTHONPATH", self.prefix.python)
def url_for_version(self, version):
"""Translate version numbers to ilcsoft conventions.
in spack, the convention is: 0.1 (or 0.1.0) 0.1.1, 0.2, 0.2.1 ...