robustified version extraction in setup.py