SILENT KILLERPanel

Current Path: > > usr > lib > python2.7 > site-packages > pip > > utils >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/lib/python2.7/site-packages/pip//utils/

NameTypeSizeLast ModifiedActions
__init__.py File 27187 bytes April 21 2022 18:08:21.
__init__.pyc File 27725 bytes April 21 2022 18:08:35.
__init__.pyo File 27666 bytes April 21 2022 18:08:36.
appdirs.py File 8811 bytes April 21 2022 18:08:21.
appdirs.pyc File 8607 bytes April 21 2022 18:08:35.
appdirs.pyo File 8607 bytes April 21 2022 18:08:35.
build.py File 1312 bytes April 21 2022 18:08:21.
build.pyc File 1719 bytes April 21 2022 18:08:35.
build.pyo File 1719 bytes April 21 2022 18:08:35.
deprecation.py File 2232 bytes April 21 2022 18:08:21.
deprecation.pyc File 2317 bytes April 21 2022 18:08:35.
deprecation.pyo File 2317 bytes April 21 2022 18:08:35.
encoding.py File 971 bytes April 21 2022 18:08:21.
encoding.pyc File 1282 bytes April 21 2022 18:08:35.
encoding.pyo File 1282 bytes April 21 2022 18:08:35.
filesystem.py File 899 bytes April 21 2022 18:08:21.
filesystem.pyc File 780 bytes April 21 2022 18:08:35.
filesystem.pyo File 780 bytes April 21 2022 18:08:35.
glibc.py File 2939 bytes April 21 2022 18:08:21.
glibc.pyc File 1826 bytes April 21 2022 18:08:35.
glibc.pyo File 1826 bytes April 21 2022 18:08:35.
hashes.py File 2866 bytes April 21 2022 18:08:21.
hashes.pyc File 3961 bytes April 21 2022 18:08:35.
hashes.pyo File 3961 bytes April 21 2022 18:08:35.
logging.py File 3327 bytes April 21 2022 18:08:21.
logging.pyc File 4842 bytes April 21 2022 18:08:35.
logging.pyo File 4842 bytes April 21 2022 18:08:35.
outdated.py File 5989 bytes April 21 2022 18:08:21.
outdated.pyc File 5680 bytes April 21 2022 18:08:35.
outdated.pyo File 5680 bytes April 21 2022 18:08:35.
packaging.py File 2080 bytes April 21 2022 18:08:21.
packaging.pyc File 2461 bytes April 21 2022 18:08:35.
packaging.pyo File 2461 bytes April 21 2022 18:08:35.
setuptools_build.py File 278 bytes April 21 2022 18:08:21.
setuptools_build.pyc File 347 bytes April 21 2022 18:08:35.
setuptools_build.pyo File 347 bytes April 21 2022 18:08:35.
ui.py File 11597 bytes April 21 2022 18:08:21.
ui.pyc File 11683 bytes April 21 2022 18:08:35.
ui.pyo File 11613 bytes April 21 2022 18:08:36.

Reading File: //usr/lib/python2.7/site-packages/pip//utils//appdirs.pyc

