For details see https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation.