setup.py

Download python eBook

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.

Related Examples

Stats

129 Contributors: 7
Tuesday, September 6, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook