Use sys.version_info instead of sys.version to obtain Python version
Merge pull request #1 from svisser/patch-1

Use sys.version_info instead of sys.version to obtain Python version