File: //opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/format_control.pyc
�
+�Rec           @   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   canonicalize_name(   t   CommandError(   t   MYPY_CHECK_RUNNING(   t   Optionalt   Sett	   FrozenSett
   FormatControlc           B   se   e  Z d  Z d d g Z d
 d
 d � Z d �  Z d �  Z d �  Z e	 d �  � Z
 d �  Z d	 �  Z RS(   sG   Helper for managing formats from which a package can be installed.
    t	   no_binaryt   only_binaryc         C   sF   | d  k r t �  } n  | d  k r0 t �  } n  | |  _ | |  _ d  S(   N(   t   Nonet   setR   R   (   t   selfR   R   (    (    sT   /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/format_control.pyt   __init__   s    	c            sL   t  �  � j � s t S� j �  j k r, t St �  � f d �  � j D� � S(   Nc         3   s-   |  ]# } t  � | � t  �  | � k Vq d  S(   N(   t   getattr(   t   .0t   k(   t   otherR   (    sT   /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/format_control.pys	   <genexpr>#   s   (   t
   isinstancet	   __class__t   NotImplementedt	   __slots__t   Falset   all(   R   R   (    (   R   R   sT   /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/format_control.pyt   __eq__   s    c         C   s   |  j  | � S(   N(   R   (   R   R   (    (    sT   /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/models/format_control.pyt   __ne__'