""" This module contains a few functions for running CMake and building projects. """
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function

import os
import sys

reload(sys)
sys.setdefaultencoding('utf-8')
QIBUILD_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))


def stringify_env(env):
    """ convert each key value pairs to strings in env list"""
    return dict(((str(key), str(val)) for key, val in env.items()))

""" This module contains a few functions for running CMake and building projects. """
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function

import os

QIBUILD_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))


def stringify_env(env):
    """ convert each key value pairs to strings in env list"""
    return dict(((str(key), str(val)) for key, val in env.items()))

Revert "use utf-8 by default"
Revert "use utf-8 by default"

This reverts commit a986aac5e3b4f065d6c2ab70129bde105651d2ca.

  """ This module contains a few functions for running CMake and building projects. """
  from __future__ import absolute_import
  from __future__ import unicode_literals
  from __future__ import print_function
  
  import os
- import sys
  
- reload(sys)
- sys.setdefaultencoding('utf-8')
  QIBUILD_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
  
  
  def stringify_env(env):
      """ convert each key value pairs to strings in env list"""
      return dict(((str(key), str(val)) for key, val in env.items()))
  
Revert "use utf-8 by default"
## Code Before:
""" This module contains a few functions for running CMake and building projects. """
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function

import os
import sys

reload(sys)
sys.setdefaultencoding('utf-8')
QIBUILD_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))


def stringify_env(env):
    """ convert each key value pairs to strings in env list"""
    return dict(((str(key), str(val)) for key, val in env.items()))

## Instruction:
Revert "use utf-8 by default"
## Code After:
""" This module contains a few functions for running CMake and building projects. """
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function

import os

QIBUILD_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))


def stringify_env(env):
    """ convert each key value pairs to strings in env list"""
    return dict(((str(key), str(val)) for key, val in env.items()))
