setupcfg
setup.cfg is a configuration file used in Python packaging to configure setuptools and related tools. It uses the INI file format to declare metadata, build options, and tool-specific settings in a declarative style, often allowing projects to avoid embedding configuration in a setup.py script. When present, setup.cfg can be read by setuptools to supply values for the setup() call, either with a minimal setup.py that simply delegates to setuptools, or by some tooling that uses the configuration directly.
The file is organized into sections, each introduced by a header in square brackets. The most common
setup.cfg is frequently used in conjunction with setup.py, enabling a largely declarative packaging configuration that is