In some templates and code examples of Python modules, I see that the __init__.py
files contain variable declarations like these:
__title__ = 'example'
__version__ = '1.0.0'
__author__ = 'Just Me'
__license__ = 'MIT'
__copyright__ = 'Copyright 2016 by Me'
I could not find any official documentation mentioning them though.
Do those declarations have any effect, e.g. when packaging and distributing the module, or are these values basically equal to comments?
Should I add any of them to my projects, is this considered good style? Which ones? Is there a complete list of standardized variables like those?