setup.cfg
Domain: Python Packaging
π― Motivation
A static configuration file that supplements or replaces setup.py. It keeps metadata declarative so you donβt need code to describe your package.
π Concrete Example
A setup.cfg [metadata] section holds name = mypkg and version = 1.0, while [options] lists packages = find:.
π Analogy
setup.cfg is like a form you fill in at the doctorβs office β structured fields instead of freehand writing.