parameters: (conf_file, env)
docstring: Apply a configuration on the given SCons environment
docstring_summary: Apply a configuration on the given SCons environment
docstring_tokens: Apply a configuration on the given SCons environment
function: def apply_file(conf_file, env):
      """
      Apply a configuration on the given SCons environment
      """
      global local_dict
      result = parse_file(conf_file)
  
      for item in result:
          if type(result[item]) is list:
              env[item] = eval_list(result[item], result)
          elif type(result[item]) is str:
              env[item] = eval_string(result[item], result)
          else:
              env[item] = result[item]
function_tokens: def apply_file ( conf_file , env ) : global local_dict result = parse_file ( conf_file ) for item in result : if type ( result [ item ] ) is list : env [ item ] = eval_list ( result [ item ] , result ) elif type ( result [ item ] ) is str : env [ item ] = eval_string ( result [ item ] , result ) else : env [ item ] = result [ item ]