setuptools User guide
build a distribution package
This includes adding a set of additional files containing metadata and configuration to not only instruct setuptools on how the distribution should be built but also to help installer (such as pip) during the installation process.