def METHOD_NAME(self, env):
    # This recipe exposes a Python package from a C++ CMake project.
    # This hook is required to reproduce what Spack PythonPackage does.
    env.prepend_path("PYTHONPATH", self.prefix)