ok
Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/appdirs.pyo |
� x�_c @@ s} d Z d d l m Z d d l Z d d l m Z d d l m Z e r[ d d l m Z n d � Z e d � Z d � Z d S( s� This code wraps the vendored appdirs module to so the return values are compatible for the current pip code base. The intention is to rewrite current usages gradually, keeping the tests pass, and eventually drop this after all usages are changed. i ( t absolute_importN( t appdirs( t MYPY_CHECK_RUNNING( t Listc C@ s t j | d t �S( Nt appauthor( t _appdirst user_cache_dirt False( t appname( ( sL /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/appdirs.pyR s c C@ st t j | d t d | �} t j d k rp t j j | � rp t j j d � } | rp t j j | | � } qp n | S( NR t roamingt darwins ~/.config/( R t user_config_dirR t systemt ost patht isdirt expandusert join( R R R ( ( sL /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/appdirs.pyR s "c C@ sH t j | d t d t �} t j d k rA | j t j � d g S| g S( NR t multipatht win32R s /etc( s win32s darwin( R t site_config_dirR t TrueR t splitR t pathsep( R t dirval( ( sL /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/appdirs.pyt site_config_dirs&