text: #-----------------------------------------------------------------------------
  # Copyright (c) 2013-2017, PyInstaller Development Team.
  #
  # Distributed under the terms of the GNU General Public License with exception
  # for distributing bootloader.
  #
  # The full license is in the file COPYING.txt, distributed with this software.
  #-----------------------------------------------------------------------------
  
  
  """
  This is a fake 'site' module available in default Python Library.
  
  The real 'site' does some magic to find paths to other possible
  Python modules. We do not want this behaviour for frozen applications.
  
  Fake 'site' makes PyInstaller to work with distutils and to work inside
  virtualenv environment.
  """
  
  # Marker to be used in our test-suite.
  __pyinstaller__faked__site__module__ = True
  
  # TODO test the following code stub from real 'site' module.
  
  
  # Prefixes for site-packages; add additional prefixes like /usr/local here
  PREFIXES = []
  
  # Enable per user site-packages directory
  # set it to False to disable the feature or True to force the feature
  ENABLE_USER_SITE = False
  
  
  # For distutils.commands.install
  # These values are initialized by the getuserbase() and getusersitepackages()
  # functions, through the main() function when Python starts.
  # Issue #1699: Freezing pip requires 'site.USER_SITE' to be a 'str' not None.
  USER_SITE = ''
  USER_BASE = None
  
  
  # Package IPython depends on the following functionality from real site.py.
  # This code could be probably removed when the following bug is fixed:
  # https://github.com/ipython/ipython/issues/2606
  class _Helper(object):
       """
       Define the builtin 'help'.
       This is a wrapper around pydoc.help (with a twist).
       """
       def __repr__(self):
           return "Type help() for interactive help, " \
                  "or help(object) for help about object."
       def __call__(self, *args, **kwds):
           # Do *not* use `import` here, otherwise pydoc will be included in
           # *every* frozen app
           pydoc = __import__(''.join('pydoc'))
           return pydoc.help(*args, **kwds)
  