Skip to content

Commit 3453fc4

Browse files
committed
support poetry extras
1 parent 7363aad commit 3453fc4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Developers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
## Requirements management with Poetry
22

33
```
4-
pip3 install poetry poetry-plugin-export
4+
pip install poetry poetry-plugin-export
55
poetry install --with=dev,docs
66
```
77
(in a virtual environment) to install the requirements.
88

99
## Please install the pre-commit hooks
1010

1111
```
12-
pip3 install pre-commit
12+
pip install pre-commit
1313
pre-commit install
1414
```
1515

@@ -83,7 +83,7 @@ broken anything.
8383
You will need to install `sphinx`:
8484
```
8585
poetry install --with docs
86-
pip3 install sphinx myst-parser sphinx_rtd_theme
86+
pip install sphinx myst-parser sphinx_rtd_theme
8787
```
8888

8989
From the root directory, run

PoetryExport.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# For bazel
4-
poetry export --without-hashes --with dev > requirements.txt
4+
poetry export --without-hashes --with dev --all-extras > requirements.txt
55
# Remove poetry. Required to work around poetry <--> poetry-plugin-export circular
66
# dependency: https://github.com/python-poetry/poetry-plugin-export/issues/240
77
# Note that pip_parse does provide a mechanism for handling known cycles:

0 commit comments

Comments
 (0)