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/pkg_resources.pyc |
� x�_c @ so d d l m Z d d l m Z d d l m Z e rU d d l m Z m Z m Z n d e f d � � YZ d S( i����( t yield_lines( t ensure_str( t MYPY_CHECK_RUNNING( t Dictt Iterablet Listt DictMetadatac B sM e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( sC IMetadataProvider that reads metadata files from a dictionary. c C s | | _ d S( N( t _metadata( t selft metadata( ( sR /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/pkg_resources.pyt __init__ s c C s | | j k S( N( R ( R t name( ( sR /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/pkg_resources.pyt has_metadata s c C sJ y t | j | � SWn. t k rE } | j d j | � 7_ � n Xd S( Ns in {} file( R R t UnicodeDecodeErrort reasont format( R R t e( ( sR /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/pkg_resources.pyt get_metadata s c C s t | j | � � S( N( R R ( R R ( ( sR /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/pkg_resources.pyt get_metadata_lines s c C s t S( N( t False( R R ( ( sR /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/pkg_resources.pyt metadata_isdir"