Skip to content

Commit 87bb5ff

Browse files
bump release version into v1.1 (#204)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2644a6d commit 87bb5ff

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

evals/version.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
# Copyright (C) 2024 Intel Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
__version__ = "1.1"

setup.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,20 @@
33
# Copyright (C) 2024 Intel Corporation
44
# SPDX-License-Identifier: Apache-2.0
55

6+
import re
7+
68
from setuptools import find_packages, setup
79

10+
try:
11+
filepath = "./evals/version.py"
12+
with open(filepath) as version_file:
13+
(__version__,) = re.findall('__version__ = "(.*)"', version_file.read())
14+
except Exception as error:
15+
assert False, "Error: Could not open '%s' due %s\n" % (filepath, error)
16+
817
setup(
918
name="opea-eval",
10-
version="1.0",
19+
version=__version__,
1120
author="Intel AISE AIPC Team",
1221
1322
description="Evaluation and benchmark for Generative AI",

0 commit comments

Comments
 (0)