Skip to content

Commit 37ed783

Browse files
committed
fix env issues
1 parent a934a6a commit 37ed783

5 files changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/pylint.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Set up Python ${{ matrix.python-version }}
14-
uses: actions/setup-python@v3
14+
uses: actions/setup-python@v5
1515
with:
1616
python-version: ${{ matrix.python-version }}
1717
- name: Install dependencies
1818
run: |
19-
python -m pip install --upgrade pip
20-
pip install pylint
19+
pip install --upgrade pip
20+
pip install -e .
21+
pip install -e ".[dev]"
2122
- name: Analysing the code with pylint
2223
run: |
2324
pylint $(git ls-files '*.py')

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ Environment requirements: Python 3.12+ with `pip` package manager.
116116
```bash
117117
git clone https://github.com/StrategyLogic/omen.git
118118
cd omen
119-
python -m pip install --upgrade pip setuptools wheel
120-
python -m pip install -e ".[dev]"
119+
pip install --upgrade pip setuptools wheel
120+
pip install -e .
121121
```
122122

123123
### Run Example

README.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ graph TD
116116
```bash
117117
git clone https://github.com/StrategyLogic/omen.git
118118
cd omen
119-
python -m pip install --upgrade pip setuptools wheel
120-
python -m pip install -e ".[dev]"
119+
pip install --upgrade pip setuptools wheel
120+
pip install -e .
121121
```
122122

123123
### 运行示例

docs/quick-start-llm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ cd omen
1515
在仓库根目录下执行以下命令,安装项目依赖:
1616

1717
```bash
18-
python -m pip install --upgrade pip setuptools wheel
19-
python -m pip install -e .
18+
pip install --upgrade pip setuptools wheel
19+
pip install -e .
2020
```
2121

2222
### 配置 LLM

docs/quick-start.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ flowchart LR
4141
下载 Omen 源代码后,在仓库根目录下执行以下命令,安装项目依赖:
4242

4343
```bash
44-
python -m pip install --upgrade pip setuptools wheel
45-
python -m pip install -e ".[dev]"
44+
pip install --upgrade pip setuptools wheel
45+
pip install -e .
4646
```
4747

48-
💡 **提示**如果你仅需运行示例而不需要测试工具,可以使用精简安装
48+
💡 **提示**如果你需要进行开发或测试,请安装开发依赖
4949

5050
```bash
51-
python -m pip install -e .
51+
pip install -e ".[dev]"
5252
```
5353

5454
## ⚔️ 运行推演工作流

0 commit comments

Comments
 (0)