serialbox: fix PYTHONPATH (#43034)

This commit is contained in:
Sergey Kosukhin 2024-03-05 20:48:18 +01:00 committed by GitHub
parent 12fba13441
commit 0223fe746b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,7 +156,7 @@ def setup_run_environment(self, env):
env.prepend_path("PATH", self.prefix.python.pp_ser)
# Allow for running the preprocessor as a Python module, as well as
# enable the Python interface in a non-standard directory:
env.prepend_path("PYTHONPATH", self.prefix.python)
env.prepend_path("PYTHONPATH", self.prefix.python.pp_ser)
def setup_dependent_package(self, module, dependent_spec):
# Simplify the location of the preprocessor by dependent packages: