File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
## Requirements management with Poetry
2
2
3
3
```
4
- pip3 install poetry poetry-plugin-export
4
+ pip install poetry poetry-plugin-export
5
5
poetry install --with=dev,docs
6
6
```
7
7
(in a virtual environment) to install the requirements.
8
8
9
9
## Please install the pre-commit hooks
10
10
11
11
```
12
- pip3 install pre-commit
12
+ pip install pre-commit
13
13
pre-commit install
14
14
```
15
15
@@ -83,7 +83,7 @@ broken anything.
83
83
You will need to install ` sphinx ` :
84
84
```
85
85
poetry install --with docs
86
- pip3 install sphinx myst-parser sphinx_rtd_theme
86
+ pip install sphinx myst-parser sphinx_rtd_theme
87
87
```
88
88
89
89
From the root directory, run
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# For bazel
4
- poetry export --without-hashes --with dev > requirements.txt
4
+ poetry export --without-hashes --with dev --all-extras > requirements.txt
5
5
# Remove poetry. Required to work around poetry <--> poetry-plugin-export circular
6
6
# dependency: https://github.com/python-poetry/poetry-plugin-export/issues/240
7
7
# Note that pip_parse does provide a mechanism for handling known cycles:
You can’t perform that action at this time.
0 commit comments