OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
setuptools
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 03:17:31 PM
rwxr-xr-x
📄
__init__.cpython-311.pyc
11.61 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
_deprecation_warning.cpython-311.pyc
634 bytes
05/14/2024 03:17:31 PM
rw-r--r--
📄
_imp.cpython-311.pyc
3.3 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
archive_util.cpython-311.pyc
8.66 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
build_meta.cpython-311.pyc
13.98 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
config.cpython-311.pyc
27.48 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
dep_util.cpython-311.pyc
1.24 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
depends.cpython-311.pyc
7.69 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
dist.cpython-311.pyc
66.55 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
errors.cpython-311.pyc
962 bytes
05/14/2024 03:17:31 PM
rw-r--r--
📄
extension.cpython-311.pyc
2.79 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
glob.cpython-311.pyc
6.58 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
installer.cpython-311.pyc
7.55 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
launch.cpython-311.pyc
1.33 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
lib2to3_ex.cpython-311.pyc
3.81 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
monkey.cpython-311.pyc
7.35 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
msvc.cpython-311.pyc
59.52 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
namespaces.cpython-311.pyc
5.64 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
package_index.cpython-311.pyc
59.41 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
py27compat.cpython-311.pyc
2.62 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
py31compat.cpython-311.pyc
1.61 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
py33compat.cpython-311.pyc
2.25 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
py34compat.cpython-311.pyc
709 bytes
05/14/2024 03:17:31 PM
rw-r--r--
📄
sandbox.cpython-311.pyc
26.97 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
site-patch.cpython-311.pyc
2.93 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
ssl_support.cpython-311.pyc
11.78 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
unicode_utils.cpython-311.pyc
1.87 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
version.cpython-311.pyc
429 bytes
05/14/2024 03:17:31 PM
rw-r--r--
📄
wheel.cpython-311.pyc
15.02 KB
05/14/2024 03:17:31 PM
rw-r--r--
📄
windows_support.cpython-311.pyc
1.42 KB
05/14/2024 03:17:31 PM
rw-r--r--
Editing: depends.cpython-311.pyc
Close
� ��Cf� � � � d dl Z d dlZd dlZd dlmZ ddlmZ ddlmZm Z m Z mZ ddlmZ g d�Z G d� d � � Zd � Zdd�Zdd �Zd� Z e� � dS )� N)� StrictVersion� )�Bytecode)�find_module�PY_COMPILED� PY_FROZEN� PY_SOURCE)� py27compat)�Requirer �get_module_constant�extract_constantc �B � e Zd ZdZ dd�Zd� Zd� Zdd�Zd d �Zd d �Z dS )r z7A prerequisite to building or installing a distribution� Nc � � |� |�t }|� ||� � }|�d}| j � t � � � � | `d S )N�__version__)r �__dict__�update�locals�self)r �name�requested_version�module�homepage� attribute�formats �E/opt/alt/python311/lib/python3.11/site-packages/setuptools/depends.py�__init__zRequire.__init__ sY � � �>�/�;�"�F��� &��'8� 9� 9��� �)� �� ���V�X�X�&�&�&��I�I�I� 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* � ��!�-�"�i�i�i��)?�)?�@�@��y�r c �b � | j du p&| j du pt |� � dk o || j k S )z%Is 'version' sufficiently up-to-date?N�unknown)r r �strr )r �versions r � version_okzRequire.version_ok) sB � ��~��%� L����)<� L���L�L�I�%�K�'�T�5K�*K� Lr r# c � � | j �C t | j |� � \ }}}|r|� � � |S # t $ r Y dS w xY wt | 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 �close�ImportErrorr r )r �paths�default�f�p�i�vs r �get_versionzRequire.get_version. s� � � �>�!� �%�d�k�5�9�9���1�a�� ��G�G�I�I�I����� � � ��t�t� ���� ���T�^�W�e�L�L���=�Q�g�-�-�$�+�2I��;�;�q�>�>�!��s �0: � A�Ac �0 � | � |� � duS )z/Return true if dependency is present on 'paths'N)r0 )r r* s r � is_presentzRequire.is_presentI s � �����&�&�d�2�2r c �^ � | � |� � }|�dS | � |� � S )z>Return true if dependency is present and up-to-date on 'paths'NF)r0 r&