7f LddlmZmZmZddlmZddlmZGddZdS)) FrozenSetOptionalSet)canonicalize_name) CommandErrorc eZdZdZddgZ ddeeedeeeddfdZde de fdZ defd Z e d ed eedeeddfd Zd edeefdZddZdS) FormatControlzBHelper for managing formats from which a package can be installed. no_binary only_binaryNreturncb|t}|t}||_||_dSN)setr r )selfr r s /builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/models/format_control.py__init__zFormatControl.__init__ s7  I  %%K"&otherctjstSjjkrdSt fdjDS)NFc3\K|]&}t|t|kV'dSr)getattr).0krrs r z'FormatControl.__eq__..!s<QQQ74##wua'8'88QQQQQQr) isinstance __class__NotImplemented __slots__all)rrs``r__eq__zFormatControl.__eq__sZ%00 "! ! >U_ , ,5QQQQQ$.QQQQQQrc@|jjd|jd|jdS)N(z, ))r__name__r r rs r__repr__zFormatControl.__repr__#s+.)QQDNQQd>NQQQQrvaluetargetc|drtd|d}d|vrb|||d|d|ddz=d|vrdSd|vb|D]V}|dkr|t |}||||WdS)N-z7--no-binary / --only-binary option requires 1 argument.,:all:z:none:) startswithrsplitclearaddindexrdiscard)r'r(rnewnames rhandle_mutual_excludesz$FormatControl.handle_mutual_excludes&s   C  I kk#nn KKMMM LLNNN JJw   ,cii((1,,-s""nn  Dx $T**D MM$    JJt       rcanonical_namecddh}||jvr|dn\||jvr|dn=d|jvr|dnd|jvr|dt|S)Nbinarysourcer,)r r3r frozenset)rr7results rget_allowed_formatsz!FormatControl.get_allowed_formats=sH% T- - - NN8 $ $ $ $ t~ - - NN8 $ $ $ $ ( ( ( NN8 $ $ $ $  & & NN8 $ $ $   rcH|d|j|jdS)Nr,)r6r r r%s rdisallow_binarieszFormatControl.disallow_binariesIs2 ##  N       r)NN)r N)r$ __module__ __qualname____doc__rrrstrrobjectboolr r& staticmethodr6rr=r?rrr r s:LLm,I)-*. ' 'CH% 'c#h' '  ' ' ' 'RFRtRRRRR#RRRRc3s8CHQU\, !# !)C. ! ! ! !      rr N) typingrrrpip._vendor.packaging.utilsrpip._internal.exceptionsrr rGrrrKs++++++++++999999111111F F F F F F F F F F r