����JFIF���������
1#@!#!123s
D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python2.7
/
site-packages
/
pip
/
_vendor
/
distlib
/
Filename :
database.pyc
back
Copy
� ��abc�����������@��s0��d��Z��d�d�l�m�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l �Z �d�d�l �Z �d�d�l�Z�d�d�l�m �Z �m�Z�d�d�l�m�Z�d�d�l�m�Z�m�Z�d�d�l�m�Z�m�Z�m�Z�d�d �l�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�m�Z�d �d�d�d �d�g�Z �e�j!�e"���Z#�d�Z$�d�Z%�d�e�d�d�d�e$�d�f�Z&�d�Z'�d�e(�f�d�������YZ)�d�e(�f�d�������YZ*�d�e(�f�d�������YZ+�d�e+�f�d�������YZ,�d�e,�f�d �������YZ-�d!�e,�f�d"�������YZ.�e-�Z/�e.�Z0�d#�e(�f�d$�������YZ1�d%�d&���Z2�d'����Z3�d(����Z4�d)����Z5�d�S(*���u���PEP 376 implementation.i����(���t���unicode_literalsNi���(���t���DistlibExceptiont ���resources(���t���StringIO(���t ���get_schemet���UnsupportedVersionError(���t���Metadatat���METADATA_FILENAMEt���WHEEL_METADATA_FILENAME(���t���parse_requirementt���cached_propertyt���parse_name_and_versiont���read_exportst ���write_exportst ���CSVReadert ���CSVWriteru���Distributionu���BaseInstalledDistributionu���InstalledDistributionu���EggInfoDistributionu���DistributionPathu���pydist-exports.jsonu���pydist-commands.jsonu ���INSTALLERu���RECORDu ���REQUESTEDu ���RESOURCESu���SHAREDu ���.dist-infot���_Cachec�����������B��s)���e��Z�d��Z�d����Z�d����Z�d����Z�RS(���uL��� A simple cache mapping names and .dist-info paths to distributions c���������C��s���i��|��_��i��|��_�t�|��_�d�S(���uZ��� Initialise an instance. There is normally one for each DistributionPath. N(���t���namet���patht���Falset ���generated(���t���self(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���__init__0���s���� c���������C��s'���|��j��j����|��j�j����t�|��_�d�S(���uC��� Clear the cache, setting it to its initial state. N(���R���t���clearR���R���R���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR���8���s���� c���������C��sH���|�j��|��j��k�rD�|�|��j��|�j��<|��j�j�|�j�g����j�|���n��d�S(���u`��� Add a distribution to the cache. :param dist: The distribution to add. N(���R���R���t ���setdefaultt���keyt���append(���R���t���dist(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���add@���s����(���t���__name__t ���__module__t���__doc__R���R���R���(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR���,���s��� t���DistributionPathc�����������B��s����e��Z�d��Z�d �e�d���Z�d����Z�d����Z�e�e�e���Z �d����Z �d����Z�d����Z�e �d������Z�d����Z�d ����Z�d �d ���Z�d����Z�d �d���Z�RS(���uU��� Represents a set of distributions installed on a path (typically sys.path). c���������C��sg���|�d�k�r�t�j�}�n��|�|��_�t�|��_�|�|��_�t����|��_�t����|��_�t�|��_ �t �d���|��_�d�S(���u��� Create an instance from a path, optionally including legacy (distutils/ setuptools/distribute) distributions. :param path: The path to use, as a list of directories. If not specified, sys.path is used. :param include_egg: If True, this instance will look for and return legacy distributions as well as those based on PEP 376. u���defaultN(���t���Nonet���sysR���t���Truet ���_include_distt���_include_eggR���t���_cachet ���_cache_eggt���_cache_enabledR���t���_scheme(���R���R���t���include_egg(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR���N���s���� c���������C��s���|��j��S(���N(���R(���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_get_cache_enabledb���s����c���������C��s ���|�|��_��d��S(���N(���R(���(���R���t���value(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_set_cache_enablede���s����c���������C��s���|��j��j����|��j�j����d�S(���u,��� Clears the internal cache. N(���R&���R���R'���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���clear_cachej���s���� c��� ������c��s���t�����}�x�|��j�D]�}�t�j�|���}�|�d�k�r:�q�n��|�j�d���}�|�s�|�j�r`�q�n��t�|�j���}�x^|�D]V}�|�j�|���}�|�sv�|�j�|�k�r��qv�n��|��j�r}|�j �t ���r}t�t�g�}�x<�|�D]1�}�t �j�|�|���} �|�j�| ���} �| �r��Pq��q��Wqv�t�j�| �j��������}�t�d�|�d�d���}�Wd�QXt�j�d�|�j���|�j�|�j���t�|�j�d�|�d�|���Vqv�|��j�rv�|�j �d���rv�t�j�d�|�j���|�j�|�j���t�|�j�|����Vqv�qv�Wq�Wd�S(���uD��� Yield .dist-info and/or .egg(-info) distributions. u����t���fileobjt���schemeu���legacyNu���Found %st���metadatat���envu ���.egg-infou���.egg(���u ���.egg-infou���.egg(���t���setR���R���t���finder_for_pathR!���t���findt���is_containert���sortedR$���t���endswitht���DISTINFO_EXTR���R���t ���posixpatht���joint ���contextlibt���closingt ���as_streamR���t���loggert���debugR���t���new_dist_classR%���t���old_dist_class( ���R���t���seenR���t���findert���rt���rsett���entryt���possible_filenamest���metadata_filenamet ���metadata_patht���pydistt���streamR1���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_yield_distributionsr���s@���� c���������C��s����|��j��j�}�|��j�o �|��j�j�}�|�s/�|�r��xF�|��j����D]8�}�t�|�t���rd�|��j��j�|���q<�|��j�j�|���q<�W|�r��t�|��j��_�n��|�r��t�|��j�_�q��n��d�S(���uk��� Scan the path for distributions and populate the cache with those that are found. N( ���R&���R���R%���R'���RM���t ���isinstancet���InstalledDistributionR���R#���(���R���t���gen_distt���gen_eggR���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_generate_cache����s���� c���������C��s)���|�j��d�d���}�d�j�|�|�g���t�S(���uo�� The *name* and *version* parameters are converted into their filename-escaped form, i.e. any ``'-'`` characters are replaced with ``'_'`` other than the one in ``'dist-info'`` and the one separating the name from the version number. :parameter name: is converted to a standard distribution name by replacing any runs of non- alphanumeric characters with a single ``'-'``. :type name: string :parameter version: is converted to a standard version string. Spaces become dots, and all other non-alphanumeric characters (except dots) become dashes, with runs of multiple dashes condensed to a single dash. :type version: string :returns: directory name :rtype: stringu���-u���_(���t���replaceR;���R9���(���t���clsR���t���version(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���distinfo_dirname����s����c���������c��s����|��j��s(�xv�|��j����D]�}�|�Vq�WnZ�|��j����x�|��j�j�j����D]�}�|�VqE�W|��j�r��x"�|��j�j�j����D]�}�|�Vqp�Wn��d�S(���u5�� Provides an iterator that looks for distributions and returns :class:`InstalledDistribution` or :class:`EggInfoDistribution` instances for each one of them. :rtype: iterator of :class:`InstalledDistribution` and :class:`EggInfoDistribution` instances N(���R(���RM���RR���R&���R���t���valuesR%���R'���(���R���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���get_distributions����s���� c���������C��s����d�}�|�j����}�|��j�sN�x��|��j����D]�}�|�j�|�k�r(�|�}�Pq(�q(�Wne�|��j����|�|��j�j�k�r��|��j�j�|�d�}�n2�|��j�r��|�|��j �j�k�r��|��j �j�|�d�}�n��|�S(���u=�� Looks for a named distribution on the path. This function only returns the first result found, as no more than one value is expected. If nothing is found, ``None`` is returned. :rtype: :class:`InstalledDistribution`, :class:`EggInfoDistribution` or ``None`` i����N( ���R!���t���lowerR(���RM���R���RR���R&���R���R%���R'���(���R���R���t���resultR���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���get_distribution����s���� c��� ������c��s����d�}�|�d�k �r_�y �|��j�j�d�|�|�f���}�Wq_�t�k �r[�t�d�|�|�f�����q_�Xn��x��|��j����D]z�}�|�j�}�xh�|�D]`�}�t�|���\�}�}�|�d�k�r��|�|�k�r��|�VPq��q��|�|�k�r��|�j�|���r��|�VPq��q��Wql�Wd�S(���u�� Iterates over all distributions to find which distributions provide *name*. If a *version* is provided, it will be used to filter the results. This function only returns the first result found, since no more than one values are expected. If the directory is not found, returns ``None``. :parameter version: a version specifier that indicates the version required, conforming to the format in ``PEP-345`` :type name: string :type version: string u���%s (%s)u���invalid name or version: %r, %rN( ���R!���R)���t���matchert ���ValueErrorR���RX���t���providesR���t���match( ���R���R���RU���R\���R���t���providedt���pt���p_namet���p_ver(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���provides_distribution����s$���� c���������C��s;���|��j��|���}�|�d�k�r.�t�d�|�����n��|�j�|���S(���u5��� Return the path to a resource file. u���no distribution named %r foundN(���R[���R!���t���LookupErrort���get_resource_path(���R���R���t ���relative_pathR���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt ���get_file_path��s����c���������c��s����xy�|��j�����D]k�}�|�j�}�|�|�k�r �|�|�}�|�d�k �rY�|�|�k�ru�|�|�Vqu�qx�x�|�j����D]�}�|�Vqf�Wq �q �Wd�S(���u���� Return all of the exported entries in a particular category. :param category: The category to search for entries. :param name: If specified, only entries with that name are returned. N(���RX���t���exportsR!���RW���(���R���t���categoryR���R���RE���t���dt���v(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���get_exported_entries"��s���� N(���R���R���R���R!���R���R���R+���R-���t���propertyt ���cache_enabledR.���RM���RR���t���classmethodRV���RX���R[���Rd���Rh���Rm���(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR ���J���s��� * $ t���Distributionc�����������B��s����e��Z�d��Z�e�Z�e�Z�d����Z�e�d������Z�e�Z �e�d������Z �e�d������Z�d����Z�e�d������Z �e�d������Z�e�d������Z�e�d ������Z�e�d ������Z�d����Z�d����Z�d ����Z�d����Z�RS(���u���� A base class for distributions, whether installed or from indexes. Either way, it must have some metadata, so that's all that's needed for construction. c���������C��sp���|�|��_��|�j�|��_�|��j�j����|��_�|�j�|��_�d�|��_�d�|��_�d�|��_�d�|��_ �t ����|��_�i��|��_�d�S(���u���� Initialise an instance. :param metadata: The instance of :class:`Metadata` describing this distribution. N( ���R1���R���RY���R���RU���R!���t���locatort���digestt���extrast���contextR3���t ���download_urlst���digests(���R���R1���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR���G��s���� c���������C��s ���|��j��j�S(���uH��� The source archive download URL for this distribution. (���R1���t ���source_url(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyRx���X��s����c���������C��s���d�|��j��|��j�f�S(���uX��� A utility property which displays the name and version in parentheses. u���%s (%s)(���R���RU���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���name_and_versiona��s����c���������C��sB���|��j��j�}�d�|��j�|��j�f�}�|�|�k�r>�|�j�|���n��|�S(���u���� A set of distribution names and versions provided by this distribution. :return: A set of "name (version)" strings. u���%s (%s)(���R1���R^���R���RU���R���(���R���t���plistt���s(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR^���h��s ����c���������C��sS���|��j��}�t�j�d�|�j������t�|�|���}�t�|�j�|�d�|��j�d�|��j����S(���Nu%���Getting requirements from metadata %rRt���R2���( ���R1���R?���R@���t���todictt���getattrR3���t���get_requirementsRt���Ru���(���R���t���req_attrt���mdt���reqts(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_get_requirementst��s ���� c���������C��s ���|��j��d���S(���Nu���run_requires(���R����(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���run_requires{��s����c���������C��s ���|��j��d���S(���Nu ���meta_requires(���R����(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt ���meta_requires��s����c���������C��s ���|��j��d���S(���Nu���build_requires(���R����(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���build_requires���s����c���������C��s ���|��j��d���S(���Nu ���test_requires(���R����(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt ���test_requires���s����c���������C��s ���|��j��d���S(���Nu���dev_requires(���R����(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���dev_requires���s����c��� ������C��s����t��|���}�t�|��j�j���}�y�|�j�|�j���}�Wn@�t�k �rv�t�j�d�|���|�j ����d�}�|�j�|���}�n�X|�j �}�t�}�x]�|��j�D]R�}�t �|���\�}�} �|�|�k�r��q��n��y�|�j�| ���}�PWq��t�k �r��q��Xq��W|�S(���u���� Say if this instance matches (fulfills) a requirement. :param req: The requirement to match. :rtype req: str :return: True if it matches, else False. u+���could not read version %r - using name onlyi����(���R ���R���R1���R0���R\���t���requirementR���R?���t���warningt���splitR���R���R^���R���R_���( ���R���t���reqRE���R0���R\���R���RZ���Ra���Rb���Rc���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���matches_requirement���s*���� c���������C��s6���|��j��r�d�|��j��}�n�d�}�d�|��j�|��j�|�f�S(���uC��� Return a textual representation of this instance, u��� [%s]u����u���<Distribution %s (%s)%s>(���Rx���R���RU���(���R���t���suffix(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���__repr__���s���� c���������C��s[���t��|���t��|����k �r!�t�}�n6�|��j�|�j�k�oT�|��j�|�j�k�oT�|��j�|�j�k�}�|�S(���u<�� See if this distribution is the same as another. :param other: The distribution to compare with. To be equal to one another. distributions must have the same type, name, version and source_url. :return: True if it is the same, else False. (���t���typeR���R���RU���Rx���(���R���t���otherRZ���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���__eq__���s���� c���������C��s'���t��|��j���t��|��j���t��|��j���S(���uH��� Compute hash in a way which matches the equality test. (���t���hashR���RU���Rx���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���__hash__���s����(���R���R���R���R���t���build_time_dependencyt ���requestedR���Rn���Rx���t���download_urlRy���R^���R����R����R����R����R����R����R����R����R����R����(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyRq���5��s$��� " t���BaseInstalledDistributionc�����������B��s,���e��Z�d��Z�d�Z�d�d���Z�d�d���Z�RS(���u]��� This is the base class for installed distributions (whether PEP 376 or legacy). c���������C��s,���t��t�|����j�|���|�|��_�|�|��_�d�S(���u�� Initialise an instance. :param metadata: An instance of :class:`Metadata` which describes the distribution. This will normally have been initialised from a metadata file in the ``path``. :param path: The path of the ``.dist-info`` or ``.egg-info`` directory for the distribution. :param env: This is normally the :class:`DistributionPath` instance where this distribution was found. N(���t���superR����R���R���t ���dist_path(���R���R1���R���R2���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR������s���� c���������C��s����|�d�k�r�|��j�}�n��|�d�k�r6�t�j�}�d�}�n�t�t�|���}�d�|��j�}�|�|���j����}�t�j�|���j�d���j �d���}�d�|�|�f�S(���u��� Get the hash of some data, using a particular hash algorithm, if specified. :param data: The data to be hashed. :type data: bytes :param hasher: The name of a hash implementation, supported by hashlib, or ``None``. Examples of valid values are ``'sha1'``, ``'sha224'``, ``'sha384'``, '``sha256'``, ``'md5'`` and ``'sha512'``. If no hasher is specified, the ``hasher`` attribute of the :class:`InstalledDistribution` instance is used. If the hasher is determined to be ``None``, MD5 is used as the hashing algorithm. :returns: The hash of the data. If a hasher was explicitly specified, the returned hash will be prefixed with the specified hasher followed by '='. :rtype: str u����u���%s=t���=u���asciiu���%s%sN( ���R!���t���hashert���hashlibt���md5R}���Rs���t���base64t���urlsafe_b64encodet���rstript���decode(���R���t���dataR����t���prefixRs���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���get_hash���s���� !N(���R���R���R���R!���R����R���R����(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�������s���RO���c�����������B��s����e��Z�d��Z�d�Z�d�d�d���Z�d����Z�d����Z�d����Z�e �d������Z �d����Z�d����Z�d ����Z �d ����Z�e�d���Z�d����Z�e �d ������Z�e�d���Z�d����Z�d����Z�d����Z�d����Z�e�j�Z�RS(���u�� Created with the *path* of the ``.dist-info`` directory provided to the constructor. It reads the metadata contained in ``pydist.json`` when it is instantiated., or uses a passed in Metadata instance (useful for when dry-run mode is being used). u���sha256c������ ���C��s���t��j�|���|��_�}�|�d��k�r;�d�d��l�}�|�j����n��|�rr�|�j�rr�|�|�j�j�k�rr�|�j�j�|�j �}�n��|�d��k�r$|�j �t���}�|�d��k�r��|�j �t���}�n��|�d��k�r��|�j �d���}�n��|�d��k�r��t �d�t�|�f�����n��t�j�|�j��������}�t�d�|�d�d���}�Wd��QXn��t�t�|����j�|�|�|���|�rb|�j�rb|�j�j�|����n��y�|�j �d���}�Wn'�t�k �r�d�d��l�}�|�j����n�X|�d��k �|��_�d��S(���Ni����u���METADATAu���no %s found in %sR/���R0���u���legacyu ���REQUESTED(���R���R4���RD���R!���t���pdbt ���set_traceR(���R&���R���R1���R5���R���R���R]���R<���R=���R>���R���R����RO���R���R���t���AttributeErrorR����(���R���R���R1���R2���RD���R����RE���RL���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�����s4����� ! �c���������C��s���d�|��j��|��j�|��j�f�S(���Nu#���<InstalledDistribution %r %s at %r>(���R���RU���R���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR����2��s����c���������C��s���d�|��j��|��j�f�S(���Nu���%s %s(���R���RU���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���__str__6��s����c������ ���C��s����g��}�|��j��d���}�t�j�|�j���������}�t�d�|����i�}�x_�|�D]W�}�g��t�t�|���d���D]�}�d�^�qb�}�|�|�\�}�} �} �|�j�|�| �| �f���qF�WWd�QXWd�QX|�S(���u"�� Get the list of installed files for the distribution :return: A list of tuples of path, hash and size. Note that hash and size might be ``None`` for some entries. The path is exactly as stored in the file (which is as in PEP 376). u���RECORDRL���i���N( ���t���get_distinfo_resourceR<���R=���R>���R���t���ranget���lenR!���R���(���R���t���resultsRE���RL���t ���record_readert���rowt���it���missingR���t���checksumt���size(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_get_records9��s���� (&c���������C��s.���i��}�|��j��t���}�|�r*�|��j����}�n��|�S(���u�� Return the information exported by this distribution. :return: A dictionary of exports, mapping an export category to a dict of :class:`ExportEntry` instances describing the individual export entries, and keyed by name. (���R����t���EXPORTS_FILENAMER���(���R���RZ���RE���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyRi���P��s ����c���������C��sL���i��}�|��j��t���}�|�rH�t�j�|�j��������}�t�|���}�Wd�QXn��|�S(���u���� Read exports data from a file in .ini format. :return: A dictionary of exports, mapping an export category to a list of :class:`ExportEntry` instances describing the individual export entries. N(���R����R����R<���R=���R>���R���(���R���RZ���RE���RL���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR���^��s����c���������C��s8���|��j��t���}�t�|�d�����}�t�|�|���Wd�QXd�S(���u�� Write a dictionary of exports to a file in .ini format. :param exports: A dictionary of exports, mapping an export category to a list of :class:`ExportEntry` instances describing the individual export entries. u���wN(���t���get_distinfo_fileR����t���openR ���(���R���Ri���t���rft���f(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR ���m��s����c���������C��s����|��j��d���}�t�j�|�j�������F�}�t�d�|����.�}�x$�|�D]�\�}�}�|�|�k�r@�|�Sq@�WWd�QXWd�QXt�d�|�����d�S(���uW�� NOTE: This API may change in the future. Return the absolute path to a resource file with the given relative path. :param relative_path: The path, relative to .dist-info, of the resource of interest. :return: The absolute path where the resource is to be found. u ���RESOURCESRL���Nu3���no resource file with relative path %r is installed(���R����R<���R=���R>���R���t���KeyError(���R���Rg���RE���RL���t���resources_readert���relativet���destination(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyRf���x��s����c���������c��s ���x�|��j�����D]�}�|�Vq �Wd�S(���u���� Iterates over the ``RECORD`` entries and returns a tuple ``(path, hash, size)`` for each line. :returns: iterator of (path, hash, size) N(���R����(���R���RZ���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���list_installed_files���s����c���������C��s���t��j�j�|�d���}�t��j�j�|��j���}�|�j�|���}�t��j�j�|�d���}�|��j�d���}�t�j�d�|���|�rw�d�St �|����}�x��|�D]��}�t��j�j �|���s��|�j�d ���r��d�} �} �nC�d�t��j�j�|���} �t �|�d�����}�|��j�|�j������} �Wd�QX|�j�|���s(|�r@|�j�|���r@t��j�j�|�|���}�n��|�j�|�| �| �f���q��W|�j�|���r�t��j�j�|�|���}�n��|�j�|�d�d�f���Wd�QX|�S( ���u���� Writes the ``RECORD`` file, using the ``paths`` iterable passed in. Any existing ``RECORD`` file is silently overwritten. prefix is used to determine when to write absolute paths. u����u���RECORDu���creating %su���.pycu���.pyou���%du���rbN(���u���.pycu���.pyo(���t���osR���R;���t���dirnamet ���startswithR����R?���t���infoR!���R���t���isdirR8���t���getsizeR����R����t���readt���relpatht���writerow(���R���t���pathsR����t���dry_runt���baset���base_under_prefixt���record_patht���writerR���t ���hash_valueR����t���fp(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���write_installed_files���s.���� ! c������ ���C��s���g��}�t��j�j�|��j���}�|��j�d���}�xn|��j����D]`\�}�}�}�t��j�j�|���sp�t��j�j�|�|���}�n��|�|�k�r��q7�n��t��j�j�|���s��|�j�|�d�t �t �f���q7�t��j�j�|���r7�t�t��j�j �|�����}�|�r|�|�k�r|�j�|�d�|�|�f���q�|�r�d�|�k�r3|�j�d�d���d�}�n�d �}�t�|�d����G�} �|��j�| �j����|���} �| �|�k�r�|�j�|�d�|�| �f���n��Wd �QXq�q7�q7�W|�S( ���u��� Checks that the hashes and sizes of the files in ``RECORD`` are matched by the files themselves. Returns a (possibly empty) list of mismatches. Each entry in the mismatch list will be a tuple consisting of the path, 'exists', 'size' or 'hash' according to what didn't match (existence is checked first, then size, then hash), the expected value and the actual value. u���RECORDu���existsu���sizeu���=i���i����u���rbu���hashN(���R����R���R����R����R����t���isabsR;���t���existsR���R#���R���t���isfilet���strR����R����R!���R����R����R����(���R���t ���mismatchesR����R����R���R����R����t���actual_sizeR����R����t���actual_hash(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���check_installed_files���s.���� ,c���������C��s����i��}�t��j�j�|��j�d���}�t��j�j�|���r��t�j�|�d�d�d����}�|�j����j����}�Wd�QXx[�|�D]P�}�|�j�d�d���\�}�}�|�d�k�r��|�j �|�g����j �|���qj�|�|�|�<qj�Wn��|�S( ���u��� A dictionary of shared locations whose keys are in the set 'prefix', 'purelib', 'platlib', 'scripts', 'headers', 'data' and 'namespace'. The corresponding value is the absolute path of that category for this distribution, and takes into account any paths selected by the user at installation time (e.g. via command-line arguments). In the case of the 'namespace' key, this would be a list of absolute paths for the roots of namespace packages in this distribution. The first time this property is accessed, the relevant information is read from the SHARED file in the .dist-info directory. u���SHAREDu���rt���encodingu���utf-8Nu���=i���u ���namespace(���R����R���R;���R����t���codecsR����R����t ���splitlinesR����R���R���(���R���RZ���t���shared_pathR����t���linest���lineR���R,���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���shared_locations���s���� c��� ������C��s����t��j�j�|��j�d���}�t�j�d�|���|�r2�d�Sg��}�xH�d�D]@�}�|�|�}�t��j�j�|�|���r?�|�j�d�|�|�f���q?�q?�Wx+�|�j�d �d���D]�}�|�j�d �|���q��Wt �j �|�d�d�d ����}�|�j�d�j�|�����Wd�QX|�S(���ua�� Write shared location information to the SHARED file in .dist-info. :param paths: A dictionary as described in the documentation for :meth:`shared_locations`. :param dry_run: If True, the action is logged but no file is actually written. :return: The path of the file written to. u���SHAREDu���creating %su���prefixu���libu���headersu���scriptsu���datau���%s=%su ���namespaceu���namespace=%su���wR����u���utf-8u��� N(���u���prefixu���libu���headersu���scriptsu���data(����(���R����R���R;���R?���R����R!���R����R���t���getR����R����t���write( ���R���R����R����R����R����R���R���t���nsR����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���write_shared_locations���s���� c���������C��si���|�t��k�r(�t�d�|�|��j�f�����n��t�j�|��j���}�|�d��k�r\�t�d�|��j�����n��|�j�|���S(���Nu+���invalid path for a dist-info file: %r at %ru���Unable to get a finder for %s(���t ���DIST_FILESR���R���R���R4���R!���R5���(���R���R���RD���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR������s����c���������C��s����|�j��t�j���d�k�rx�|�j�t�j���d�\�}�}�|�|��j�j�t�j���d�k�rx�t�d�|�|��j�|��j�f�����qx�n��|�t�k�r��t�d�|�|��j�f�����n��t�j�j �|��j�|���S(���u��� Returns a path located under the ``.dist-info`` directory. Returns a string representing the path. :parameter path: a ``'/'``-separated path relative to the ``.dist-info`` directory or an absolute path; If *path* is an absolute path and doesn't start with the ``.dist-info`` directory path, a :class:`DistlibException` is raised :type path: str :rtype: str i����i����i����u;���dist-info file %r does not belong to the %r %s distributionu+���invalid path for a dist-info file: %r at %r( ���R5���R����t���sepR����R���R���R���RU���R����R;���(���R���R���RV���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR������s����c���������c��s}���t��j�j�|��j���}�xa�|��j����D]S�\�}�}�}�t��j�j�|���s[�t��j�j�|�|���}�n��|�j�|��j���r"�|�Vq"�q"�Wd�S(���u���� Iterates over the ``RECORD`` entries and returns paths for each line if the path is pointing to a file located in the ``.dist-info`` directory or one of its subdirectories. :returns: iterator of paths N(���R����R���R����R����R����R;���R����(���R���R����R���R����R����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���list_distinfo_files6��s����c���������C��s���t��|�t���o�|��j�|�j�k�S(���N(���RN���RO���R���(���R���R����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR����F��s����N(���R���R���R���R����R!���R���R����R����R����R ���Ri���R���R ���Rf���R����R���R����R����R����R����R����R����R����R����t���objectR����(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyRO��� ��s(��� # # t���EggInfoDistributionc�����������B��sq���e��Z�d��Z�e�Z�i��Z�d �d���Z�d����Z�d����Z �d����Z �d����Z�d����Z�e �d���Z�d����Z�e�j�Z�RS( ���u��Created with the *path* of the ``.egg-info`` directory or file provided to the constructor. It reads the metadata contained in the file itself, or if the given path happens to be a directory, the metadata is read from the file ``PKG-INFO`` under that directory.c���������C��s����d����}�|�|��_��|�|��_�|�rh�|�j�rh�|�|�j�j��k�rh�|�j�j��|�j�}�|�|��|�j�|�j���nG�|��j�|���}�|�|��|�j�|�j���|�r��|�j�r��|�j�j�|����n��t �t �|����j�|�|�|���d��S(���Nc���������S��s%���|�|��_��|�j����|��_�|�|��_�d��S(���N(���R���RY���R���RU���(���R{���t���nRl���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���set_name_and_versionX��s���� (���R���R����R(���R'���R1���R���RU���t ���_get_metadataR���R����R����R���(���R���R���R2���R����R1���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR���W��s���� !c��� ��������s���d��}�d����������f�d����}�|�j�d���rt�j�j�|���r��t�j�j�|�d�d���}�t�d�|�d�d���}�t�j�j�|�d�d ���}�|�|���}�q�t�j�|���}�t �|�j �d ���j�d�����}�t�d�|�d�d���}�y(�|�j �d ���} ����| �j�d�����}�Wq�t�k �rd��}�q�Xn��|�j�d���r�t�j�j�|���rtt�j�j�|�d ���}�|�|���}�t�j�j�|�d���}�n��t�d�|�d�d���}�n�t �d�|�����|�r�|�j�|���n��|�S(���Nc���������S��s����g��}�|��j�����}�x��|�D]��}�|�j����}�|�j�d���rN�t�j�d�|���Pn��t�|���}�|�sv�t�j�d�|���q�n��|�j�r��t�j�d���n��|�j�s��|�j�|�j ���q�d�j �d����|�j�D����}�|�j�d�|�j �|�f���q�W|�S(���u����Create a list of dependencies from a requires.txt file. *data*: the contents of a setuptools-produced requires.txt file. u���[u.���Unexpected line: quitting requirement scan: %ru#���Not recognised as a requirement: %ru4���extra requirements in requires.txt are not supportedu���, c���������s��s���|��]�}�d��|�Vq�d�S(���u���%s%sN(����(���t���.0t���c(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pys ���<genexpr>���s����u���%s (%s)(���R����t���stripR����R?���R����R ���Rt���t���constraintsR���R���R;���(���R����t���reqsR����R����RE���t���cons(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���parse_requires_datao��s&���� c�����������sR���g��}�y4�t��j�|��d�d�����}����|�j������}�Wd�QXWn�t�k �rM�n�X|�S(���u����Create a list of dependencies from a requires.txt file. *req_path*: the path to a setuptools-produced requires.txt file. u���ru���utf-8N(���R����R����R����t���IOError(���t���req_pathR����R����(���R����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���parse_requires_path���s���� u���.eggu���EGG-INFOu���PKG-INFOR���R0���u���legacyu���requires.txtu���EGG-INFO/PKG-INFOu���utf8R/���u���EGG-INFO/requires.txtu���utf-8u ���.egg-infou,���path must end with .egg-info or .egg, got %r(���R!���R8���R����R���R����R;���R���t ���zipimportt���zipimporterR���t���get_dataR����R����R���t���add_requirements( ���R���R���t���requiresR����t ���meta_pathR1���R����t���zipfR/���R����(����(���R����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR����l��s:���� c���������C��s���d�|��j��|��j�|��j�f�S(���Nu!���<EggInfoDistribution %r %s at %r>(���R���RU���R���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�������s����c���������C��s���d�|��j��|��j�f�S(���Nu���%s %s(���R���RU���(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�������s����c���������C��s����g��}�t��j�j�|��j�d���}�t��j�j�|���r��x`�|��j����D]O�\�}�}�}�|�|�k�r^�q=�n��t��j�j�|���s=�|�j�|�d�t�t�f���q=�q=�Wn��|�S(���u��� Checks that the hashes and sizes of the files in ``RECORD`` are matched by the files themselves. Returns a (possibly empty) list of mismatches. Each entry in the mismatch list will be a tuple consisting of the path, 'exists', 'size' or 'hash' according to what didn't match (existence is checked first, then size, then hash), the expected value and the actual value. u���installed-files.txtu���exists(���R����R���R;���R����R����R���R#���R���(���R���R����R����R���t���_(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�������s���� #c������ ���C��s2��d����}�d����}�t��j�j�|��j�d���}�g��}�t��j�j�|���r.t�j�|�d�d�d�����}�x��|�D]��}�|�j����}�t��j�j�t��j�j�|��j�|�����}�t��j�j�|���s��t�j �d�|���|�j �d���r��qd�q��n��t��j�j�|���sd�|�j�|�|�|���|�|���f���qd�qd�WWd �QX|�j�|�d �d �f���n��|�S(���u���� Iterates over the ``installed-files.txt`` entries and returns a tuple ``(path, hash, size)`` for each line. :returns: a list of (path, hash, size) c���������S��s@���t��|��d���}�z�|�j����}�Wd��|�j����Xt�j�|���j����S(���Nu���rb(���R����R����t���closeR����R����t ���hexdigest(���R���R����t���content(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_md5���s ����c���������S��s���t��j�|����j�S(���N(���R����t���statt���st_size(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���_size���s����u���installed-files.txtu���rR����u���utf-8u���Non-existent file: %su���.pycu���.pyoN(���u���.pycu���.pyo(���R����R���R;���R����R����R����R����t���normpathR?���R����R8���R����R���R!���(���R���R���R��R����RZ���R����R����Ra���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�������s"���� $ /c������ ���c��s����t��j�j�|��j�d���}�t�}�t�j�|�d�d�d�����}�x��|�D]�}�|�j����}�|�d�k�rj�t�}�q@�n��|�s@�t��j�j�t��j�j�|��j�|�����}�|�j �|��j���r��|�r��|�Vq��|�Vq��q@�q@�WWd�QXd�S(���u�� Iterates over the ``installed-files.txt`` entries and returns paths for each line if the path is pointing to a file located in the ``.egg-info`` directory or one of its subdirectories. :parameter absolute: If *absolute* is ``True``, each returned path is transformed into a local absolute path. Otherwise the raw value from ``installed-files.txt`` is returned. :type absolute: boolean :returns: iterator of paths u���installed-files.txtu���rR����u���utf-8u���./N( ���R����R���R;���R#���R����R����R����R���R��R����(���R���t���absoluteR����t���skipR����R����Ra���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�������s���� $c���������C��s���t��|�t���o�|��j�|�j�k�S(���N(���RN���R����R���(���R���R����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR������s����N(���R���R���R���R#���R����R����R!���R���R����R����R����R����R����R���R����R����R����R����(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR����N��s��� K & t���DependencyGraphc�����������B��sh���e��Z�d��Z�d����Z�d����Z�d�d���Z�d����Z�d����Z�d�d���Z �e �d���Z�d ����Z�d ����Z �RS(���u��� Represents a dependency graph between distributions. The dependency relationships are stored in an ``adjacency_list`` that maps distributions to a list of ``(other, label)`` tuples where ``other`` is a distribution and the edge is labeled with ``label`` (i.e. the version specifier, if such was provided). Also, for more efficient traversal, for every distribution ``x``, a list of predecessors is kept in ``reverse_list[x]``. An edge from distribution ``a`` to distribution ``b`` means that ``a`` depends on ``b``. If any missing dependencies are found, they are stored in ``missing``, which is a dictionary that maps distributions to a list of requirements that were not provided by any other distributions. c���������C��s���i��|��_��i��|��_�i��|��_�d��S(���N(���t���adjacency_listt���reverse_listR����(���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR���.��s���� c���������C��s���g��|��j��|�<g��|��j�|�<d�S(���u����Add the *distribution* to the graph. :type distribution: :class:`distutils2.database.InstalledDistribution` or :class:`distutils2.database.EggInfoDistribution` N(���R��R ��(���R���t���distribution(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���add_distribution3��s���� c���������C��sH���|��j��|�j�|�|�f���|�|��j�|�k�rD�|��j�|�j�|���n��d�S(���u���Add an edge from distribution *x* to distribution *y* with the given *label*. :type x: :class:`distutils2.database.InstalledDistribution` or :class:`distutils2.database.EggInfoDistribution` :type y: :class:`distutils2.database.InstalledDistribution` or :class:`distutils2.database.EggInfoDistribution` :type label: ``str`` or ``None`` N(���R��R���R ��(���R���t���xt���yt���label(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���add_edge=��s���� c���������C��s3���t��j�d�|�|���|��j�j�|�g����j�|���d�S(���u�� Add a missing *requirement* for the given *distribution*. :type distribution: :class:`distutils2.database.InstalledDistribution` or :class:`distutils2.database.EggInfoDistribution` :type requirement: ``str`` u ���%s missing %rN(���R?���R@���R����R���R���(���R���R ��R����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���add_missingL��s����c���������C��s���d�|�j��|�j�f�S(���Nu���%s %s(���R���RU���(���R���R���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt ���_repr_distW��s����i���c���������C��s����|��j��|���g�}�x��|��j�|�D]��\�}�}�|��j��|���}�|�d�k �rZ�d�|�|�f�}�n��|�j�d�|�t�|�����|��j�|�|�d���}�|�j�d���}�|�j�|�d���q �Wd�j�|���S(���u���Prints only a subgraphu���%s [%s]u��� i���u��� N( ���R��R��R!���R���R����t ���repr_nodeR����t���extendR;���(���R���R���t���levelt���outputR����R��t ���suboutputt���subs(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR��Z��s����c���������C��sR��g��}�|�j��d���x��|��j�j����D]��\�}�}�t�|���d�k�rX�|�rX�|�j�|���n��x`�|�D]X�\�}�}�|�d�k �r��|�j��d�|�j�|�j�|�f���q_�|�j��d�|�j�|�j�f���q_�Wq#�W|�rAt�|���d�k�rA|�j��d���|�j��d���|�j��d���x/�|�D]'�}�|�j��d�|�j���|�j��d ���qW|�j��d ���n��|�j��d ���d�S(���u9��Writes a DOT output for the graph to the provided file *f*. If *skip_disconnected* is set to ``True``, then all distributions that are not dependent on any other distribution are skipped. :type f: has to support ``file``-like operations :type skip_disconnected: ``bool`` u���digraph dependencies { i����u���"%s" -> "%s" [label="%s"] u ���"%s" -> "%s" u���subgraph disconnected { u���label = "Disconnected" u���bgcolor = red u���"%s"u��� u���} N(���R����R��t���itemsR����R���R!���R���(���R���R����t���skip_disconnectedt���disconnectedR���t���adjsR����R��(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���to_dotg��s&���� % c���������C��s=��g��}�i��}�x(�|��j��j����D]�\�}�}�|�|�|�<q�Wx��t�r&g��}�x>�t�|�j������D])�\�}�}�|�sZ�|�j�|���|�|�=qZ�qZ�W|�s��Pn��xO�|�j����D]A�\�}�}�g��|�D]$�\�}�}�|�|�k�r��|�|�f�^�q��|�|�<q��Wt�j�d�g��|�D]�}�d�|�j�|�j�f�^�q����|�j �|���q:�W|�t�|�j ������f�S(���ua�� Perform a topological sort of the graph. :return: A tuple, the first element of which is a topologically sorted list of distributions, and the second element of which is a list of distributions that cannot be sorted because they have circular dependencies and so form a cycle. u���Moving to result: %su���%s (%s)(���R��R��R#���t���listR���R?���R@���R���RU���R��t���keys(���R���RZ���t���alistt���kRl���t ���to_removeRk���RE���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���topological_sort���s$���� 9 *c���������C��sI���g��}�x3�|��j��j����D]"�\�}�}�|�j�|��j�|�����q�Wd�j�|���S(���u���Representation of the graphu��� (���R��R��R���R��R;���(���R���R��R���R��(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR�������s����N(���R���R���R���R���R��R!���R��R��R��R��R#���R��R"��R����(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyR����s��� u���defaultc���������C��s���t��|���}�t����}�i��}�xv�|��D]n�}�|�j�|���xX�|�j�D]M�}�t�|���\�}�}�t�j�d�|�|�|���|�j�|�g����j�|�|�f���q?�Wq"�Wx5|��D]-}�|�j �|�j �B|�j�B|�j�B}�x|�D]��} �y�|�j �| ���} �Wn@�t�k �r!t�j�d�| ���| �j����d�}�|�j �|���} �n�X| �j�}�t�}�|�|�k�r�xk�|�|�D]\�\�}�}�y�| �j�|���} �Wn�t�k �r�t�} �n�X| �rH|�j�|�|�| ���t�}�PqHqHWn��|�s��|�j�|�| ���q��q��Wq��W|�S(���u6��Makes a dependency graph from the given distributions. :parameter dists: a list of distributions :type dists: list of :class:`distutils2.database.InstalledDistribution` and :class:`distutils2.database.EggInfoDistribution` instances :rtype: a :class:`DependencyGraph` instance u���Add to provided: %s, %s, %su+���could not read version %r - using name onlyi����(���R���R��R��R^���R���R?���R@���R���R���R����R����R����R����R\���R���R����R����R���R���R_���R��R#���R��(���t���distsR0���t���graphR`���R���Ra���R���RU���R����R����R\���t���matchedt���providerR_���(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt ���make_graph���sD���� ' c���������C��s����|�|��k�r"�t��d�|�j�����n��t�|����}�|�g�}�|�j�|�}�xW�|�r��|�j����}�|�j�|���x1�|�j�|�D]"�}�|�|�k�rt�|�j�|���qt�qt�WqG�W|�j�d���|�S(���u����Recursively generate a list of distributions from *dists* that are dependent on *dist*. :param dists: a list of distributions :param dist: a distribution, member of *dists* for which we are interested u1���given distribution %r is not a member of the listi����(���R���R���R'��R ��t���popR���(���R#��R���R$��t���dept���todoRk���t���succ(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���get_dependent_dists���s���� c���������C��s����|�|��k�r"�t��d�|�j�����n��t�|����}�g��}�|�j�|�}�x[�|�r��|�j����d�}�|�j�|���x1�|�j�|�D]"�}�|�|�k�ru�|�j�|���qu�qu�WqD�W|�S(���u����Recursively generate a list of distributions from *dists* that are required by *dist*. :param dists: a list of distributions :param dist: a distribution, member of *dists* for which we are interested u1���given distribution %r is not a member of the listi����(���R���R���R'��R��R(��R���(���R#��R���R$��R����R*��Rk���t���pred(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���get_required_dists���s���� c���������K��sI���|�j��d�d���}�t�|����}�|��|�_�|�|�_�|�p9�d�|�_�t�|���S(���uO��� A convenience method for making a dist given just a name and version. u���summaryu���Placeholder for summary(���R(��R���R���RU���t���summaryRq���(���R���RU���t���kwargsR/��R����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt ���make_dist��s���� (6���R���t ���__future__R����R����R����R<���R����t���loggingR����R:���R"���R����t����R���R���t���compatR���RU���R���R���R1���R���R���R���t���utilR ���R ���R���R���R ���R���R���t���__all__t ���getLoggerR���R?���R����t���COMMANDS_FILENAMER����R9���R����R���R ���Rq���R����RO���R����RA���RB���R��R'��R,��R.��R1��(����(����(����s@���/usr/lib/python2.7/site-packages/pip/_vendor/distlib/database.pyt���<module>���sL���4 ��7��F��6