-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
28 lines (24 loc) · 941 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import re
from setuptools import find_packages, setup
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=__version__,
author="Intel AISE AIPC Team",
description="Evaluation and benchmark for Generative AI",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
url="https://github.com/opea-project/GenAIEval",
packages=find_packages(),
python_requires=">=3.10",
)