| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/setuptools/__pycache__/ |
Upload File : |
a
��e�R � @ s� d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlm Z m
Z
mZmZm
Z
mZmZmZ ddlZddlmZ dd lmZ dd
lmZ ee ZejjZe r�ddlmZ ee d�d
d�Z!G dd� d�Z"G dd� d�Z#G dd� de#�Z$G dd� de$�Z%G dd� de#�Z&G dd� de%�Z'G dd� de&�Z(eee
e d�dd�Z)G d d!� d!�Z*e
e e
e d"�d#d$�Z+e
e e
e d"�d%d&�Z,e
e eeef eee d'�d(d)�Z-eeeef eed*�d+d,�Z.e
e ee
eef d-�d.d/�Z/dS )0u_ Automatic discovery of Python modules and packages (for inclusion in the
distribution) and other config values.
For the purposes of this module, the following nomenclature is used:
- "src-layout": a directory representing a Python project that contains a "src"
folder. Everything under the "src" folder is meant to be included in the
distribution when packaging the project. Example::
.
├── tox.ini
├── pyproject.toml
└── src/
└── mypkg/
├── __init__.py
├── mymodule.py
└── my_data_file.txt
- "flat-layout": a Python project that does not use "src-layout" but instead
have a directory under the project root for each package::
.
├── tox.ini
├── pyproject.toml
└── mypkg/
├── __init__.py
├── mymodule.py
└── my_data_file.txt
- "single-module": a project that contains a single Python script direct under
the project root (no directory used)::
.
├── tox.ini
├── pyproject.toml
└── mymodule.py
� N��fnmatchcase)�glob)�Path)�
TYPE_CHECKING�Dict�Iterable�Iterator�List�Mapping�Optional�Tuple� )�StrPath)�log)�convert_path)�Distribution)�path�returnc C s t j�| ��� S �N)�osr �basename�isidentifier)r � r �8/usr/lib/python3.9/site-packages/setuptools/discovery.py�_valid_nameF s r c @ s>