version – Project Metadata

This module specifies the metadata of the project to avoid duplicating theses values across sources files. It’s one of the technique proposed in the Single-sourcing the Project Version of the Python Packaging User Guide.

The easiest way to use is to import the module as below.

>>> from version import __version__
>>> __version__
'0.1.0-dev.0'
>>> from version import *
>>> __license__
'GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007'