Overview of Building and Distributing Packages with Setuptools
mainTo share a Python library or program, you must build a distribution package. This involves adding metadata and configuration files that instruct setuptools on how to build the distribution and assist installers like pip during the installation process.
Note that setuptools acts as a build backend. While setuptools handles the build logic, users typically interact with it through front-end tools like pip or build. To use setuptools as a build backend, you must explicitly create a pyproject.toml file.