code: def check_version(self, name, majorv=2, minorv=7):
          
          if sys.version_info.major == majorv and sys.version_info.minor != minorv:
              sys.stderr.write("ERROR: %s is only for >= Python %d.%d but you are running %d.%d\n" %\
                          (name, majorv, minorv, sys.version_info.major, sys.version_info.minor))
              sys.exit(1)
docs: Make sure the package runs on the supported Python version