Skip to content

Commit 26ddcc5

Browse files
update install bkc (#25)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent b563b38 commit 26ddcc5

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ Evaluation, benchmark, and scorecard, targeting for performance on throughput an
66
- Install from Pypi
77

88
```bash
9+
pip install -r requirements.txt
910
pip install opea-eval
1011
```
12+
> notes: We have to install requirements.txt at first, cause Pypi can't have direct dependency with specific commit.
1113
1214
- Build from Source
1315

1416
```bash
1517
git clone https://github.com/opea-project/GenAIEval
1618
cd GenAIEval
19+
pip install -r requirements.txt
1720
pip install -e .
1821
```
1922

setup.py

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

6-
#
7-
8-
import subprocess
9-
106
from setuptools import find_packages, setup
117

12-
13-
def parse_requirements(filename):
14-
with open(filename, "r") as file:
15-
return [line.strip() for line in file if line.strip() and not line.startswith("#")]
16-
17-
188
setup(
199
name="opea-eval",
2010
version="0.6",
@@ -25,6 +15,5 @@ def parse_requirements(filename):
2515
long_description_content_type="text/markdown",
2616
url="https://github.com/opea-project/GenAIEval",
2717
packages=find_packages(),
28-
install_requires=parse_requirements("requirements.txt"),
2918
python_requires=">=3.10",
3019
)

0 commit comments

Comments
 (0)