adding version parser to setup.py