PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  r2Wc@@sdZddlmZddlZddlZddlmZmZdZe dZ e dZ dZ d Zd ZeryddlZeZWqek reZqXndS( sd This code was taken from https://github.com/ActiveState/appdirs and modified to suit our purposes. i(tabsolute_importN(tWINDOWSt expandusercC@str9tjjtd}tjj||d}n`tjdkrltd}tjj||}n-tj dtd}tjj||}|S(s7 Return full path to the user-specific cache dir for this application. "appname" is the name of application. Typical user cache directories are: Mac OS X: ~/Library/Caches/ Unix: ~/.cache/ (XDG default) Windows: C:\Users\\AppData\Local\\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\\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_foldertjointsystplatformRtgetenv(tappnameR((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pytuser_cache_dir s cC@strB|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 for a discussion of issues. Typical user data directories are: Mac OS X: ~/Library/Application Support/ Unix: ~/.local/share/ # or in $XDG_DATA_HOME, if defined Win XP (not roaming): C:\Documents and Settings\\ ... ...Application Data\ Win XP (roaming): C:\Documents and Settings\\Local ... ...Settings\Application Data\ Win 7 (not roaming): C:\Users\\AppData\Local\ Win 7 (roaming): C:\Users\\AppData\Roaming\ For Unix, we follow the XDG spec and support $XDG_DATA_HOME. That means, by default "~/.local/share/". t CSIDL_APPDATARRs~/Library/Application Support/t XDG_DATA_HOMEs~/.local/share( RRRR R R R R RR(RtroamingtconstR((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyt user_data_dir8s*     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 for a discussion of issues. Typical user data directories are: Mac OS X: same as user_data_dir Unix: ~/.config/ Win *: same as user_data_dir For Unix, we follow the XDG spec and support $XDG_CONFIG_HOME. That means, by deafult "~/.config/". RRtXDG_CONFIG_HOMEs ~/.config( RRR R RRRRR (RRR((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pytuser_config_dirdscC@str9tjjtd}tjj||g}ntjdkrctjjd|g}nhtjdd}|rg|j tj D]!}tjjt ||^q}ng}|j d|S(sReturn a list of potential user-shared config dirs for this application. "appname" is the name of application. Typical user config directories are: Mac OS X: /Library/Application Support// Unix: /etc or $XDG_CONFIG_DIRS[i]// for each value in $XDG_CONFIG_DIRS Win XP: C:\Documents and Settings\All Users\Application ... ...Data\ Vista: (Fail! "C:\ProgramData" is a hidden *system* directory on Vista.) Win 7: Hidden, but writeable on Win 7: C:\ProgramData\ tCSIDL_COMMON_APPDATARs/Library/Application SupporttXDG_CONFIG_DIRSs/etc/xdgs/etc( RRRR R R R R RtsplittpathsepRtappend(RRtpathlisttxdg_config_dirstx((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pytsite_config_dirss: 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_registrys  cC@sidd6dd6dd6|}tjd}tjjjd|dd|t}x*|D]"}t|d krZt}PqZqZW|rtjd}tjj j |j |dr|}qn|j S( NiRi#RiRiii( tctypestcreate_unicode_buffertwindlltshell32tSHGetFolderPathWtNonetFalsetordtTruetkernel32tGetShortPathNameWtvalue(R&t csidl_consttbuft has_high_chartctbuf2((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyt_get_win_folder_with_ctypess"  (t__doc__t __future__RRR t pip.compatRRRR2RR4RR R+R=R,R t ImportError(((s5/usr/lib/python2.7/site-packages/pip/utils/appdirs.pyts    + , ! (