-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|