File tree 2 files changed +19
-7
lines changed
2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -27,32 +27,42 @@ Development Environment
27
27
pip is a command line application written in Python. For developing pip,
28
28
you should `install Python `_ on your computer.
29
29
30
- For developing pip, you need to install :pypi: `nox `. Often, you can run
31
- ``python -m pip install nox `` to install and use it.
30
+ For developing pip, you need to install :pypi: `nox `. The full development setup would then be:
32
31
32
+ .. tab :: Unix/macOS
33
+
34
+ .. code-block :: shell
35
+
36
+ python -m venv .venv
37
+ source .venv/bin/activate
38
+ python -m pip install nox
39
+
40
+ .. tab :: Windows
41
+
42
+ .. code-block :: shell
43
+
44
+ py -m venv .venv
45
+ .venv\S cripts\a ctivate
46
+ py -m pip install nox
33
47
34
48
Running pip From Source Tree
35
49
============================
36
50
37
51
To run the pip executable from your source tree during development, install pip
38
52
locally using editable installation (inside a virtualenv).
39
- You can then invoke your local source tree pip normally.
53
+ You can then invoke your local source tree pip normally (be sure virtualenv is active) .
40
54
41
55
.. tab :: Unix/macOS
42
56
43
57
.. code-block :: shell
44
58
45
- python -m venv .venv
46
- source .venv/bin/activate
47
59
python -m pip install -e .
48
60
python -m pip --version
49
61
50
62
.. tab :: Windows
51
63
52
64
.. code-block :: shell
53
65
54
- py -m venv .venv
55
- .venv\S cripts\a ctivate
56
66
py -m pip install -e .
57
67
py -m pip --version
58
68
Original file line number Diff line number Diff line change
1
+ Added seperate instructions for installing ``nox `` in the ``docs/development/getting-started.rst `` doc. and slight update
2
+ to the below ``Running pip From Source Tree `` section.
You can’t perform that action at this time.
0 commit comments