python (3.11.7)
    *eR                         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    _/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/site-packages/setuptools/command/py36compat.pyadd_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)ospathexistsabspathsplitlistdir)fspathr   	directoryfilenames       r   _cs_path_existsz"sdist_add_defaults._cs_path_exists&