import os
import setuptools
from setuptools import setup
import sys

if sys.version_info > (3,8):
    sys.exit(f"Sorry, Python > 3.8 is not supported. You have: {sys.version_info.major}.{sys.version_info.minor}")

def read(fname):
  with open(os.path.join(os.path.dirname(__file__), fname)) as f:
    data = f.read()
  return data


setup(
    name="bigbench",
    version="0.0.1",
    author="The BIG-Bench Language Models Benchmark team.",
    author_email="bigbench@google.com",
    description=(
        "The official api specification for tasks for the 2021 ICLR Large Language Models Workshop."
    ),
    packages=setuptools.find_packages(),
    long_description=read("README.md"),
    install_requires=["numpy", "tensorflow", "t5", "pytest"],
)

import os
import setuptools
from setuptools import setup
import sys

if sys.version_info >= (3,9):
    sys.exit(f"Sorry, Python > 3.8 is not supported. You have: {sys.version_info.major}.{sys.version_info.minor}")

def read(fname):
  with open(os.path.join(os.path.dirname(__file__), fname)) as f:
    data = f.read()
  return data


setup(
    name="bigbench",
    version="0.0.1",
    author="The BIG-Bench Language Models Benchmark team.",
    author_email="bigbench@google.com",
    description=(
        "The official api specification for tasks for the 2021 ICLR Large Language Models Workshop."
    ),
    packages=setuptools.find_packages(),
    long_description=read("README.md"),
    install_requires=["numpy", "tensorflow", "t5", "pytest"],
)

fix version check