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

Use sys.version_info to determine Python version