@classmethod
    def set_environment_variable(cls, var, value):
        os.environ[var] = value
        try:
            hou.allowEnvironmentVariableToOverwriteVariable(var, True)
        except AttributeError:
            # should be Houdini 12
            hou.allowEnvironmentToOverwriteVariable(var, True)

        hscript_command = "set -g %s = '%s'" % (var, value)
        hou.hscript(str(hscript_command))
Returns a config dict merged from several possible sources
dataset/ETHPy150Open eoyilmaz/anima/anima/env/houdini.py/Houdini.set_environment_variable--crossover with--dataset/ETHPy150Open pricingassistant/mrq/mrq/config.py/get_config