def METHOD_NAME(self, env):
    env.prepend_path("PATH", join_path(self.prefix, "bin"))
    env.prepend_path("LD_LIBRARY_PATH", join_path(self.prefix, "lib"))
    if self.spec.satisfies("+python"):
        env.prepend_path("PYTHONPATH", self.spec.prefix.lib.python)