This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release. 2. Writing the Setup Script¶ The setup script is the centre of all activity in building, distributing, and installing modules using the Distutils. The main purpose of the setup script is to describe your module distribution to the Distutils