setup.py is a Python script required by libraries packaged and distributed with Distutils.
The setup.py
script holds all configuration about the packaging of a Python library. It defines, for example, where the source code of the library is and what are the dependencies of the module. This information is used by distutils
and/or setuptools
, common Python tools for packaging.
More information can be found in the distutils docs and setuptools docs.