File manager - Edit - /opt/alt/python312/lib/python3.12/site-packages/setuptools/command/__pycache__/install.cpython-312.pyc
Back
� ��_i� � �. � d dl mZ d dlZd dlZd dlZd dlmc mZ d dl Z ddl mZmZ ej Z G d� dej � Zej j D � cg c] } | d ej vs�| �� c} ej z e_ yc c} w )� )�DistutilsArgErrorN� )�SetuptoolsDeprecationWarning�SetuptoolsWarningc �� � e Zd ZdZej j ddgz Zej j ddgz Zdd� fdd � fgZ e e� Z d � Zd� Zd� Z d � Zed� � Zd� Zy)�installz7Use easy_install to install the package, w/dependencies)�old-and-unmanageableNzTry not to use this!)�!single-version-externally-managedNz5used by system package builders to create 'flat' eggsr r �install_egg_infoc � � y�NT� ��selfs ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/command/install.py�<lambda>zinstall.<lambda> s � �$� �install_scriptsc � � yr r r s r r zinstall.<lambda> s � �r c � � t j ddd�� t j j | � d | _ d | _ y )Nzsetup.py install is deprecated.z� Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. zAhttps://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)�see_url)r �emit�origr �initialize_options�old_and_unmanageable�!single_version_externally_managedr s r r zinstall.initialize_options$ sB � �$�)�)�-� � X� � ���'�'��-�$(��!�15��.r c �� � t j j | � | j rd| _ y | j r%| j s| j st d� �y y y )NTzAYou must specify --record or --root when building system packages)r r �finalize_options�rootr �recordr r s r r zinstall.finalize_options6 sW � ����%�%�d�+��9�9�59�D�2� � 3� 3��9�9�T�[�[�'� �� � &1�9� 4r c � � | j s| j rt j j | � S d | _ d| _ y )N� )r r r r �handle_extra_path� path_file� extra_dirsr s r r# zinstall.handle_extra_pathA s6 � ��9�9��>�>��<�<�1�1�$�7�7� �����r c � � | j s| j rt j j | � S | j t j � � s t j j | � y | j � y )N) r r r r �run�_called_from_setup�inspect�currentframe�do_egg_installr s r r'