diff --git a/pyproject.toml b/pyproject.toml index 010649e..e03cfbc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ name = "gpt-engineer" version = "0.0.7" description = "Specify what you want it to build, the AI asks for clarification, and then builds it." readme = "README.md" -requires-python = ">=3" +requires-python = ">=3.8" dependencies = [ 'black == 23.3.0', 'click >= 8.0.0', @@ -21,6 +21,16 @@ dependencies = [ 'dataclasses-json == 0.5.7', ] +classifiers = [ + "Development Status :: 4 - Beta", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "License :: OSI Approved :: MIT License", + "Topic :: Scientific/Engineering :: Artificial Intelligence", +] + [project.scripts] gpt-engineer = 'gpt_engineer.main:app' diff --git a/scripts/benchmark.py b/scripts/benchmark.py index ef3434f..7c6f3c0 100644 --- a/scripts/benchmark.py +++ b/scripts/benchmark.py @@ -1,9 +1,9 @@ # list all folders in benchmark folder # for each folder, run the benchmark -import contextlib import os import subprocess +import sys from itertools import islice from pathlib import Path @@ -60,7 +60,7 @@ def main( print(f.read()) print() - with contextlib.suppress(KeyboardInterrupt): + try: subprocess.run( [ "python", @@ -71,6 +71,8 @@ def main( "evaluate", ], ) + except KeyboardInterrupt: + sys.exit(1) if __name__ == "__main__":