(plat_specific=False)
return package_install_site(user=default_user, plat_specific=plat_specific)
Determine solver's install site similarly to pip behaviour on Debian.
Determine solver's install site similarly to pip behaviour on Debian.
Determine solver s install site similarly to pip behaviour on Debian .
def solver_install_site(plat_specific=False):
    """Determine solver's install site similarly to pip behaviour on Debian."""

    # install to local user-site, unless in virtualenv or running as root
    default_user = True
    if running_under_virtualenv():
        default_user = False
    try:
        if os.geteuid() == 0:
            default_user = False
    except:
        # getuid/geteuid not supported on windows
        pass

    return package_install_site(user=default_user, plat_specific=plat_specific)
def solver_install_site ( plat_specific = False ) : # install to local user-site, unless in virtualenv or running as root default_user = True if running_under_virtualenv ( ) : default_user = False try : if os . geteuid ( ) == 0 : default_user = False except : # getuid/geteuid not supported on windows pass return package_install_site ( user = default_user , plat_specific = plat_specific )