Name Description Size
__init__.py Extensions to the 'distutils' for large or complex distributions 9257
_distutils
_entry_points.py Exercise one of the dynamic properties to trigger the pattern match. 2282
_imp.py Re-implementation of find_module and get_frozen_object from the deprecated imp module. 2395
_importlib.py Ensure importlib_metadata doesn't provide older, incompatible Distributions. Workaround for #3102. 1466
_itertools.py Wrap an iterable to raise a ValueError if non-unique values are encountered. >>> list(ensure_unique('abc')) ['a', 'b', 'c'] >>> consume(ensure_unique('abca')) Traceback (most recent call last): ... ValueError: Duplicate element 'a' encountered. 675
_normalization.py Helpers for normalization as expected in wheel/sdist/module file names and core metadata 3706
_path.py Ensure that the parent directory of `path` exists 1056
_reqs.py Yield requirement strings for each specification in `strs`. `strs` must be a string, or a (possibly-nested) iterable thereof. 882
_vendor
archive_util.py Utilities for extracting common archive formats 7346
build_meta.py A PEP 517 interface to setuptools Previously, when a user or a command line tool (let's call it a "frontend") needed to make a request of setuptools to take a certain action, for example, generating a list of installation requirements, the frontend would would call "setup.py egg_info" or "setup.py bdist_wheel" on the command line. PEP 517 defines a different method of interfacing with setuptools. Rather than calling "setup.py" directly, the frontend should: 1. Set the current directory to the directory with a setup.py file 2. Import this module into a safe python interpreter (one in which setuptools can potentially set global variables or crash hard). 3. Call one of the functions defined in PEP 517. What each function does is defined in PEP 517. However, here is a "casual" definition of the functions (this definition should not be relied on for bug reports or API stability): - `build_wheel`: build a wheel in the folder and return the basename - `get_requires_for_build_wheel`: get the `setup_requires` to build - `prepare_metadata_for_build_wheel`: get the `install_requires` - `build_sdist`: build an sdist in the folder and return the basename - `get_requires_for_build_sdist`: get the `setup_requires` to build Again, this is not a formal definition! Just a "taste" of the module. 19778
cli-32.exe 11776
cli-64.exe 14336
cli-arm64.exe 13824
cli.exe 11776
command
config
dep_util.py Walk both arguments in parallel, testing if each source group is newer than its corresponding target. Returns a pair of lists (sources_groups, targets) where sources is newer than target, according to the semantics of 'newer_group()'. 949
depends.py A prerequisite to building or installing a distribution 5499
discovery.py 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 21087
dist.py Reverse RFC-822 escaping by removing leading whitespaces from content. 46807
errors.py setuptools.errors Provides exceptions used by setuptools modules. 2464
extension.py Return True if Cython can be imported. 5591
extern
glob.py Filename globbing utility. Mostly a copy of `glob` from Python 3.5. Changes include: * `yield from` and PEP3102 `*` removed. * Hidden files are not ignored. 4873
gui-32.exe 11776
gui-64.exe 14336
gui-arm64.exe 13824
gui.exe 11776
installer.py Ensure find-links option end-up being a list of strings. 4926
launch.py Launch the Python script on the command line after setuptools is bootstrapped via import. 812
logging.py Configure logging to emit warning and above to stderr and everything else to stdout. This behavior is provided for compatibility with distutils.log but may change in the future. 1232
monkey.py Monkey patching of distutils. 4697
msvc.py Improved support for Microsoft Visual C++ compilers. Known supported compilers: -------------------------- Microsoft Visual C++ 14.X: Microsoft Visual C++ Build Tools 2015 (x86, x64, arm) Microsoft Visual Studio Build Tools 2017 (x86, x64, arm, arm64) Microsoft Visual Studio Build Tools 2019 (x86, x64, arm, arm64) This may also support compilers shipped with compatible Visual Studio versions. 47345
namespaces.py Return sorted list of all package namespaces 3093
package_index.py PyPI and direct package downloading. 38349
py312compat.py 330
sandbox.py Python 3 implementation of execfile. 14349
script (dev).tmpl 218
script.tmpl 138
unicode_utils.py Ensure that the given path is decoded, NONE when no expected encoding works 941
version.py 161
warnings.py Provide basic warnings used by setuptools modules. Using custom classes (other than ``UserWarning``) allow users to set ``PYTHONWARNINGS`` filters to run tests and prepare for upcoming changes in setuptools. 3664
wheel.py Move everything under `src_dir` to `dst_dir`, and delete the former. 8608
windows_support.py Set the hidden attribute on a file or directory. From http://stackoverflow.com/questions/19622133/ `path` must be text. 718