Fix find_version in setup.py

Also, remove some unneeded functions