Skip to content

Commit

Permalink
update install bkc
Browse files Browse the repository at this point in the history
  • Loading branch information
chensuyue committed May 31, 2024
1 parent b563b38 commit b9297c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ Evaluation, benchmark, and scorecard, targeting for performance on throughput an
- Install from Pypi

```bash
pip install -r requirements.txt
pip install opea-eval
```
> notes: We have to install requirements.txt at first, cause Pypi can't have direct dependency with specific commit.
- Build from Source

Expand Down
6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
from setuptools import find_packages, setup


def parse_requirements(filename):
with open(filename, "r") as file:
return [line.strip() for line in file if line.strip() and not line.startswith("#")]


setup(
name="opea-eval",
version="0.6",
Expand All @@ -25,6 +20,5 @@ def parse_requirements(filename):
long_description_content_type="text/markdown",
url="https://github.com/opea-project/GenAIEval",
packages=find_packages(),
install_requires=parse_requirements("requirements.txt"),
python_requires=">=3.10",
)

0 comments on commit b9297c9

Please sign in to comment.