updated setup.py to automatically take python version into account