�
��abc@@s�dZddlmZddlZddlZddlmZmZddlm	Z	m
Z
d�Zed�Z
ed�Zd	�Zd
�Zd�Zer�yddlZeZWq�ek
r�eZq�Xnd�ZdS(
sd
This code was taken from https://github.com/ActiveState/appdirs and modified
to suit our purposes.
i(tabsolute_importN(tWINDOWSt
expanduser(tPY2t	text_typecC@s�tr]tjjtd��}trBt|t�rBt|�}ntjj	||d�}n`t
jdkr�td�}tjj	||�}n-tj
dtd��}tjj	||�}|S(s5
    Return full path to the user-specific cache dir for this application.

        "appname" is the name of application.

    Typical user cache directories are:
        macOS:      ~/Library/Caches/<AppName>
        Unix:       ~/.cache/<AppName> (XDG default)
        Windows:    C:\Users\<username>\AppData\Local\<AppName>\Cache

    On Windows the only suggestion in the MSDN docs is that local settings go
    in the `CSIDL_LOCAL_APPDATA` directory. This is identical to the
    non-roaming app data dir (the default returned by `user_data_dir`). Apps
    typically put cache data somewhere *under* the given dir here. Some
    examples:
        ...\Mozilla\Firefox\Profiles\<ProfileName>\Cache
        ...\Acme\SuperApp\Cache\1.0

    OPINION: This function appends "Cache" to the `CSIDL_LOCAL_APPDATA` value.
    tCSIDL_LOCAL_APPDATAtCachetdarwins~/Library/CachestXDG_CACHE_HOMEs~/.cache(Rtostpathtnormpatht_get_win_folderRt
isinstanceRt_win_path_to_bytestjointsystplatformRtgetenv(tappnameR
((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pytuser_cache_dirscC@s�trB|rdpd}tjjtjjt|��|�}nTtjdkrotjjtd�|�}n'tjjtj	dtd��|�}|S(sS
    Return full path to the user-specific data dir for this application.

        "appname" is the name of application.
            If None, just the system directory is returned.
        "roaming" (boolean, default False) can be set True to use the Windows
            roaming appdata directory. That means that for users on a Windows
            network setup for roaming profiles, this user data will be
            sync'd on login. See
            <http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx>
            for a discussion of issues.

    Typical user data directories are:
        macOS:                  ~/Library/Application Support/<AppName>
        Unix:                   ~/.local/share/<AppName>    # or in
                                $XDG_DATA_HOME, if defined
        Win XP (not roaming):   C:\Documents and Settings\<username>\ ...
                                ...Application Data\<AppName>
        Win XP (roaming):       C:\Documents and Settings\<username>\Local ...
                                ...Settings\Application Data\<AppName>
        Win 7  (not roaming):   C:\Users\<username>\AppData\Local\<AppName>
        Win 7  (roaming):       C:\Users\<username>\AppData\Roaming\<AppName>

    For Unix, we follow the XDG spec and support $XDG_DATA_HOME.
    That means, by default "~/.local/share/<AppName>".
    t
CSIDL_APPDATARRs~/Library/Application Support/t
XDG_DATA_HOMEs~/.local/share(
RR	R
RRRRRRR(RtroamingtconstR
((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyt
user_data_dir>s*				cC@sjtrt|d|�}nKtjdkr9t|�}n-tjdtd��}tjj||�}|S(srReturn full path to the user-specific config dir for this application.

        "appname" is the name of application.
            If None, just the system directory is returned.
        "roaming" (boolean, default True) can be set False to not use the
            Windows roaming appdata directory. That means that for users on a
            Windows network setup for roaming profiles, this user data will be
            sync'd on login. See
            <http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx>
            for a discussion of issues.

    Typical user data directories are:
        macOS:                  same as user_data_dir
        Unix:                   ~/.config/<AppName>
        Win *:                  same as user_data_dir

    For Unix, we follow the XDG spec and support $XDG_CONFIG_HOME.
    That means, by default "~/.config/<AppName>".
    RRtXDG_CONFIG_HOMEs	~/.config(	RRRRR	RRR
R(RRR
((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pytuser_config_dirjscC@s�tr9tjjtd��}tjj||�g}n�tjdkrctjjd|�g}nhtjdd�}|r�g|j	tj
�D]!}tjjt|�|�^q�}ng}|jd�|S(s�Return a list of potential user-shared config dirs for this application.

        "appname" is the name of application.

    Typical user config directories are:
        macOS:      /Library/Application Support/<AppName>/
        Unix:       /etc or $XDG_CONFIG_DIRS[i]/<AppName>/ for each value in
                    $XDG_CONFIG_DIRS
        Win XP:     C:\Documents and Settings\All Users\Application ...
                    ...Data\<AppName>        Vista:      (Fail! "C:\ProgramData" is a hidden *system* directory
                    on Vista.)
        Win 7:      Hidden, but writeable on Win 7:
                    C:\ProgramData\<AppName>    tCSIDL_COMMON_APPDATARs/Library/Application SupporttXDG_CONFIG_DIRSs/etc/xdgs/etc(
RR	R
RRRRRRtsplittpathsepRtappend(RR
tpathlisttxdg_config_dirstx((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pytsite_config_dirs�s:
cC@s\ddl}idd6dd6dd6|}|j|jd	�}|j||�\}}|S(
s�
    This is a fallback technique at best. I'm not sure if using the
    registry for this guarantees us the correct answer for all CSIDL_*
    names.
    iNtAppDataRsCommon AppDataRs
Local AppDataRs@Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders(t_winregtOpenKeytHKEY_CURRENT_USERtQueryValueEx(t
csidl_nameR&tshell_folder_nametkeyt	directoryt_type((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyt_get_win_folder_from_registry�s	cC@s�idd6dd6dd6|}tjd�}tjjjd|dd|�t}x*|D]"}t|�d	krZt}PqZqZW|r�tjd�}tjj	j
|j|d�r�|}q�n|jS(
NiRi#RiRiii�(tctypestcreate_unicode_buffertwindlltshell32tSHGetFolderPathWtNonetFalsetordtTruetkernel32tGetShortPathNameWtvalue(R*tcsidl_consttbuft
has_high_chartctbuf2((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyt_get_win_folder_with_ctypes�s"
cC@s@x9dD]1}y|j|�SWqttfk
r7qXqW|S(s�Encode Windows paths to bytes. Only used on Python 2.

    Motivation is to be consistent with other operating systems where paths
    are also returned as bytes. This avoids problems mixing bytes and Unicode
    elsewhere in the codebase. For more details and discussion see
    <https://github.com/pypa/pip/issues/3463>.

    If encoding using ASCII and MBCS fails, return the original Unicode path.
    tASCIItMBCS(RBRC(tencodetUnicodeEncodeErrortLookupError(R
tencoding((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyR�s

(t__doc__t
__future__RR	Rt
pip.compatRRtpip._vendor.sixRRRR6RR8RR$R/RAR0RtImportErrorR(((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyt<module>s$	0,!	(		




SILENT KILLER Tool