관리-도구
편집 파일: freeze_support.cpython-311.pyc
� �܋f; � � � d Z ddlZddlmZ ddlmZ ddlmZ dee fd�Z dd eeej f d edee fd�Z dS ) zLProvides a function to report all internal modules for using freezing tools.� N)�Iterator)�List)�Union�returnc �F � ddl } t t | � � � � }|S )zVReturn a list of module names used by pytest that should be included by cx_freeze.r N)�_pytest�list�_iter_all_modules)r �results �g/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/freeze_support.py�freeze_includesr s( � � �N�N�N� �#�G�,�,� -� -�F��M� � �package�prefixc # �8 K � ddl }ddl}t | t � � r| }n| j }|d | j dz }}|� |g� � D ]G\ }}}|r8t |j � ||� � |dz �� � D ] } || z V � � �@||z V � �HdS )z�Iterate over the names of all modules that can be found in the given package, recursively. >>> import _pytest >>> list(_iter_all_modules(_pytest)) ['_pytest._argcomplete', '_pytest._code.code', ...] r N�.)r ) �os�pkgutil� isinstance�str�__path__�__name__�iter_modulesr �path�join) r r r r r �package_path�_�name� is_package�ms r r r s� � � � � �I�I�I��N�N�N��'�3��� ?���� �'��#�A���(8�3�(>�f��&�3�3�T�F�;�;� � ���4��� �&�r�w�|�|�D�$�'?�'?��s� �S�S�S� !� !���q�j� � � � � !� �4�-����� � r )r ) �__doc__�types�typingr r r r r � ModuleTyper � r r �<module>r'