Repository URL to install this package:
Version:
0.1.6-1 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
setuptools
/
__pycache__
/
depends.cpython-311.pyc
|
---|
§ ãbg# ã óþ d dl mZ d dlZd dlZd dlZd dlZd dlmZ ddlm Z ddl m Z mZmZm Z ddgZ G d d¦ « Zd Zej d¦ « sej dk rdddZdddZeddgz ZdS dS dS )é )ÚannotationsN)ÚVersioné )Ú_imp)ÚPY_COMPILEDÚ PY_FROZENÚ PY_SOURCEÚfind_moduleÚRequirer c óH e Zd ZdZ dddZd Zd ZdddZddZdd Z dS )r z7A prerequisite to building or installing a distributionÚ NÚhomepageÚstrc ó | |t }| ||¦ « }|d}| j t ¦ « ¦ « | `d S )NÚ__version__)r Ú__dict__ÚupdateÚlocalsÚself)r ÚnameÚrequested_versionÚmoduler Ú attributeÚformats ú9/tmp/pip-target-vp8_xwat/lib/python/setuptools/depends.pyÚ__init__zRequire.__init__ sY ð >Ð/Ð;ÝFàÐØ & Ð'8Ñ 9Ô 9ÐØÐ Ø) à ×ÒVXXÑ&Ô&Ð&ØIIIó c ó@ | j | j d| j S | j S )z0Return full package/distribution name, w/versionNú-)r r )r s r Ú full_namezRequire.full_name' s* àÔ!Ð-Ø"iii¨Ô)?Ð)?Ð@Ð@ØyÐr c ó | j du p9| j du p0t |¦ « dk o| |¦ « | j k S )z%Is 'version' sufficiently up-to-date?NÚunknown)r r r r )r Úversions r Ú version_okzRequire.version_ok- sQ ð NdÐ"ð ?Ø{dÐ"ð ?å7||yÒ(ð ?ØGÑ$Ô$¨Ô(>Ò>ð r r" Údefaultc ó | j D t | j |¦ « \ }}}n# t $ r Y dS w xY w|r| ¦ « |S t | j | j ||¦ « }| ||ur| j | |¦ « S |S )a× Get version number of installed module, 'None', or 'default' Search 'paths' for module. If not found, return 'None'. If found, return the extracted version attribute, or 'default' if no version attribute was specified, or the value cannot be determined without importing the module. The version is formatted according to the requirement's version format (if any), unless it is 'None' or the supplied 'default'. N)r r r ÚImportErrorÚcloseÚget_module_constantr )r Úpathsr% ÚfÚpÚiÚvs r Úget_versionzRequire.get_version6 s¨ ð >Ð!ð Ý% d¤k°5Ñ9Ô91aaøÝð ð ð Øttð øøøàð Ø ØNå ¤¨T¬^¸WÀeÑLÔLà=Q gÐ-Ð-°$´+Ð2IØ;;q>>Ð!às # £ 1°1c ó0 | |¦ « duS )z/Return true if dependency is present on 'paths'N)r/ )r r* s r Ú is_presentzRequire.is_presentQ s à×Ò Ñ&Ô&¨dÐ2Ð2r c óx | |¦ « }|dS | t |¦ « ¦ « S )z>Return true if dependency is present and up-to-date on 'paths'NF)r/ r$ r )r r* r# s r Ú is_currentzRequire.is_currentU s7 à×"Ò" 5Ñ)Ô)Ø?Ø5Øs 7||Ñ,Ô,Ð,r )r NN)r r )Nr" )r% r ©N) Ú__name__Ú __module__Ú__qualname__Ú__doc__r r r$ r/ r1 r3 © r r r r s ØAÐAð ØØðð ð ð ð ð(ð ð ð ð ð ðð ð ð ð ð63ð 3ð 3ð 3ð-ð -ð -ð -ð -ð -r c ól t j d ¦ « }| s |¦ « S t j | ¦ « S )Nc 3 ó K d V d S r4 r9 r9 r r Úemptyzmaybe_close.<locals>.empty^ s è è à Ør )Ú contextlibÚcontextmanagerÚclosing)r+ r<