Fix version calculation in setup.py and manifest.