Links
setup.cfg filespyproject.toml filespkg_resourcesProject
setup() Keywordsdependency_linkszip_safe flagsetuptools commandsThe first step towards sharing a Python library or program is to build adistribution package[1]. This includes adding a set ofadditional files containing metadata and configuration to not only instructsetuptools on how the distribution should be built but alsoto help installer (such aspip) during the installation process.
This document contains information to help Python developers through thisprocess. Please check theQuickstart for an overview ofthe workflow.
Also note thatsetuptools is what is known in the community asbuildbackend, user facing interfaces are provided by toolssuch aspip andbuild. To usesetuptools, one mustexplicitly create apyproject.toml file as describedBuild System Support.
setup.cfg filespyproject.toml files—
Notes
[1]ADistribution Package is also referred in the Python community simply as “package”Unfortunately, this jargon might be a bit confusing for new users because the term packagecan also to refer anydirectory (or sub directory) used to organizemodules and auxiliary files.