관리-도구
편집 파일: py36compat.cpython-311.pyc
� ,�ReR � � � d dl Z d dlmZ d dlmZ d dlmZ G d� d� � Z eej d� � r G d� d� � ZdS dS ) � N)�glob)�convert_path)�sdistc �X � e Zd ZdZd� Zed� � � Zd� Zd� Zd� Z d� Z d� Zd � Zd � Z dS )�sdist_add_defaultsz� Mix-in providing forward-compatibility for functionality as found in distutils on Python 3.7. Do not edit the code in this class except to update functionality as implemented in distutils. Instead, override in the subclass. c � � | � � � | � � � | � � � | � � � | � � � | � � � | � � � dS )a9 Add all the default files to self.filelist: - README or README.txt - setup.py - test/test*.py - all pure Python modules mentioned in setup script - all files pointed by package_data (build_py) - all files defined in data_files. - all files defined as scripts. - all C sources listed as part of extensions or C libraries in the setup script (doesn't catch C headers!) Warns if (README or README.txt) or setup.py are missing; everything else is optional. N)�_add_defaults_standards�_add_defaults_optional�_add_defaults_python�_add_defaults_data_files�_add_defaults_ext�_add_defaults_c_libs�_add_defaults_scripts)�selfs ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/command/py36compat.py�add_defaultszsdist_add_defaults.add_defaults s� � � �$�$�&�&�&��#�#�%�%�%��!�!�#�#�#��%�%�'�'�'���� � � ��!�!�#�#�#��"�"�$�$�$�$�$� c �� � t j � | � � sdS t j � | � � }t j � |� � \ }}|t j |� � v S )z� Case-sensitive path existence check >>> sdist_add_defaults._cs_path_exists(__file__) True >>> sdist_add_defaults._cs_path_exists(__file__.upper()) False F)�os�path�exists�abspath�split�listdir)�fspathr � directory�filenames r �_cs_path_existsz"sdist_add_defaults._cs_path_exists&