Skip to content

Commit 18a5037

Browse files
committed
Updated documentation with regard to poetry shell installation Textualize#5509
1 parent b4d2858 commit 18a5037

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ You can follow these steps:
1919

2020
1. Make sure you have Poetry installed ([see instructions here](https://python-poetry.org))
2121
2. Clone the Textual repository
22-
3. Run `cd textual` to make textual your current working directory
23-
4. Run `python -m venv .venv` to create a new python virtual environment
24-
5. Run `source .venv/bin/activate` to activate the virtual environment
25-
6. Run `python -m pip install poetry` to install poetry
26-
7. Run `make setup` to install all dependencies
27-
8. Make sure the latest version of Textual was installed by running the command `textual --version`
28-
9. Install the pre-commit hooks with the command `pre-commit install`
22+
3. Run `poetry shell` to create a virtual environment for the dependencies. If your poetry installation doesn't have `shell` command, first install the `shell` plugin using `poetry self add poetry-plugin-shell`.
23+
4. Run `make setup` to install all dependencies
24+
5. Make sure the latest version of Textual was installed by running the command `textual --version`
25+
6. Install the pre-commit hooks with the command `pre-commit install`
2926

3027
([Read this](#makefile-commands) if the command `make` doesn't work for you.)
3128

0 commit comments

Comments
 (0)