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
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,18 @@ Project Conventions
7
7
***Source code formatting:** use [black][]. A recipe for running it is provided in the Makefile: just `make format`.
8
8
9
9
10
-
Development Dependencies
11
-
------------------------
10
+
Development setup
11
+
-----------------
12
12
13
-
After setting up your virtual environment, install development dependencies:
13
+
* Set up a Python virtual environment with `python -m venv venv` at the root of this project.
14
+
* Run `make dev` to install the project in editable mode and install dependencies.
14
15
15
16
```shell
16
-
$ pip install -r requirements-dev.in
17
+
$ python -m venv venv
18
+
$ make dev
17
19
```
18
20
21
+
The Makefile is already configured to use Python from the virtual environment `venv`; for running other commands, activate it using `source venv/bin/activate`.
0 commit comments