관리-도구
편집 파일: bdist_egg.cpython-312.pyc
� t��e�@ � �6 � d Z ddlmZmZ ddlmZ ddlmZ ddlZddl Z ddl Z ddlZddlZddl mZ ddlmZ dd lmZ dd lmZmZ d� Zd� Zd � Zd� Z G d� de� Zej9 dj; � � Zd� Zd� Z d� Z!ddd�Z"d� Z#d� Z$d� Z%g d�Z&dd�Z'y)z6setuptools.command.bdist_egg Build .egg distributions� )�remove_tree�mkpath)�log)�CodeTypeN)�Library)�Command� )�ensure_directory)�get_path�get_python_versionc � � t d� S )N�purelib)r � � ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/command/bdist_egg.py�_get_purelibr s � ��I��r c �~ � d| v r"t j j | � d } | j d� r| d d } | S )N�.r �modulei����)�os�path�splitext�endswith)�filenames r �strip_moduler s@ � � �h���7�7�#�#�H�-�a�0������"��C�R�=���Or c # � K � t j | � D ]- \ }}}|j � |j � |||f�� �/ y�w)zbDo os.walk in a reproducible way, independent of indeterministic filesystem readdir order N)r �walk�sort)�dir�base�dirs�filess r �sorted_walkr# ! sE � �� � �W�W�S�\� ���d�E�� � �� � � ���D�%��� �s �AA c � � t j d� j � }t |d� 5 }|j || z � d d d � y # 1 sw Y y xY w)Na� def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, importlib.util __file__ = pkg_resources.resource_filename(__name__, %r) __loader__ = None; del __bootstrap__, __loader__ spec = importlib.util.spec_from_file_location(__name__,__file__) mod = importlib.util.module_from_spec(spec) spec.loader.exec_module(mod) __bootstrap__() �w)�textwrap�dedent�lstrip�open�write)�resource�pyfile�_stub_template�fs r � write_stubr/ + sU � ��_�_� �� �f�h� � �f�c� � +�a� �����)�*�+� +� +�s �A�Ac �b � e Zd ZdZg d�Zg d�Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zy)� bdist_eggzcreate an "egg" distribution))z bdist-dir=�bz1temporary directory for creating the distribution)z plat-name=�pzdplatform name to embed in generated filenames (by default uses `pkg_resources.get_build_platform()`))�exclude-source-filesNz+remove all .py files from the generated egg)� keep-temp�kzPkeep the pseudo-installation tree around after creating the distribution archive)z dist-dir=�dz-directory to put final built distributions in)� skip-buildNz2skip rebuilding everything (for testing/debugging))r5 r8 r4 c �f � d | _ d | _ d| _ d | _ d| _ d | _ d | _ y )Nr )� bdist_dir� plat_name� keep_temp�dist_dir� skip_build� egg_output�exclude_source_files��selfs r �initialize_optionszbdist_egg.initialize_optionsU s4 � ������������ �������$(��!r c �N � | j d� x}| _ |j | _ | j �@| j d� j }t j j |d� | _ | j �ddl m } |� | _ | j dd� | j �t|j t � | j j! � xr | j �� }t j j | j"