Suppose you want to install a module in Python the setup.py helps you know that the module has been packaged and distributed with Distutils. This is the standard for distributing modules.
This allows you to easily install Python packages.
$ python setup.py install
and the module will be installed on its own