Modify setup.py to read version number differently

This prevents import errors that occur when Flask does not exist in the Python environment before Flask-Login is installed.