Don't use sys.version_info.(major|minor).

These named attributes were only added in Python 2.7.  Use tuple indexes
instead.
Add 'setuptools-*' to .gitignore.