@@ -28,19 +28,17 @@ this link: `get-pip.py
2828Then run the following command in the folder where you
2929have downloaded ``get-pip.py ``:
3030
31- .. tabs ::
31+ .. tab :: Unix/macOS
3232
33- .. group-tab :: Unix/macOS
33+ .. code-block :: shell
3434
35- .. code-block :: shell
35+ python get-pip.py
3636
37- python get-pip.py
37+ .. tab :: Windows
3838
39- .. group-tab :: Windows
39+ .. code-block :: shell
4040
41- .. code-block :: shell
42-
43- py get-pip.py
41+ py get-pip.py
4442
4543
4644 .. warning ::
@@ -81,68 +79,60 @@ some examples:
8179
8280Install from local copies of pip and setuptools:
8381
84- .. tabs ::
85-
86- .. group-tab :: Unix/macOS
82+ .. tab :: Unix/macOS
8783
88- .. code-block :: shell
84+ .. code-block :: shell
8985
90- python get-pip.py --no-index --find-links=/local/copies
86+ python get-pip.py --no-index --find-links=/local/copies
9187
92- .. group- tab :: Windows
88+ .. tab :: Windows
9389
94- .. code-block :: shell
90+ .. code-block :: shell
9591
96- py get-pip.py --no-index --find-links=/local/copies
92+ py get-pip.py --no-index --find-links=/local/copies
9793
9894 Install to the user site [3 ]_:
9995
100- .. tabs ::
101-
102- .. group-tab :: Unix/macOS
96+ .. tab :: Unix/macOS
10397
104- .. code-block :: shell
98+ .. code-block :: shell
10599
106- python get-pip.py --user
100+ python get-pip.py --user
107101
108- .. group- tab :: Windows
102+ .. tab :: Windows
109103
110- .. code-block :: shell
104+ .. code-block :: shell
111105
112- py get-pip.py --user
106+ py get-pip.py --user
113107
114108 Install behind a proxy:
115109
116- .. tabs ::
110+ .. tab :: Unix/macOS
117111
118- .. group-tab :: Unix/macOS
112+ .. code-block :: shell
119113
120- .. code-block :: shell
114+ python get-pip.py --proxy= " http://[user:passwd@]proxy.server:port "
121115
122- python get-pip.py --proxy= " http://[user:passwd@]proxy.server:port "
116+ .. tab :: Windows
123117
124- .. group-tab :: Windows
118+ .. code-block :: shell
125119
126- .. code-block :: shell
127-
128- py get-pip.py --proxy=" http://[user:passwd@]proxy.server:port"
120+ py get-pip.py --proxy=" http://[user:passwd@]proxy.server:port"
129121
130122 ``get-pip.py `` can also be used to install a specified combination of ``pip ``,
131123``setuptools ``, and ``wheel `` using the same requirements syntax as pip:
132124
133- .. tabs ::
134-
135- .. group-tab :: Unix/macOS
125+ .. tab :: Unix/macOS
136126
137- .. code-block :: shell
127+ .. code-block :: shell
138128
139- python get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
129+ python get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
140130
141- .. group- tab :: Windows
131+ .. tab :: Windows
142132
143- .. code-block :: shell
133+ .. code-block :: shell
144134
145- py get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
135+ py get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
146136
147137 Using Linux Package Managers
148138============================
@@ -156,19 +146,17 @@ the `Python Packaging User Guide
156146Upgrading pip
157147=============
158148
159- .. tabs ::
160-
161- .. group-tab :: Unix/macOS
149+ .. tab :: Unix/macOS
162150
163- .. code-block :: shell
151+ .. code-block :: shell
164152
165- python -m pip install -U pip
153+ python -m pip install -U pip
166154
167- .. group- tab :: Windows
155+ .. tab :: Windows
168156
169- .. code-block :: shell
157+ .. code-block :: shell
170158
171- py -m pip install -U pip
159+ py -m pip install -U pip
172160
173161
174162 .. _compatibility-requirements :
0 commit comments