File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -30,17 +30,23 @@ cd mypy
30
30
#### (3) Create then activate a virtual environment
31
31
32
32
``` bash
33
- # On Windows, the commands may be slightly different. For more details, see
34
- # https://docs.python.org/3/library/venv.html#creating-virtual-environments
35
33
python3 -m venv venv
36
34
source venv/bin/activate
37
35
```
38
36
37
+ ``` bash
38
+ # For Windows use
39
+ python -m venv venv
40
+ . venv/Scripts/activate
41
+
42
+ # For more details, see https://docs.python.org/3/library/venv.html#creating-virtual-environments
43
+ ```
44
+
39
45
#### (4) Install the test requirements and the project
40
46
41
47
``` bash
42
- python3 -m pip install -r test-requirements.txt
43
- python3 -m pip install -e .
48
+ python -m pip install -r test-requirements.txt
49
+ python -m pip install -e .
44
50
hash -r # This resets shell PATH cache, not necessary on Windows
45
51
```
46
52
You can’t perform that action at this time.
0 commit comments