Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update install bkc #25

Merged
merged 3 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
)
Loading