Skip to content

Commit

Permalink
update install bkc (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
chensuyue and pre-commit-ci[bot] authored Jun 1, 2024
1 parent b563b38 commit 26ddcc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ 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

```bash
git clone https://github.com/opea-project/GenAIEval
cd GenAIEval
pip install -r requirements.txt
pip install -e .
```

Expand Down
11 changes: 0 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,8 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

#

import subprocess

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 +15,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 26ddcc5

Please sign in to comment.