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

Use sys.version_info to determine Python version