Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
chensuyue committed Nov 20, 2024
1 parent 776ce22 commit 567d304
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions evals/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.1"
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@
# SPDX-License-Identifier: Apache-2.0

from setuptools import find_packages, setup
import re

try:
filepath = "./evals/version.py"
with open(filepath) as version_file:
(__version__,) = re.findall('__version__ = "(.*)"', version_file.read())
except Exception as error:
assert False, "Error: Could not open '%s' due %s\n" % (filepath, error)

setup(
name="opea-eval",
version="1.0",
version=__version__,
author="Intel AISE AIPC Team",
author_email="[email protected], [email protected], [email protected], [email protected]",
description="Evaluation and benchmark for Generative AI",
Expand Down

0 comments on commit 567d304

Please sign in to comment.