You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,27 +10,24 @@ See also [AI_POLICY.md](https://github.com/Textualize/rich/blob/master/AI_POLICY
10
10
11
11
## Prerequisites
12
12
13
-
Rich uses [poetry](https://python-poetry.org/docs/) for packaging and
14
-
dependency management. To start developing with Rich, install Poetry
15
-
using the [recommended method](https://python-poetry.org/docs/#installation).
13
+
Rich uses [uv](https://docs.astral.sh/uv/) for packaging and
14
+
dependency management. To start developing with Rich, install uv
15
+
using the [recommended method](https://docs.astral.sh/uv/getting-started/installation/).
16
16
17
17
Next, you'll need to create a _fork_ (your own personal copy) of the Rich repository, and clone that fork
18
18
on to your local machine. GitHub offers a great tutorial for this process [here](https://docs.github.com/en/get-started/quickstart/fork-a-repo).
19
19
After following this guide, you'll have a local copy of the Rich project installed.
20
20
21
21
Enter the directory containing your copy of Rich (`cd rich`).
22
22
23
-
Next create and activate a [virtual environment](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments) for Rich.
24
-
25
-
Now we can install the dependencies of Rich into the virtual environment:
23
+
Now we can create a virtual environment and install Rich's dependencies:
26
24
27
25
```
28
-
poetry install
26
+
uv sync
29
27
```
30
28
31
-
The rest of this guide assumes you're inside the virtual environment.
32
-
If you're having difficulty running any of the commands that follow,
33
-
ensure you're inside the virtual environment by running `poetry shell`.
29
+
The rest of this guide assumes commands are run through `uv run`, or inside
0 commit comments