The standard Python practice is to add a __version__ attribute in the __init__.py file of the package, not in the setup.
The version in the setup.py can then be read from there.