If pyflakes complains that it's unused, then you just need to stick it in ``__all__ = ['__version__']``.

I'm not saying we should not stick ``__version__`` in the ``__init__.py`` instead of in ``version.py``. We can decide to do that. However, my point is still valid that then this should be done for all our other packages:

https://github.com/jirikuncar/invenio
https://github.com/inveniosoftware/flask-ratelimiter
https://github.com/inveniosoftware/flask-registry
https://github.com/inveniosoftware/flask-sso
https://github.com/lnielsen-cern/flask-ext-skeleton

and the following are completely missing the version:
https://github.com/inveniosoftware/flask-breadcrumbs
https://github.com/inveniosoftware/flask-menu/tree/master/flask_menu
https://github.com/inveniosoftware/intbitset
https://github.com/lnielsen-cern/setuptools-bower

Important is that version is only defined one place, that it's not imported in setup.py and docs/conf.py but parsed, and that it's available in __init__.__version__ according to PEP 396.

I assume it's just a matter of time before ``docs/conf.py`` will arrive.

I agree that it's better if ``__init__.py`` does as little as possible.