Python Languagesetup.py

Parameters

ParameterUsage
nameName of your distribution.
versionVersion string of your distribution.
packagesList of Python packages (that is, directories containing modules) to include. This can be specified manually, but a call to setuptools.find_packages() is typically used instead.
py_modulesList of top-level Python modules (that is, single .py files) to include.

Remarks

For further information on python packaging see:

Introduction

For writing official packages there is a packaging user guide.