From d610d6bdf11513fce1014f2c5cfa98569cb891fc Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 22 Jan 2025 13:39:47 +0800 Subject: [PATCH 1/3] add benchmark into binary --- evals/__init__.py | 4 ---- evals/benchmark/__init__.py | 2 ++ setup.py | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 evals/benchmark/__init__.py diff --git a/evals/__init__.py b/evals/__init__.py index c495d189..916f3a44 100644 --- a/evals/__init__.py +++ b/evals/__init__.py @@ -1,6 +1,2 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 - -# diff --git a/evals/benchmark/__init__.py b/evals/benchmark/__init__.py new file mode 100644 index 00000000..4057dc01 --- /dev/null +++ b/evals/benchmark/__init__.py @@ -0,0 +1,2 @@ +# Copyright (C) 2025 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 diff --git a/setup.py b/setup.py index 0b565187..b00bd911 100644 --- a/setup.py +++ b/setup.py @@ -24,5 +24,6 @@ long_description_content_type="text/markdown", url="https://github.com/opea-project/GenAIEval", packages=find_packages(), + package_data={'evals.benchmark.stresscli.locust': ['*.conf']}, python_requires=">=3.10", ) From 05f589d7459d5cbf8b7630d1714879762d3842a1 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 22 Jan 2025 13:40:41 +0800 Subject: [PATCH 2/3] bump release version --- evals/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evals/version.py b/evals/version.py index 48889783..6305c102 100644 --- a/evals/version.py +++ b/evals/version.py @@ -3,4 +3,4 @@ # Copyright (C) 2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -__version__ = "1.1" +__version__ = "1.2" From 85b281c44f2726c6f8f87ac8fa4c9f4e940338ee Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 05:45:47 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b00bd911..a2c04053 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,6 @@ long_description_content_type="text/markdown", url="https://github.com/opea-project/GenAIEval", packages=find_packages(), - package_data={'evals.benchmark.stresscli.locust': ['*.conf']}, + package_data={"evals.benchmark.stresscli.locust": ["*.conf"]}, python_requires=">=3.10", )