Name Description Size
__init__.py Extensions to the 'distutils' for large or complex distributions 10365
_core_metadata.py Handling of Core Metadata for Python packages (including reading and writing). See: https://packaging.python.org/en/latest/specifications/core-metadata/ 9795
_distutils
_entry_points.py Exercise one of the dynamic properties to trigger the pattern match. 2310
_imp.py Re-implementation of find_module and get_frozen_object from the deprecated imp module. 2441
_importlib.py 327
_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. 657
_normalization.py Helpers for normalization as expected in wheel/sdist/module file names and core metadata 4824
_path.py Ensure that the parent directory of `path` exists 2693
_reqs.py Yield requirement strings for each specification in `strs`. `strs` must be a string, or a (possibly-nested) iterable thereof. 1411
_vendor
archive_util.py Utilities for extracting common archive formats 7332
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 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. 20339
cli-32.exe 11776
cli-64.exe 14336
cli-arm64.exe 13824
cli.exe 11776
command
compat
config
depends.py A prerequisite to building or installing a distribution 5667
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 21204
dist.py :meta private: Supported iterable types that are known to be: - ordered (which `set` isn't) - not match a str (which `Sequence[str]` does) - not imply a nested type (like `dict`) for use with `isinstance`. 38371
errors.py setuptools.errors Provides exceptions used by setuptools modules. 3024
extension.py Return True if Cython can be imported. 6675
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. 4868
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. 5012
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. 1246
modified.py 568
monkey.py Monkey patching of distutils. 3573
msvc.py Environment info about Microsoft Compilers. >>> getfixture('windows_only') >>> ei = EnvironmentInfo('amd64') 40836
namespaces.py Return sorted list of all package namespaces 3155
package_index.py PyPI and direct package downloading. 39119
sandbox.py Python 3 implementation of execfile. 14614
script (dev).tmpl 218
script.tmpl 138
unicode_utils.py Ensure that the given path is decoded, ``None`` when no expected encoding works 3181
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. 3803
wheel.py Wheels support. 8628
windows_support.py Set the hidden attribute on a file or directory. From https://stackoverflow.com/questions/19622133/ `path` must be text. 726