(known_paths)
return 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.
Add a per user site-package to sys.path
Add a per user site - package to sys . path
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
    _trace("Processing user site-packages")
    user_site = getusersitepackages()

    if ENABLE_USER_SITE and os.path.isdir(user_site):
        addsitedir(user_site, known_paths)
    return known_paths
def addusersitepackages ( known_paths ) : # get the per user site-package path # this call will also make sure USER_BASE and USER_SITE are set _trace ( "Processing user site-packages" ) user_site = getusersitepackages ( ) if ENABLE_USER_SITE and os . path . isdir ( user_site ) : addsitedir ( user_site , known_paths ) return known_paths