parameters: (known_paths)
return_statement: return known_paths
docstring: Add a per user site-package to sys.path
  
      Each user has its own python directory with site-packages in the
      home directory.
docstring_summary: Add a per user site-package to sys.path
docstring_tokens: Add a per user site - package to sys . path
function: def addusersitepackages(known_paths):
      """Add a per user site-package to sys.path
  
      Each user has its own python directory with site-packages in the
      home directory.
      """
      # get the per user site-package path
      # this call will also make sure USER_BASE and USER_SITE are set
      user_site = getusersitepackages()
  
      if ENABLE_USER_SITE and os.path.isdir(user_site):
          addsitedir(user_site, known_paths)
      return known_paths
function_tokens: def addusersitepackages ( known_paths ) : # get the per user site-package path # this call will also make sure USER_BASE and USER_SITE are set user_site = getusersitepackages ( ) if ENABLE_USER_SITE and os . path . isdir ( user_site ) : addsitedir ( user_site , known_paths ) return known_paths