fix version number parsing in setup.py

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>