%PDF- %PDF-
Direktori : /lib/python3/dist-packages/setuptools/_distutils/__pycache__/ |
Current File : //lib/python3/dist-packages/setuptools/_distutils/__pycache__/versionpredicate.cpython-312.pyc |
� _�dU � �T � d Z ddlZddlmZ ddlZ ej dej � Z ej d� Z ej d� Z d� Z ej ej ej ej ej ej d �Z G d � d� Zdad� Zy) zBModule for parsing and testing package version predicate strings. � N� )�versionz'(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)z^\s*\((.*)\)\s*$z%^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$c � � t j | � }|st d| z � �|j � \ }}t j � 5 t j |� }ddd� ||fS # 1 sw Y |fS xY w)zVParse a single version comparison. Return (comparison string, StrictVersion) z"bad package restriction syntax: %rN)�re_splitComparison�match� ValueError�groupsr �suppress_known_deprecation� StrictVersion)�pred�res�comp�verStr�others �H/usr/lib/python3/dist-packages/setuptools/_distutils/versionpredicate.py�splitUpr sw � � � "� "�4� (�C���=��D�E�E��:�:�<�L�D�&� � +� +� -� .��%�%�f�-��.��%�=��.��%�=��s � A/�/A;)�<z<=z==�>z>=z!=c �"