XylotrechusZ
o
~�Re� � @ sF d Z ddlmZ ddlZddlZddlZddlZddlZddl Z
ddlmZ ddl
mZ ddlmZ ddlZddlmZ dd lmZ dd
lmZ ddlmZ g d�ZejjZdZG d
d� d�ZG dd� de�Z ej!Z"e j!Z#dd� Z$dd� Z%e
j&j%j e%_ e�'e
j&j(�Z)G dd� de)�Z(dd� Z*ej+fdd�Z,G dd� de-�Z.e�/� dS )z@Extensions to the 'distutils' for large or complex distributions� ��fnmatchcaseN)�DistutilsOptionError)�convert_path� )�SetuptoolsDeprecationWarning)� Extension)�Distribution)�Require)�monkey)�setupr �Commandr r
r �
find_packages�find_namespace_packagesc @ sB e Zd ZdZeddd��Zedd� �Zed d
� �Zedd� �Z d
S )�
PackageFinderzI
Generate a list of all Python packages found within a directory
�.� ��*c C s, t | �t|�| jddg|�R � | j|� ��S )a Return a list all Python packages found within directory 'where'
'where' is the root directory which will be searched for packages. It
should be supplied as a "cross-platform" (i.e. URL-style) path; it will
be converted to the appropriate local path syntax.
'exclude' is a sequence of package names to exclude; '*' can be used
as a wildcard in the names, such that 'foo.*' will exclude all
subpackages of 'foo' (but not 'foo' itself).
'include' is a sequence of package names to include. If it's
specified, only the named packages will be included. If it's not
specified, all found packages will be included. 'include' can contain
shell style wildcard patterns just like 'exclude'.
Zez_setupz*__pycache__)�list�_find_packages_iterr �
_build_filter)�cls�where�exclude�includer r ��/builddir/build/BUILDROOT/alt-python310-setuptools-58.3.0-2.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/__init__.py�find- s ��zPackageFinder.findc c s� � t j|dd�D ]F\}}}|dd� }g |dd�<