Spaces:
Running
Running
Upload 919 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/AUTHORS.txt +785 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/INSTALLER +1 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/LICENSE.txt +20 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/METADATA +89 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/RECORD +874 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/REQUESTED +0 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/WHEEL +5 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/entry_points.txt +3 -0
- MLPY/Lib/site-packages/pip-24.1.2.dist-info/top_level.txt +1 -0
- MLPY/Lib/site-packages/pip/__init__.py +13 -0
- MLPY/Lib/site-packages/pip/__main__.py +24 -0
- MLPY/Lib/site-packages/pip/__pip-runner__.py +50 -0
- MLPY/Lib/site-packages/pip/__pycache__/__init__.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/__pycache__/__main__.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__init__.py +18 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/main.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/build_env.py +314 -0
- MLPY/Lib/site-packages/pip/_internal/cache.py +290 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc +0 -0
- MLPY/Lib/site-packages/pip/_internal/cli/autocompletion.py +176 -0
- MLPY/Lib/site-packages/pip/_internal/cli/base_command.py +234 -0
- MLPY/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1074 -0
- MLPY/Lib/site-packages/pip/_internal/cli/command_context.py +27 -0
- MLPY/Lib/site-packages/pip/_internal/cli/index_command.py +172 -0
- MLPY/Lib/site-packages/pip/_internal/cli/main.py +80 -0
- MLPY/Lib/site-packages/pip/_internal/cli/main_parser.py +134 -0
- MLPY/Lib/site-packages/pip/_internal/cli/parser.py +294 -0
- MLPY/Lib/site-packages/pip/_internal/cli/progress_bars.py +94 -0
MLPY/Lib/site-packages/pip-24.1.2.dist-info/AUTHORS.txt
ADDED
@@ -0,0 +1,785 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@Switch01
|
2 |
+
A_Rog
|
3 |
+
Aakanksha Agrawal
|
4 |
+
Abhinav Sagar
|
5 |
+
ABHYUDAY PRATAP SINGH
|
6 |
+
abs51295
|
7 |
+
AceGentile
|
8 |
+
Adam Chainz
|
9 |
+
Adam Tse
|
10 |
+
Adam Wentz
|
11 |
+
admin
|
12 |
+
Adolfo Ochagavía
|
13 |
+
Adrien Morison
|
14 |
+
Agus
|
15 |
+
ahayrapetyan
|
16 |
+
Ahilya
|
17 |
+
AinsworthK
|
18 |
+
Akash Srivastava
|
19 |
+
Alan Yee
|
20 |
+
Albert Tugushev
|
21 |
+
Albert-Guan
|
22 |
+
albertg
|
23 |
+
Alberto Sottile
|
24 |
+
Aleks Bunin
|
25 |
+
Ales Erjavec
|
26 |
+
Alethea Flowers
|
27 |
+
Alex Gaynor
|
28 |
+
Alex Grönholm
|
29 |
+
Alex Hedges
|
30 |
+
Alex Loosley
|
31 |
+
Alex Morega
|
32 |
+
Alex Stachowiak
|
33 |
+
Alexander Shtyrov
|
34 |
+
Alexandre Conrad
|
35 |
+
Alexey Popravka
|
36 |
+
Aleš Erjavec
|
37 |
+
Alli
|
38 |
+
Ami Fischman
|
39 |
+
Ananya Maiti
|
40 |
+
Anatoly Techtonik
|
41 |
+
Anders Kaseorg
|
42 |
+
Andre Aguiar
|
43 |
+
Andreas Lutro
|
44 |
+
Andrei Geacar
|
45 |
+
Andrew Gaul
|
46 |
+
Andrew Shymanel
|
47 |
+
Andrey Bienkowski
|
48 |
+
Andrey Bulgakov
|
49 |
+
Andrés Delfino
|
50 |
+
Andy Freeland
|
51 |
+
Andy Kluger
|
52 |
+
Ani Hayrapetyan
|
53 |
+
Aniruddha Basak
|
54 |
+
Anish Tambe
|
55 |
+
Anrs Hu
|
56 |
+
Anthony Sottile
|
57 |
+
Antoine Musso
|
58 |
+
Anton Ovchinnikov
|
59 |
+
Anton Patrushev
|
60 |
+
Antonio Alvarado Hernandez
|
61 |
+
Antony Lee
|
62 |
+
Antti Kaihola
|
63 |
+
Anubhav Patel
|
64 |
+
Anudit Nagar
|
65 |
+
Anuj Godase
|
66 |
+
AQNOUCH Mohammed
|
67 |
+
AraHaan
|
68 |
+
arena
|
69 |
+
arenasys
|
70 |
+
Arindam Choudhury
|
71 |
+
Armin Ronacher
|
72 |
+
Arnon Yaari
|
73 |
+
Artem
|
74 |
+
Arun Babu Neelicattu
|
75 |
+
Ashley Manton
|
76 |
+
Ashwin Ramaswami
|
77 |
+
atse
|
78 |
+
Atsushi Odagiri
|
79 |
+
Avinash Karhana
|
80 |
+
Avner Cohen
|
81 |
+
Awit (Ah-Wit) Ghirmai
|
82 |
+
Baptiste Mispelon
|
83 |
+
Barney Gale
|
84 |
+
barneygale
|
85 |
+
Bartek Ogryczak
|
86 |
+
Bastian Venthur
|
87 |
+
Ben Bodenmiller
|
88 |
+
Ben Darnell
|
89 |
+
Ben Hoyt
|
90 |
+
Ben Mares
|
91 |
+
Ben Rosser
|
92 |
+
Bence Nagy
|
93 |
+
Benjamin Peterson
|
94 |
+
Benjamin VanEvery
|
95 |
+
Benoit Pierre
|
96 |
+
Berker Peksag
|
97 |
+
Bernard
|
98 |
+
Bernard Tyers
|
99 |
+
Bernardo B. Marques
|
100 |
+
Bernhard M. Wiedemann
|
101 |
+
Bertil Hatt
|
102 |
+
Bhavam Vidyarthi
|
103 |
+
Blazej Michalik
|
104 |
+
Bogdan Opanchuk
|
105 |
+
BorisZZZ
|
106 |
+
Brad Erickson
|
107 |
+
Bradley Ayers
|
108 |
+
Brandon L. Reiss
|
109 |
+
Brandt Bucher
|
110 |
+
Brannon Dorsey
|
111 |
+
Brett Randall
|
112 |
+
Brett Rosen
|
113 |
+
Brian Cristante
|
114 |
+
Brian Rosner
|
115 |
+
briantracy
|
116 |
+
BrownTruck
|
117 |
+
Bruno Oliveira
|
118 |
+
Bruno Renié
|
119 |
+
Bruno S
|
120 |
+
Bstrdsmkr
|
121 |
+
Buck Golemon
|
122 |
+
burrows
|
123 |
+
Bussonnier Matthias
|
124 |
+
bwoodsend
|
125 |
+
c22
|
126 |
+
Caleb Martinez
|
127 |
+
Calvin Smith
|
128 |
+
Carl Meyer
|
129 |
+
Carlos Liam
|
130 |
+
Carol Willing
|
131 |
+
Carter Thayer
|
132 |
+
Cass
|
133 |
+
Chandrasekhar Atina
|
134 |
+
Chih-Hsuan Yen
|
135 |
+
Chris Brinker
|
136 |
+
Chris Hunt
|
137 |
+
Chris Jerdonek
|
138 |
+
Chris Kuehl
|
139 |
+
Chris McDonough
|
140 |
+
Chris Pawley
|
141 |
+
Chris Pryer
|
142 |
+
Chris Wolfe
|
143 |
+
Christian Clauss
|
144 |
+
Christian Heimes
|
145 |
+
Christian Oudard
|
146 |
+
Christoph Reiter
|
147 |
+
Christopher Hunt
|
148 |
+
Christopher Snyder
|
149 |
+
chrysle
|
150 |
+
cjc7373
|
151 |
+
Clark Boylan
|
152 |
+
Claudio Jolowicz
|
153 |
+
Clay McClure
|
154 |
+
Cody
|
155 |
+
Cody Soyland
|
156 |
+
Colin Watson
|
157 |
+
Collin Anderson
|
158 |
+
Connor Osborn
|
159 |
+
Cooper Lees
|
160 |
+
Cooper Ry Lees
|
161 |
+
Cory Benfield
|
162 |
+
Cory Wright
|
163 |
+
Craig Kerstiens
|
164 |
+
Cristian Sorinel
|
165 |
+
Cristina
|
166 |
+
Cristina Muñoz
|
167 |
+
ctg123
|
168 |
+
Curtis Doty
|
169 |
+
cytolentino
|
170 |
+
Daan De Meyer
|
171 |
+
Dale
|
172 |
+
Damian
|
173 |
+
Damian Quiroga
|
174 |
+
Damian Shaw
|
175 |
+
Dan Black
|
176 |
+
Dan Savilonis
|
177 |
+
Dan Sully
|
178 |
+
Dane Hillard
|
179 |
+
daniel
|
180 |
+
Daniel Collins
|
181 |
+
Daniel Hahler
|
182 |
+
Daniel Holth
|
183 |
+
Daniel Jost
|
184 |
+
Daniel Katz
|
185 |
+
Daniel Shaulov
|
186 |
+
Daniele Esposti
|
187 |
+
Daniele Nicolodi
|
188 |
+
Daniele Procida
|
189 |
+
Daniil Konovalenko
|
190 |
+
Danny Hermes
|
191 |
+
Danny McClanahan
|
192 |
+
Darren Kavanagh
|
193 |
+
Dav Clark
|
194 |
+
Dave Abrahams
|
195 |
+
Dave Jones
|
196 |
+
David Aguilar
|
197 |
+
David Black
|
198 |
+
David Bordeynik
|
199 |
+
David Caro
|
200 |
+
David D Lowe
|
201 |
+
David Evans
|
202 |
+
David Hewitt
|
203 |
+
David Linke
|
204 |
+
David Poggi
|
205 |
+
David Poznik
|
206 |
+
David Pursehouse
|
207 |
+
David Runge
|
208 |
+
David Tucker
|
209 |
+
David Wales
|
210 |
+
Davidovich
|
211 |
+
ddelange
|
212 |
+
Deepak Sharma
|
213 |
+
Deepyaman Datta
|
214 |
+
Denise Yu
|
215 |
+
dependabot[bot]
|
216 |
+
derwolfe
|
217 |
+
Desetude
|
218 |
+
Devesh Kumar Singh
|
219 |
+
devsagul
|
220 |
+
Diego Caraballo
|
221 |
+
Diego Ramirez
|
222 |
+
DiegoCaraballo
|
223 |
+
Dimitri Merejkowsky
|
224 |
+
Dimitri Papadopoulos
|
225 |
+
Dirk Stolle
|
226 |
+
Dmitry Gladkov
|
227 |
+
Dmitry Volodin
|
228 |
+
Domen Kožar
|
229 |
+
Dominic Davis-Foster
|
230 |
+
Donald Stufft
|
231 |
+
Dongweiming
|
232 |
+
doron zarhi
|
233 |
+
Dos Moonen
|
234 |
+
Douglas Thor
|
235 |
+
DrFeathers
|
236 |
+
Dustin Ingram
|
237 |
+
Dwayne Bailey
|
238 |
+
Ed Morley
|
239 |
+
Edgar Ramírez
|
240 |
+
Edgar Ramírez Mondragón
|
241 |
+
Ee Durbin
|
242 |
+
Efflam Lemaillet
|
243 |
+
efflamlemaillet
|
244 |
+
Eitan Adler
|
245 |
+
ekristina
|
246 |
+
elainechan
|
247 |
+
Eli Schwartz
|
248 |
+
Elisha Hollander
|
249 |
+
Ellen Marie Dash
|
250 |
+
Emil Burzo
|
251 |
+
Emil Styrke
|
252 |
+
Emmanuel Arias
|
253 |
+
Endoh Takanao
|
254 |
+
enoch
|
255 |
+
Erdinc Mutlu
|
256 |
+
Eric Cousineau
|
257 |
+
Eric Gillingham
|
258 |
+
Eric Hanchrow
|
259 |
+
Eric Hopper
|
260 |
+
Erik M. Bray
|
261 |
+
Erik Rose
|
262 |
+
Erwin Janssen
|
263 |
+
Eugene Vereshchagin
|
264 |
+
everdimension
|
265 |
+
Federico
|
266 |
+
Felipe Peter
|
267 |
+
Felix Yan
|
268 |
+
fiber-space
|
269 |
+
Filip Kokosiński
|
270 |
+
Filipe Laíns
|
271 |
+
Finn Womack
|
272 |
+
finnagin
|
273 |
+
Flavio Amurrio
|
274 |
+
Florian Briand
|
275 |
+
Florian Rathgeber
|
276 |
+
Francesco
|
277 |
+
Francesco Montesano
|
278 |
+
Fredrik Orderud
|
279 |
+
Frost Ming
|
280 |
+
Gabriel Curio
|
281 |
+
Gabriel de Perthuis
|
282 |
+
Garry Polley
|
283 |
+
gavin
|
284 |
+
gdanielson
|
285 |
+
Geoffrey Sneddon
|
286 |
+
George Song
|
287 |
+
Georgi Valkov
|
288 |
+
Georgy Pchelkin
|
289 |
+
ghost
|
290 |
+
Giftlin Rajaiah
|
291 |
+
gizmoguy1
|
292 |
+
gkdoc
|
293 |
+
Godefroid Chapelle
|
294 |
+
Gopinath M
|
295 |
+
GOTO Hayato
|
296 |
+
gousaiyang
|
297 |
+
gpiks
|
298 |
+
Greg Roodt
|
299 |
+
Greg Ward
|
300 |
+
Guilherme Espada
|
301 |
+
Guillaume Seguin
|
302 |
+
gutsytechster
|
303 |
+
Guy Rozendorn
|
304 |
+
Guy Tuval
|
305 |
+
gzpan123
|
306 |
+
Hanjun Kim
|
307 |
+
Hari Charan
|
308 |
+
Harsh Vardhan
|
309 |
+
harupy
|
310 |
+
Harutaka Kawamura
|
311 |
+
hauntsaninja
|
312 |
+
Henrich Hartzer
|
313 |
+
Henry Schreiner
|
314 |
+
Herbert Pfennig
|
315 |
+
Holly Stotelmyer
|
316 |
+
Honnix
|
317 |
+
Hsiaoming Yang
|
318 |
+
Hugo Lopes Tavares
|
319 |
+
Hugo van Kemenade
|
320 |
+
Hugues Bruant
|
321 |
+
Hynek Schlawack
|
322 |
+
Ian Bicking
|
323 |
+
Ian Cordasco
|
324 |
+
Ian Lee
|
325 |
+
Ian Stapleton Cordasco
|
326 |
+
Ian Wienand
|
327 |
+
Igor Kuzmitshov
|
328 |
+
Igor Sobreira
|
329 |
+
Ikko Ashimine
|
330 |
+
Ilan Schnell
|
331 |
+
Illia Volochii
|
332 |
+
Ilya Baryshev
|
333 |
+
Inada Naoki
|
334 |
+
Ionel Cristian Mărieș
|
335 |
+
Ionel Maries Cristian
|
336 |
+
Itamar Turner-Trauring
|
337 |
+
Ivan Pozdeev
|
338 |
+
J. Nick Koston
|
339 |
+
Jacob Kim
|
340 |
+
Jacob Walls
|
341 |
+
Jaime Sanz
|
342 |
+
jakirkham
|
343 |
+
Jakub Kuczys
|
344 |
+
Jakub Stasiak
|
345 |
+
Jakub Vysoky
|
346 |
+
Jakub Wilk
|
347 |
+
James Cleveland
|
348 |
+
James Curtin
|
349 |
+
James Firth
|
350 |
+
James Gerity
|
351 |
+
James Polley
|
352 |
+
Jan Pokorný
|
353 |
+
Jannis Leidel
|
354 |
+
Jarek Potiuk
|
355 |
+
jarondl
|
356 |
+
Jason Curtis
|
357 |
+
Jason R. Coombs
|
358 |
+
JasonMo
|
359 |
+
JasonMo1
|
360 |
+
Jay Graves
|
361 |
+
Jean Abou Samra
|
362 |
+
Jean-Christophe Fillion-Robin
|
363 |
+
Jeff Barber
|
364 |
+
Jeff Dairiki
|
365 |
+
Jeff Widman
|
366 |
+
Jelmer Vernooij
|
367 |
+
jenix21
|
368 |
+
Jeremy Stanley
|
369 |
+
Jeremy Zafran
|
370 |
+
Jesse Rittner
|
371 |
+
Jiashuo Li
|
372 |
+
Jim Fisher
|
373 |
+
Jim Garrison
|
374 |
+
Jiun Bae
|
375 |
+
Jivan Amara
|
376 |
+
Joe Bylund
|
377 |
+
Joe Michelini
|
378 |
+
John Paton
|
379 |
+
John Sirois
|
380 |
+
John T. Wodder II
|
381 |
+
John-Scott Atlakson
|
382 |
+
johnthagen
|
383 |
+
Jon Banafato
|
384 |
+
Jon Dufresne
|
385 |
+
Jon Parise
|
386 |
+
Jonas Nockert
|
387 |
+
Jonathan Herbert
|
388 |
+
Joonatan Partanen
|
389 |
+
Joost Molenaar
|
390 |
+
Jorge Niedbalski
|
391 |
+
Joseph Bylund
|
392 |
+
Joseph Long
|
393 |
+
Josh Bronson
|
394 |
+
Josh Hansen
|
395 |
+
Josh Schneier
|
396 |
+
Joshua
|
397 |
+
Juan Luis Cano Rodríguez
|
398 |
+
Juanjo Bazán
|
399 |
+
Judah Rand
|
400 |
+
Julian Berman
|
401 |
+
Julian Gethmann
|
402 |
+
Julien Demoor
|
403 |
+
Jussi Kukkonen
|
404 |
+
jwg4
|
405 |
+
Jyrki Pulliainen
|
406 |
+
Kai Chen
|
407 |
+
Kai Mueller
|
408 |
+
Kamal Bin Mustafa
|
409 |
+
kasium
|
410 |
+
kaustav haldar
|
411 |
+
keanemind
|
412 |
+
Keith Maxwell
|
413 |
+
Kelsey Hightower
|
414 |
+
Kenneth Belitzky
|
415 |
+
Kenneth Reitz
|
416 |
+
Kevin Burke
|
417 |
+
Kevin Carter
|
418 |
+
Kevin Frommelt
|
419 |
+
Kevin R Patterson
|
420 |
+
Kexuan Sun
|
421 |
+
Kit Randel
|
422 |
+
Klaas van Schelven
|
423 |
+
KOLANICH
|
424 |
+
konstin
|
425 |
+
kpinc
|
426 |
+
Krishna Oza
|
427 |
+
Kumar McMillan
|
428 |
+
Kurt McKee
|
429 |
+
Kyle Persohn
|
430 |
+
lakshmanaram
|
431 |
+
Laszlo Kiss-Kollar
|
432 |
+
Laurent Bristiel
|
433 |
+
Laurent LAPORTE
|
434 |
+
Laurie O
|
435 |
+
Laurie Opperman
|
436 |
+
layday
|
437 |
+
Leon Sasson
|
438 |
+
Lev Givon
|
439 |
+
Lincoln de Sousa
|
440 |
+
Lipis
|
441 |
+
lorddavidiii
|
442 |
+
Loren Carvalho
|
443 |
+
Lucas Cimon
|
444 |
+
Ludovic Gasc
|
445 |
+
Luis Medel
|
446 |
+
Lukas Geiger
|
447 |
+
Lukas Juhrich
|
448 |
+
Luke Macken
|
449 |
+
Luo Jiebin
|
450 |
+
luojiebin
|
451 |
+
luz.paz
|
452 |
+
László Kiss Kollár
|
453 |
+
M00nL1ght
|
454 |
+
Marc Abramowitz
|
455 |
+
Marc Tamlyn
|
456 |
+
Marcus Smith
|
457 |
+
Mariatta
|
458 |
+
Mark Kohler
|
459 |
+
Mark McLoughlin
|
460 |
+
Mark Williams
|
461 |
+
Markus Hametner
|
462 |
+
Martey Dodoo
|
463 |
+
Martin Fischer
|
464 |
+
Martin Häcker
|
465 |
+
Martin Pavlasek
|
466 |
+
Masaki
|
467 |
+
Masklinn
|
468 |
+
Matej Stuchlik
|
469 |
+
Mathew Jennings
|
470 |
+
Mathieu Bridon
|
471 |
+
Mathieu Kniewallner
|
472 |
+
Matt Bacchi
|
473 |
+
Matt Good
|
474 |
+
Matt Maker
|
475 |
+
Matt Robenolt
|
476 |
+
Matt Wozniski
|
477 |
+
matthew
|
478 |
+
Matthew Einhorn
|
479 |
+
Matthew Feickert
|
480 |
+
Matthew Gilliard
|
481 |
+
Matthew Hughes
|
482 |
+
Matthew Iversen
|
483 |
+
Matthew Treinish
|
484 |
+
Matthew Trumbell
|
485 |
+
Matthew Willson
|
486 |
+
Matthias Bussonnier
|
487 |
+
mattip
|
488 |
+
Maurits van Rees
|
489 |
+
Max W Chase
|
490 |
+
Maxim Kurnikov
|
491 |
+
Maxime Rouyrre
|
492 |
+
mayeut
|
493 |
+
mbaluna
|
494 |
+
mdebi
|
495 |
+
memoselyk
|
496 |
+
meowmeowcat
|
497 |
+
Michael
|
498 |
+
Michael Aquilina
|
499 |
+
Michael E. Karpeles
|
500 |
+
Michael Klich
|
501 |
+
Michael Mintz
|
502 |
+
Michael Williamson
|
503 |
+
michaelpacer
|
504 |
+
Michał Górny
|
505 |
+
Mickaël Schoentgen
|
506 |
+
Miguel Araujo Perez
|
507 |
+
Mihir Singh
|
508 |
+
Mike
|
509 |
+
Mike Hendricks
|
510 |
+
Min RK
|
511 |
+
MinRK
|
512 |
+
Miro Hrončok
|
513 |
+
Monica Baluna
|
514 |
+
montefra
|
515 |
+
Monty Taylor
|
516 |
+
mrKazzila
|
517 |
+
Muha Ajjan
|
518 |
+
Nadav Wexler
|
519 |
+
Nahuel Ambrosini
|
520 |
+
Nate Coraor
|
521 |
+
Nate Prewitt
|
522 |
+
Nathan Houghton
|
523 |
+
Nathaniel J. Smith
|
524 |
+
Nehal J Wani
|
525 |
+
Neil Botelho
|
526 |
+
Nguyễn Gia Phong
|
527 |
+
Nicholas Serra
|
528 |
+
Nick Coghlan
|
529 |
+
Nick Stenning
|
530 |
+
Nick Timkovich
|
531 |
+
Nicolas Bock
|
532 |
+
Nicole Harris
|
533 |
+
Nikhil Benesch
|
534 |
+
Nikhil Ladha
|
535 |
+
Nikita Chepanov
|
536 |
+
Nikolay Korolev
|
537 |
+
Nipunn Koorapati
|
538 |
+
Nitesh Sharma
|
539 |
+
Niyas Sait
|
540 |
+
Noah
|
541 |
+
Noah Gorny
|
542 |
+
Nowell Strite
|
543 |
+
NtaleGrey
|
544 |
+
nvdv
|
545 |
+
OBITORASU
|
546 |
+
Ofek Lev
|
547 |
+
ofrinevo
|
548 |
+
Oliver Freund
|
549 |
+
Oliver Jeeves
|
550 |
+
Oliver Mannion
|
551 |
+
Oliver Tonnhofer
|
552 |
+
Olivier Girardot
|
553 |
+
Olivier Grisel
|
554 |
+
Ollie Rutherfurd
|
555 |
+
OMOTO Kenji
|
556 |
+
Omry Yadan
|
557 |
+
onlinejudge95
|
558 |
+
Oren Held
|
559 |
+
Oscar Benjamin
|
560 |
+
Oz N Tiram
|
561 |
+
Pachwenko
|
562 |
+
Patrick Dubroy
|
563 |
+
Patrick Jenkins
|
564 |
+
Patrick Lawson
|
565 |
+
patricktokeeffe
|
566 |
+
Patrik Kopkan
|
567 |
+
Paul Ganssle
|
568 |
+
Paul Kehrer
|
569 |
+
Paul Moore
|
570 |
+
Paul Nasrat
|
571 |
+
Paul Oswald
|
572 |
+
Paul van der Linden
|
573 |
+
Paulus Schoutsen
|
574 |
+
Pavel Safronov
|
575 |
+
Pavithra Eswaramoorthy
|
576 |
+
Pawel Jasinski
|
577 |
+
Paweł Szramowski
|
578 |
+
Pekka Klärck
|
579 |
+
Peter Gessler
|
580 |
+
Peter Lisák
|
581 |
+
Peter Shen
|
582 |
+
Peter Waller
|
583 |
+
Petr Viktorin
|
584 |
+
petr-tik
|
585 |
+
Phaneendra Chiruvella
|
586 |
+
Phil Elson
|
587 |
+
Phil Freo
|
588 |
+
Phil Pennock
|
589 |
+
Phil Whelan
|
590 |
+
Philip Jägenstedt
|
591 |
+
Philip Molloy
|
592 |
+
Philippe Ombredanne
|
593 |
+
Pi Delport
|
594 |
+
Pierre-Yves Rofes
|
595 |
+
Pieter Degroote
|
596 |
+
pip
|
597 |
+
Prabakaran Kumaresshan
|
598 |
+
Prabhjyotsing Surjit Singh Sodhi
|
599 |
+
Prabhu Marappan
|
600 |
+
Pradyun Gedam
|
601 |
+
Prashant Sharma
|
602 |
+
Pratik Mallya
|
603 |
+
pre-commit-ci[bot]
|
604 |
+
Preet Thakkar
|
605 |
+
Preston Holmes
|
606 |
+
Przemek Wrzos
|
607 |
+
Pulkit Goyal
|
608 |
+
q0w
|
609 |
+
Qiangning Hong
|
610 |
+
Qiming Xu
|
611 |
+
Quentin Lee
|
612 |
+
Quentin Pradet
|
613 |
+
R. David Murray
|
614 |
+
Rafael Caricio
|
615 |
+
Ralf Schmitt
|
616 |
+
Ran Benita
|
617 |
+
Razzi Abuissa
|
618 |
+
rdb
|
619 |
+
Reece Dunham
|
620 |
+
Remi Rampin
|
621 |
+
Rene Dudfield
|
622 |
+
Riccardo Magliocchetti
|
623 |
+
Riccardo Schirone
|
624 |
+
Richard Jones
|
625 |
+
Richard Si
|
626 |
+
Ricky Ng-Adam
|
627 |
+
Rishi
|
628 |
+
RobberPhex
|
629 |
+
Robert Collins
|
630 |
+
Robert McGibbon
|
631 |
+
Robert Pollak
|
632 |
+
Robert T. McGibbon
|
633 |
+
robin elisha robinson
|
634 |
+
Roey Berman
|
635 |
+
Rohan Jain
|
636 |
+
Roman Bogorodskiy
|
637 |
+
Roman Donchenko
|
638 |
+
Romuald Brunet
|
639 |
+
ronaudinho
|
640 |
+
Ronny Pfannschmidt
|
641 |
+
Rory McCann
|
642 |
+
Ross Brattain
|
643 |
+
Roy Wellington Ⅳ
|
644 |
+
Ruairidh MacLeod
|
645 |
+
Russell Keith-Magee
|
646 |
+
Ryan Shepherd
|
647 |
+
Ryan Wooden
|
648 |
+
ryneeverett
|
649 |
+
S. Guliaev
|
650 |
+
Sachi King
|
651 |
+
Salvatore Rinchiera
|
652 |
+
sandeepkiran-js
|
653 |
+
Sander Van Balen
|
654 |
+
Savio Jomton
|
655 |
+
schlamar
|
656 |
+
Scott Kitterman
|
657 |
+
Sean
|
658 |
+
seanj
|
659 |
+
Sebastian Jordan
|
660 |
+
Sebastian Schaetz
|
661 |
+
Segev Finer
|
662 |
+
SeongSoo Cho
|
663 |
+
Sergey Vasilyev
|
664 |
+
Seth Michael Larson
|
665 |
+
Seth Woodworth
|
666 |
+
Shahar Epstein
|
667 |
+
Shantanu
|
668 |
+
shenxianpeng
|
669 |
+
shireenrao
|
670 |
+
Shivansh-007
|
671 |
+
Shixian Sheng
|
672 |
+
Shlomi Fish
|
673 |
+
Shovan Maity
|
674 |
+
Simeon Visser
|
675 |
+
Simon Cross
|
676 |
+
Simon Pichugin
|
677 |
+
sinoroc
|
678 |
+
sinscary
|
679 |
+
snook92
|
680 |
+
socketubs
|
681 |
+
Sorin Sbarnea
|
682 |
+
Srinivas Nyayapati
|
683 |
+
Stavros Korokithakis
|
684 |
+
Stefan Scherfke
|
685 |
+
Stefano Rivera
|
686 |
+
Stephan Erb
|
687 |
+
Stephen Rosen
|
688 |
+
stepshal
|
689 |
+
Steve (Gadget) Barnes
|
690 |
+
Steve Barnes
|
691 |
+
Steve Dower
|
692 |
+
Steve Kowalik
|
693 |
+
Steven Myint
|
694 |
+
Steven Silvester
|
695 |
+
stonebig
|
696 |
+
studioj
|
697 |
+
Stéphane Bidoul
|
698 |
+
Stéphane Bidoul (ACSONE)
|
699 |
+
Stéphane Klein
|
700 |
+
Sumana Harihareswara
|
701 |
+
Surbhi Sharma
|
702 |
+
Sviatoslav Sydorenko
|
703 |
+
Swat009
|
704 |
+
Sylvain
|
705 |
+
Takayuki SHIMIZUKAWA
|
706 |
+
Taneli Hukkinen
|
707 |
+
tbeswick
|
708 |
+
Thiago
|
709 |
+
Thijs Triemstra
|
710 |
+
Thomas Fenzl
|
711 |
+
Thomas Grainger
|
712 |
+
Thomas Guettler
|
713 |
+
Thomas Johansson
|
714 |
+
Thomas Kluyver
|
715 |
+
Thomas Smith
|
716 |
+
Thomas VINCENT
|
717 |
+
Tim D. Smith
|
718 |
+
Tim Gates
|
719 |
+
Tim Harder
|
720 |
+
Tim Heap
|
721 |
+
tim smith
|
722 |
+
tinruufu
|
723 |
+
Tobias Hermann
|
724 |
+
Tom Forbes
|
725 |
+
Tom Freudenheim
|
726 |
+
Tom V
|
727 |
+
Tomas Hrnciar
|
728 |
+
Tomas Orsava
|
729 |
+
Tomer Chachamu
|
730 |
+
Tommi Enenkel | AnB
|
731 |
+
Tomáš Hrnčiar
|
732 |
+
Tony Beswick
|
733 |
+
Tony Narlock
|
734 |
+
Tony Zhaocheng Tan
|
735 |
+
TonyBeswick
|
736 |
+
toonarmycaptain
|
737 |
+
Toshio Kuratomi
|
738 |
+
toxinu
|
739 |
+
Travis Swicegood
|
740 |
+
Tushar Sadhwani
|
741 |
+
Tzu-ping Chung
|
742 |
+
Valentin Haenel
|
743 |
+
Victor Stinner
|
744 |
+
victorvpaulo
|
745 |
+
Vikram - Google
|
746 |
+
Viktor Szépe
|
747 |
+
Ville Skyttä
|
748 |
+
Vinay Sajip
|
749 |
+
Vincent Philippon
|
750 |
+
Vinicyus Macedo
|
751 |
+
Vipul Kumar
|
752 |
+
Vitaly Babiy
|
753 |
+
Vladimir Fokow
|
754 |
+
Vladimir Rutsky
|
755 |
+
W. Trevor King
|
756 |
+
Wil Tan
|
757 |
+
Wilfred Hughes
|
758 |
+
William Edwards
|
759 |
+
William ML Leslie
|
760 |
+
William T Olson
|
761 |
+
William Woodruff
|
762 |
+
Wilson Mo
|
763 |
+
wim glenn
|
764 |
+
Winson Luk
|
765 |
+
Wolfgang Maier
|
766 |
+
Wu Zhenyu
|
767 |
+
XAMES3
|
768 |
+
Xavier Fernandez
|
769 |
+
Xianpeng Shen
|
770 |
+
xoviat
|
771 |
+
xtreak
|
772 |
+
YAMAMOTO Takashi
|
773 |
+
Yen Chi Hsuan
|
774 |
+
Yeray Diaz Diaz
|
775 |
+
Yoval P
|
776 |
+
Yu Jian
|
777 |
+
Yuan Jing Vincent Yan
|
778 |
+
Yusuke Hayashi
|
779 |
+
Zearin
|
780 |
+
Zhiping Deng
|
781 |
+
ziebam
|
782 |
+
Zvezdan Petkovic
|
783 |
+
Łukasz Langa
|
784 |
+
Роман Донченко
|
785 |
+
Семён Марьясин
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) 2008-present The pip developers (see AUTHORS.txt file)
|
2 |
+
|
3 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
a copy of this software and associated documentation files (the
|
5 |
+
"Software"), to deal in the Software without restriction, including
|
6 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
the following conditions:
|
10 |
+
|
11 |
+
The above copyright notice and this permission notice shall be
|
12 |
+
included in all copies or substantial portions of the Software.
|
13 |
+
|
14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/METADATA
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: pip
|
3 |
+
Version: 24.1.2
|
4 |
+
Summary: The PyPA recommended tool for installing Python packages.
|
5 |
+
Author-email: The pip developers <[email protected]>
|
6 |
+
License: MIT
|
7 |
+
Project-URL: Homepage, https://pip.pypa.io/
|
8 |
+
Project-URL: Documentation, https://pip.pypa.io
|
9 |
+
Project-URL: Source, https://github.com/pypa/pip
|
10 |
+
Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
|
11 |
+
Classifier: Development Status :: 5 - Production/Stable
|
12 |
+
Classifier: Intended Audience :: Developers
|
13 |
+
Classifier: License :: OSI Approved :: MIT License
|
14 |
+
Classifier: Topic :: Software Development :: Build Tools
|
15 |
+
Classifier: Programming Language :: Python
|
16 |
+
Classifier: Programming Language :: Python :: 3
|
17 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
18 |
+
Classifier: Programming Language :: Python :: 3.8
|
19 |
+
Classifier: Programming Language :: Python :: 3.9
|
20 |
+
Classifier: Programming Language :: Python :: 3.10
|
21 |
+
Classifier: Programming Language :: Python :: 3.11
|
22 |
+
Classifier: Programming Language :: Python :: 3.12
|
23 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
24 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
25 |
+
Requires-Python: >=3.8
|
26 |
+
Description-Content-Type: text/x-rst
|
27 |
+
License-File: LICENSE.txt
|
28 |
+
License-File: AUTHORS.txt
|
29 |
+
|
30 |
+
pip - The Python Package Installer
|
31 |
+
==================================
|
32 |
+
|
33 |
+
.. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg
|
34 |
+
:target: https://pypi.org/project/pip/
|
35 |
+
:alt: PyPI
|
36 |
+
|
37 |
+
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip
|
38 |
+
:target: https://pypi.org/project/pip
|
39 |
+
:alt: PyPI - Python Version
|
40 |
+
|
41 |
+
.. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest
|
42 |
+
:target: https://pip.pypa.io/en/latest
|
43 |
+
:alt: Documentation
|
44 |
+
|
45 |
+
|pypi-version| |python-versions| |docs-badge|
|
46 |
+
|
47 |
+
pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
|
48 |
+
|
49 |
+
Please take a look at our documentation for how to install and use pip:
|
50 |
+
|
51 |
+
* `Installation`_
|
52 |
+
* `Usage`_
|
53 |
+
|
54 |
+
We release updates regularly, with a new version every 3 months. Find more details in our documentation:
|
55 |
+
|
56 |
+
* `Release notes`_
|
57 |
+
* `Release process`_
|
58 |
+
|
59 |
+
If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:
|
60 |
+
|
61 |
+
* `Issue tracking`_
|
62 |
+
* `Discourse channel`_
|
63 |
+
* `User IRC`_
|
64 |
+
|
65 |
+
If you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:
|
66 |
+
|
67 |
+
* `GitHub page`_
|
68 |
+
* `Development documentation`_
|
69 |
+
* `Development IRC`_
|
70 |
+
|
71 |
+
Code of Conduct
|
72 |
+
---------------
|
73 |
+
|
74 |
+
Everyone interacting in the pip project's codebases, issue trackers, chat
|
75 |
+
rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
|
76 |
+
|
77 |
+
.. _package installer: https://packaging.python.org/guides/tool-recommendations/
|
78 |
+
.. _Python Package Index: https://pypi.org
|
79 |
+
.. _Installation: https://pip.pypa.io/en/stable/installation/
|
80 |
+
.. _Usage: https://pip.pypa.io/en/stable/
|
81 |
+
.. _Release notes: https://pip.pypa.io/en/stable/news.html
|
82 |
+
.. _Release process: https://pip.pypa.io/en/latest/development/release-process/
|
83 |
+
.. _GitHub page: https://github.com/pypa/pip
|
84 |
+
.. _Development documentation: https://pip.pypa.io/en/latest/development
|
85 |
+
.. _Issue tracking: https://github.com/pypa/pip/issues
|
86 |
+
.. _Discourse channel: https://discuss.python.org/c/packaging
|
87 |
+
.. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa
|
88 |
+
.. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev
|
89 |
+
.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/RECORD
ADDED
@@ -0,0 +1,874 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
../../Scripts/pip.exe,sha256=bU8TAA7LDeA8SbwcvXZi1TTUIQSZURQtqcanuhzgQ0M,108393
|
2 |
+
../../Scripts/pip3.9.exe,sha256=bU8TAA7LDeA8SbwcvXZi1TTUIQSZURQtqcanuhzgQ0M,108393
|
3 |
+
../../Scripts/pip3.exe,sha256=bU8TAA7LDeA8SbwcvXZi1TTUIQSZURQtqcanuhzgQ0M,108393
|
4 |
+
pip-24.1.2.dist-info/AUTHORS.txt,sha256=MkzqpbKoofxeB4_6bAzy7x_Gl-B9GIBRPaYrPWSdFus,10669
|
5 |
+
pip-24.1.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
6 |
+
pip-24.1.2.dist-info/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
|
7 |
+
pip-24.1.2.dist-info/METADATA,sha256=OFLLNLX7R_It-QfGu_9CNrAwvmg-5UiexwDz-kChfdc,3626
|
8 |
+
pip-24.1.2.dist-info/RECORD,,
|
9 |
+
pip-24.1.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10 |
+
pip-24.1.2.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
11 |
+
pip-24.1.2.dist-info/entry_points.txt,sha256=eeIjuzfnfR2PrhbjnbzFU6MnSS70kZLxwaHHq6M-bD0,87
|
12 |
+
pip-24.1.2.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
13 |
+
pip/__init__.py,sha256=9QFiOpFNe6kjlpGzvU2X5H_SYqDMLHg7kRWt1gWwUrw,357
|
14 |
+
pip/__main__.py,sha256=WzbhHXTbSE6gBY19mNN9m4s5o_365LOvTYSgqgbdBhE,854
|
15 |
+
pip/__pip-runner__.py,sha256=cPPWuJ6NK_k-GzfvlejLFgwzmYUROmpAR6QC3Q-vkXQ,1450
|
16 |
+
pip/__pycache__/__init__.cpython-39.pyc,,
|
17 |
+
pip/__pycache__/__main__.cpython-39.pyc,,
|
18 |
+
pip/__pycache__/__pip-runner__.cpython-39.pyc,,
|
19 |
+
pip/_internal/__init__.py,sha256=MfcoOluDZ8QMCFYal04IqOJ9q6m2V7a0aOsnI-WOxUo,513
|
20 |
+
pip/_internal/__pycache__/__init__.cpython-39.pyc,,
|
21 |
+
pip/_internal/__pycache__/build_env.cpython-39.pyc,,
|
22 |
+
pip/_internal/__pycache__/cache.cpython-39.pyc,,
|
23 |
+
pip/_internal/__pycache__/configuration.cpython-39.pyc,,
|
24 |
+
pip/_internal/__pycache__/exceptions.cpython-39.pyc,,
|
25 |
+
pip/_internal/__pycache__/main.cpython-39.pyc,,
|
26 |
+
pip/_internal/__pycache__/pyproject.cpython-39.pyc,,
|
27 |
+
pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc,,
|
28 |
+
pip/_internal/__pycache__/wheel_builder.cpython-39.pyc,,
|
29 |
+
pip/_internal/build_env.py,sha256=TLqMeOgGpWbnHvP9piIymV4R2a_rWOWgiB-eOAbVPE8,10374
|
30 |
+
pip/_internal/cache.py,sha256=Jb698p5PNigRtpW5o26wQNkkUv4MnQ94mc471wL63A0,10369
|
31 |
+
pip/_internal/cli/__init__.py,sha256=FkHBgpxxb-_gd6r1FjnNhfMOzAUYyXoXKJ6abijfcFU,132
|
32 |
+
pip/_internal/cli/__pycache__/__init__.cpython-39.pyc,,
|
33 |
+
pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc,,
|
34 |
+
pip/_internal/cli/__pycache__/base_command.cpython-39.pyc,,
|
35 |
+
pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc,,
|
36 |
+
pip/_internal/cli/__pycache__/command_context.cpython-39.pyc,,
|
37 |
+
pip/_internal/cli/__pycache__/index_command.cpython-39.pyc,,
|
38 |
+
pip/_internal/cli/__pycache__/main.cpython-39.pyc,,
|
39 |
+
pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc,,
|
40 |
+
pip/_internal/cli/__pycache__/parser.cpython-39.pyc,,
|
41 |
+
pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc,,
|
42 |
+
pip/_internal/cli/__pycache__/req_command.cpython-39.pyc,,
|
43 |
+
pip/_internal/cli/__pycache__/spinners.cpython-39.pyc,,
|
44 |
+
pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc,,
|
45 |
+
pip/_internal/cli/autocompletion.py,sha256=Lli3Mr6aDNu7ZkJJFFvwD2-hFxNI6Avz8OwMyS5TVrs,6865
|
46 |
+
pip/_internal/cli/base_command.py,sha256=CNWPhIYFRNPdTDewbtvCl4O-RnyNHLRe6Bfwpds-HV8,8667
|
47 |
+
pip/_internal/cli/cmdoptions.py,sha256=0XyHY1CQ9tGt05e2BOqVSmSGuVW5g3Udkdgk1M_qQWQ,30066
|
48 |
+
pip/_internal/cli/command_context.py,sha256=RHgIPwtObh5KhMrd3YZTkl8zbVG-6Okml7YbFX4Ehg0,774
|
49 |
+
pip/_internal/cli/index_command.py,sha256=GmWL82zpzS4c7yq-2Go5X26BlvdMsSmJewh-3LSimUk,5857
|
50 |
+
pip/_internal/cli/main.py,sha256=BDZef-bWe9g9Jpr4OVs4dDf-845HJsKw835T7AqEnAc,2817
|
51 |
+
pip/_internal/cli/main_parser.py,sha256=laDpsuBDl6kyfywp9eMMA9s84jfH2TJJn-vmL0GG90w,4338
|
52 |
+
pip/_internal/cli/parser.py,sha256=QAkY6s8N-AD7w5D2PQm2Y8C2MIJSv7iuAeNjOMvDBUA,10811
|
53 |
+
pip/_internal/cli/progress_bars.py,sha256=NedSI8g5-69xK8OoubBetXbkIUu6b11TB0Rsan9Uw28,2714
|
54 |
+
pip/_internal/cli/req_command.py,sha256=DqeFhmUMs6o6Ev8qawAcOoYNdAZsfyKS0MZI5jsJYwQ,12250
|
55 |
+
pip/_internal/cli/spinners.py,sha256=hIJ83GerdFgFCdobIA23Jggetegl_uC4Sp586nzFbPE,5118
|
56 |
+
pip/_internal/cli/status_codes.py,sha256=sEFHUaUJbqv8iArL3HAtcztWZmGOFX01hTesSytDEh0,116
|
57 |
+
pip/_internal/commands/__init__.py,sha256=5oRO9O3dM2vGuh0bFw4HOVletryrz5HHMmmPWwJrH9U,3882
|
58 |
+
pip/_internal/commands/__pycache__/__init__.cpython-39.pyc,,
|
59 |
+
pip/_internal/commands/__pycache__/cache.cpython-39.pyc,,
|
60 |
+
pip/_internal/commands/__pycache__/check.cpython-39.pyc,,
|
61 |
+
pip/_internal/commands/__pycache__/completion.cpython-39.pyc,,
|
62 |
+
pip/_internal/commands/__pycache__/configuration.cpython-39.pyc,,
|
63 |
+
pip/_internal/commands/__pycache__/debug.cpython-39.pyc,,
|
64 |
+
pip/_internal/commands/__pycache__/download.cpython-39.pyc,,
|
65 |
+
pip/_internal/commands/__pycache__/freeze.cpython-39.pyc,,
|
66 |
+
pip/_internal/commands/__pycache__/hash.cpython-39.pyc,,
|
67 |
+
pip/_internal/commands/__pycache__/help.cpython-39.pyc,,
|
68 |
+
pip/_internal/commands/__pycache__/index.cpython-39.pyc,,
|
69 |
+
pip/_internal/commands/__pycache__/inspect.cpython-39.pyc,,
|
70 |
+
pip/_internal/commands/__pycache__/install.cpython-39.pyc,,
|
71 |
+
pip/_internal/commands/__pycache__/list.cpython-39.pyc,,
|
72 |
+
pip/_internal/commands/__pycache__/search.cpython-39.pyc,,
|
73 |
+
pip/_internal/commands/__pycache__/show.cpython-39.pyc,,
|
74 |
+
pip/_internal/commands/__pycache__/uninstall.cpython-39.pyc,,
|
75 |
+
pip/_internal/commands/__pycache__/wheel.cpython-39.pyc,,
|
76 |
+
pip/_internal/commands/cache.py,sha256=xg76_ZFEBC6zoQ3gXLRfMZJft4z2a0RwH4GEFZC6nnU,7944
|
77 |
+
pip/_internal/commands/check.py,sha256=mLRKTaGDmLuZbZ--kO1nNKoRMYWIsL3fNQ3vm5Fpuks,1684
|
78 |
+
pip/_internal/commands/completion.py,sha256=HT4lD0bgsflHq2IDgYfiEdp7IGGtE7s6MgI3xn0VQEw,4287
|
79 |
+
pip/_internal/commands/configuration.py,sha256=n98enwp6y0b5G6fiRQjaZo43FlJKYve_daMhN-4BRNc,9766
|
80 |
+
pip/_internal/commands/debug.py,sha256=DNDRgE9YsKrbYzU0s3VKi8rHtKF4X13CJ_br_8PUXO0,6797
|
81 |
+
pip/_internal/commands/download.py,sha256=0qB0nys6ZEPsog451lDsjL5Bx7Z97t-B80oFZKhpzKM,5273
|
82 |
+
pip/_internal/commands/freeze.py,sha256=2qjQrH9KWi5Roav0CuR7vc7hWm4uOi_0l6tp3ESKDHM,3172
|
83 |
+
pip/_internal/commands/hash.py,sha256=EVVOuvGtoPEdFi8SNnmdqlCQrhCxV-kJsdwtdcCnXGQ,1703
|
84 |
+
pip/_internal/commands/help.py,sha256=gcc6QDkcgHMOuAn5UxaZwAStsRBrnGSn_yxjS57JIoM,1132
|
85 |
+
pip/_internal/commands/index.py,sha256=RAXxmJwFhVb5S1BYzb5ifX3sn9Na8v2CCVYwSMP8pao,4731
|
86 |
+
pip/_internal/commands/inspect.py,sha256=PGrY9TRTRCM3y5Ml8Bdk8DEOXquWRfscr4DRo1LOTPc,3189
|
87 |
+
pip/_internal/commands/install.py,sha256=ADWSqa1E1kg0SVCx-I0v8oPn3e1sohGJXFyOkSzeFIA,28997
|
88 |
+
pip/_internal/commands/list.py,sha256=RgaIV4kN-eMSpgUAXc-6bjnURzl0v3cRE11xr54O9Cg,12771
|
89 |
+
pip/_internal/commands/search.py,sha256=hSGtIHg26LRe468Ly7oZ6gfd9KbTxBRZAAtJc9Um6S4,5628
|
90 |
+
pip/_internal/commands/show.py,sha256=IG9L5uo8w6UA4tI_IlmaxLCoNKPa5JNJCljj3NWs0OE,7507
|
91 |
+
pip/_internal/commands/uninstall.py,sha256=7pOR7enK76gimyxQbzxcG1OsyLXL3DvX939xmM8Fvtg,3892
|
92 |
+
pip/_internal/commands/wheel.py,sha256=eJRhr_qoNNxWAkkdJCNiQM7CXd4E1_YyQhsqJnBPGGg,6414
|
93 |
+
pip/_internal/configuration.py,sha256=XkAiBS0hpzsM-LF0Qu5hvPWO_Bs67-oQKRYFBuMbESs,14006
|
94 |
+
pip/_internal/distributions/__init__.py,sha256=Hq6kt6gXBgjNit5hTTWLAzeCNOKoB-N0pGYSqehrli8,858
|
95 |
+
pip/_internal/distributions/__pycache__/__init__.cpython-39.pyc,,
|
96 |
+
pip/_internal/distributions/__pycache__/base.cpython-39.pyc,,
|
97 |
+
pip/_internal/distributions/__pycache__/installed.cpython-39.pyc,,
|
98 |
+
pip/_internal/distributions/__pycache__/sdist.cpython-39.pyc,,
|
99 |
+
pip/_internal/distributions/__pycache__/wheel.cpython-39.pyc,,
|
100 |
+
pip/_internal/distributions/base.py,sha256=QeB9qvKXDIjLdPBDE5fMgpfGqMMCr-govnuoQnGuiF8,1783
|
101 |
+
pip/_internal/distributions/installed.py,sha256=QinHFbWAQ8oE0pbD8MFZWkwlnfU1QYTccA1vnhrlYOU,842
|
102 |
+
pip/_internal/distributions/sdist.py,sha256=PlcP4a6-R6c98XnOM-b6Lkb3rsvh9iG4ok8shaanrzs,6751
|
103 |
+
pip/_internal/distributions/wheel.py,sha256=THBYfnv7VVt8mYhMYUtH13S1E7FDwtDyDfmUcl8ai0E,1317
|
104 |
+
pip/_internal/exceptions.py,sha256=6qcW3QgmFVlRxlZvDSLUhSzKJ7_Tedo-lyqWA6NfdAU,25371
|
105 |
+
pip/_internal/index/__init__.py,sha256=vpt-JeTZefh8a-FC22ZeBSXFVbuBcXSGiILhQZJaNpQ,30
|
106 |
+
pip/_internal/index/__pycache__/__init__.cpython-39.pyc,,
|
107 |
+
pip/_internal/index/__pycache__/collector.cpython-39.pyc,,
|
108 |
+
pip/_internal/index/__pycache__/package_finder.cpython-39.pyc,,
|
109 |
+
pip/_internal/index/__pycache__/sources.cpython-39.pyc,,
|
110 |
+
pip/_internal/index/collector.py,sha256=RdPO0JLAlmyBWPAWYHPyRoGjz3GNAeTngCNkbGey_mE,16265
|
111 |
+
pip/_internal/index/package_finder.py,sha256=XHHQm1Tmw4wC2jYzrDa2lwlx-OGPzF7tThv-Uj1Y7ak,37733
|
112 |
+
pip/_internal/index/sources.py,sha256=dJegiR9f86kslaAHcv9-R5L_XBf5Rzm_FkyPteDuPxI,8688
|
113 |
+
pip/_internal/locations/__init__.py,sha256=UaAxeZ_f93FyouuFf4p7SXYF-4WstXuEvd3LbmPCAno,14925
|
114 |
+
pip/_internal/locations/__pycache__/__init__.cpython-39.pyc,,
|
115 |
+
pip/_internal/locations/__pycache__/_distutils.cpython-39.pyc,,
|
116 |
+
pip/_internal/locations/__pycache__/_sysconfig.cpython-39.pyc,,
|
117 |
+
pip/_internal/locations/__pycache__/base.cpython-39.pyc,,
|
118 |
+
pip/_internal/locations/_distutils.py,sha256=H9ZHK_35rdDV1Qsmi4QeaBULjFT4Mbu6QuoVGkJ6QHI,6009
|
119 |
+
pip/_internal/locations/_sysconfig.py,sha256=IGzds60qsFneRogC-oeBaY7bEh3lPt_v47kMJChQXsU,7724
|
120 |
+
pip/_internal/locations/base.py,sha256=RQiPi1d4FVM2Bxk04dQhXZ2PqkeljEL2fZZ9SYqIQ78,2556
|
121 |
+
pip/_internal/main.py,sha256=r-UnUe8HLo5XFJz8inTcOOTiu_sxNhgHb6VwlGUllOI,340
|
122 |
+
pip/_internal/metadata/__init__.py,sha256=9pU3W3s-6HtjFuYhWcLTYVmSaziklPv7k2x8p7X1GmA,4339
|
123 |
+
pip/_internal/metadata/__pycache__/__init__.cpython-39.pyc,,
|
124 |
+
pip/_internal/metadata/__pycache__/_json.cpython-39.pyc,,
|
125 |
+
pip/_internal/metadata/__pycache__/base.cpython-39.pyc,,
|
126 |
+
pip/_internal/metadata/__pycache__/pkg_resources.cpython-39.pyc,,
|
127 |
+
pip/_internal/metadata/_json.py,sha256=P0cAJrH_mtmMZvlZ16ZXm_-izA4lpr5wy08laICuiaA,2644
|
128 |
+
pip/_internal/metadata/base.py,sha256=ft0K5XNgI4ETqZnRv2-CtvgYiMOMAeGMAzxT-f6VLJA,25298
|
129 |
+
pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135
|
130 |
+
pip/_internal/metadata/importlib/__pycache__/__init__.cpython-39.pyc,,
|
131 |
+
pip/_internal/metadata/importlib/__pycache__/_compat.cpython-39.pyc,,
|
132 |
+
pip/_internal/metadata/importlib/__pycache__/_dists.cpython-39.pyc,,
|
133 |
+
pip/_internal/metadata/importlib/__pycache__/_envs.cpython-39.pyc,,
|
134 |
+
pip/_internal/metadata/importlib/_compat.py,sha256=GAe_prIfCE4iUylrnr_2dJRlkkBVRUbOidEoID7LPoE,1882
|
135 |
+
pip/_internal/metadata/importlib/_dists.py,sha256=sB2ehwdqysgFAqNZMrYDw9lVumFanJFw-rZsIzSUo4o,8275
|
136 |
+
pip/_internal/metadata/importlib/_envs.py,sha256=8AGojbf7Ei-eXmV8cmYMPDqPV_KkqH9oTYHE8OGn5LE,7455
|
137 |
+
pip/_internal/metadata/pkg_resources.py,sha256=U07ETAINSGeSRBfWUG93E4tZZbaW_f7PGzEqZN0hulc,10542
|
138 |
+
pip/_internal/models/__init__.py,sha256=3DHUd_qxpPozfzouoqa9g9ts1Czr5qaHfFxbnxriepM,63
|
139 |
+
pip/_internal/models/__pycache__/__init__.cpython-39.pyc,,
|
140 |
+
pip/_internal/models/__pycache__/candidate.cpython-39.pyc,,
|
141 |
+
pip/_internal/models/__pycache__/direct_url.cpython-39.pyc,,
|
142 |
+
pip/_internal/models/__pycache__/format_control.cpython-39.pyc,,
|
143 |
+
pip/_internal/models/__pycache__/index.cpython-39.pyc,,
|
144 |
+
pip/_internal/models/__pycache__/installation_report.cpython-39.pyc,,
|
145 |
+
pip/_internal/models/__pycache__/link.cpython-39.pyc,,
|
146 |
+
pip/_internal/models/__pycache__/scheme.cpython-39.pyc,,
|
147 |
+
pip/_internal/models/__pycache__/search_scope.cpython-39.pyc,,
|
148 |
+
pip/_internal/models/__pycache__/selection_prefs.cpython-39.pyc,,
|
149 |
+
pip/_internal/models/__pycache__/target_python.cpython-39.pyc,,
|
150 |
+
pip/_internal/models/__pycache__/wheel.cpython-39.pyc,,
|
151 |
+
pip/_internal/models/candidate.py,sha256=zzgFRuw_kWPjKpGw7LC0ZUMD2CQ2EberUIYs8izjdCA,753
|
152 |
+
pip/_internal/models/direct_url.py,sha256=uBtY2HHd3TO9cKQJWh0ThvE5FRr-MWRYChRU4IG9HZE,6578
|
153 |
+
pip/_internal/models/format_control.py,sha256=wtsQqSK9HaUiNxQEuB-C62eVimw6G4_VQFxV9-_KDBE,2486
|
154 |
+
pip/_internal/models/index.py,sha256=tYnL8oxGi4aSNWur0mG8DAP7rC6yuha_MwJO8xw0crI,1030
|
155 |
+
pip/_internal/models/installation_report.py,sha256=zRVZoaz-2vsrezj_H3hLOhMZCK9c7TbzWgC-jOalD00,2818
|
156 |
+
pip/_internal/models/link.py,sha256=jHax9O-9zlSzEwjBCDkx0OXjKXwBDwOuPwn-PsR8dCs,21034
|
157 |
+
pip/_internal/models/scheme.py,sha256=PakmHJM3e8OOWSZFtfz1Az7f1meONJnkGuQxFlt3wBE,575
|
158 |
+
pip/_internal/models/search_scope.py,sha256=67NEnsYY84784S-MM7ekQuo9KXLH-7MzFntXjapvAo0,4531
|
159 |
+
pip/_internal/models/selection_prefs.py,sha256=qaFfDs3ciqoXPg6xx45N1jPLqccLJw4N0s4P0PyHTQ8,2015
|
160 |
+
pip/_internal/models/target_python.py,sha256=2XaH2rZ5ZF-K5wcJbEMGEl7SqrTToDDNkrtQ2v_v_-Q,4271
|
161 |
+
pip/_internal/models/wheel.py,sha256=Odc1NVWL5N-i6A3vFa50BfNvCRlGvGa4som60FQM198,3601
|
162 |
+
pip/_internal/network/__init__.py,sha256=jf6Tt5nV_7zkARBrKojIXItgejvoegVJVKUbhAa5Ioc,50
|
163 |
+
pip/_internal/network/__pycache__/__init__.cpython-39.pyc,,
|
164 |
+
pip/_internal/network/__pycache__/auth.cpython-39.pyc,,
|
165 |
+
pip/_internal/network/__pycache__/cache.cpython-39.pyc,,
|
166 |
+
pip/_internal/network/__pycache__/download.cpython-39.pyc,,
|
167 |
+
pip/_internal/network/__pycache__/lazy_wheel.cpython-39.pyc,,
|
168 |
+
pip/_internal/network/__pycache__/session.cpython-39.pyc,,
|
169 |
+
pip/_internal/network/__pycache__/utils.cpython-39.pyc,,
|
170 |
+
pip/_internal/network/__pycache__/xmlrpc.cpython-39.pyc,,
|
171 |
+
pip/_internal/network/auth.py,sha256=iRu5LBEMK_3zXmsnWi21r0EKukJbWMum1jmIuL79PeY,20533
|
172 |
+
pip/_internal/network/cache.py,sha256=48A971qCzKNFvkb57uGEk7-0xaqPS0HWj2711QNTxkU,3935
|
173 |
+
pip/_internal/network/download.py,sha256=rZrbi6OdY1-2Nkc7AMvJetVmtOMnwVIkEAw615ONBzM,6087
|
174 |
+
pip/_internal/network/lazy_wheel.py,sha256=2PXVduYZPCPZkkQFe1J1GbfHJWeCU--FXonGyIfw9eU,7638
|
175 |
+
pip/_internal/network/session.py,sha256=XmanBKjVwPFmh1iJ58q6TDh9xabH37gREuQJ_feuZGA,18741
|
176 |
+
pip/_internal/network/utils.py,sha256=6A5SrUJEEUHxbGtbscwU2NpCyz-3ztiDlGWHpRRhsJ8,4073
|
177 |
+
pip/_internal/network/xmlrpc.py,sha256=sAxzOacJ-N1NXGPvap9jC3zuYWSnnv3GXtgR2-E2APA,1838
|
178 |
+
pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
179 |
+
pip/_internal/operations/__pycache__/__init__.cpython-39.pyc,,
|
180 |
+
pip/_internal/operations/__pycache__/check.cpython-39.pyc,,
|
181 |
+
pip/_internal/operations/__pycache__/freeze.cpython-39.pyc,,
|
182 |
+
pip/_internal/operations/__pycache__/prepare.cpython-39.pyc,,
|
183 |
+
pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
184 |
+
pip/_internal/operations/build/__pycache__/__init__.cpython-39.pyc,,
|
185 |
+
pip/_internal/operations/build/__pycache__/build_tracker.cpython-39.pyc,,
|
186 |
+
pip/_internal/operations/build/__pycache__/metadata.cpython-39.pyc,,
|
187 |
+
pip/_internal/operations/build/__pycache__/metadata_editable.cpython-39.pyc,,
|
188 |
+
pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-39.pyc,,
|
189 |
+
pip/_internal/operations/build/__pycache__/wheel.cpython-39.pyc,,
|
190 |
+
pip/_internal/operations/build/__pycache__/wheel_editable.cpython-39.pyc,,
|
191 |
+
pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-39.pyc,,
|
192 |
+
pip/_internal/operations/build/build_tracker.py,sha256=-ARW_TcjHCOX7D2NUOGntB4Fgc6b4aolsXkAK6BWL7w,4774
|
193 |
+
pip/_internal/operations/build/metadata.py,sha256=9S0CUD8U3QqZeXp-Zyt8HxwU90lE4QrnYDgrqZDzBnc,1422
|
194 |
+
pip/_internal/operations/build/metadata_editable.py,sha256=VLL7LvntKE8qxdhUdEJhcotFzUsOSI8NNS043xULKew,1474
|
195 |
+
pip/_internal/operations/build/metadata_legacy.py,sha256=8i6i1QZX9m_lKPStEFsHKM0MT4a-CD408JOw99daLmo,2190
|
196 |
+
pip/_internal/operations/build/wheel.py,sha256=sT12FBLAxDC6wyrDorh8kvcZ1jG5qInCRWzzP-UkJiQ,1075
|
197 |
+
pip/_internal/operations/build/wheel_editable.py,sha256=yOtoH6zpAkoKYEUtr8FhzrYnkNHQaQBjWQ2HYae1MQg,1417
|
198 |
+
pip/_internal/operations/build/wheel_legacy.py,sha256=K-6kNhmj-1xDF45ny1yheMerF0ui4EoQCLzEoHh6-tc,3045
|
199 |
+
pip/_internal/operations/check.py,sha256=Qpw7FwZMG1ZxbZ4sSPnbJ0enzMnXsCKWULq0fS1hvt0,5087
|
200 |
+
pip/_internal/operations/freeze.py,sha256=V59yEyCSz_YhZuhH09-6aV_zvYBMrS_IxFFNqn2QzlA,9864
|
201 |
+
pip/_internal/operations/install/__init__.py,sha256=mX7hyD2GNBO2mFGokDQ30r_GXv7Y_PLdtxcUv144e-s,51
|
202 |
+
pip/_internal/operations/install/__pycache__/__init__.cpython-39.pyc,,
|
203 |
+
pip/_internal/operations/install/__pycache__/editable_legacy.cpython-39.pyc,,
|
204 |
+
pip/_internal/operations/install/__pycache__/wheel.cpython-39.pyc,,
|
205 |
+
pip/_internal/operations/install/editable_legacy.py,sha256=PoEsNEPGbIZ2yQphPsmYTKLOCMs4gv5OcCdzW124NcA,1283
|
206 |
+
pip/_internal/operations/install/wheel.py,sha256=wshDUAnxuPUBg-prUJ60aqLuW4btb6XHT3bwb3VZchE,27197
|
207 |
+
pip/_internal/operations/prepare.py,sha256=joWJwPkuqGscQgVNImLK71e9hRapwKvRCM8HclysmvU,28118
|
208 |
+
pip/_internal/pyproject.py,sha256=4Xszp11xgr126yzG6BbJA0oaQ9WXuhb0jyUb-y_6lPQ,7152
|
209 |
+
pip/_internal/req/__init__.py,sha256=HxBFtZy_BbCclLgr26waMtpzYdO5T3vxePvpGAXSt5s,2653
|
210 |
+
pip/_internal/req/__pycache__/__init__.cpython-39.pyc,,
|
211 |
+
pip/_internal/req/__pycache__/constructors.cpython-39.pyc,,
|
212 |
+
pip/_internal/req/__pycache__/req_file.cpython-39.pyc,,
|
213 |
+
pip/_internal/req/__pycache__/req_install.cpython-39.pyc,,
|
214 |
+
pip/_internal/req/__pycache__/req_set.cpython-39.pyc,,
|
215 |
+
pip/_internal/req/__pycache__/req_uninstall.cpython-39.pyc,,
|
216 |
+
pip/_internal/req/constructors.py,sha256=aC9Nc-SESEz57WTodyH46ujupY10pWo2NmTl1v9_tro,18412
|
217 |
+
pip/_internal/req/req_file.py,sha256=hnC9Oz-trqGQpuDnCVWqwpJkAvtbCsk7-5k0EWVQhlQ,17687
|
218 |
+
pip/_internal/req/req_install.py,sha256=29LLB4oG6Igi_FeOKZJ_gBt15R1BpGW8FU9Jiq4H9gI,35054
|
219 |
+
pip/_internal/req/req_set.py,sha256=j3esG0s6SzoVReX9rWn4rpYNtyET_fwxbwJPRimvRxo,2858
|
220 |
+
pip/_internal/req/req_uninstall.py,sha256=qzDIxJo-OETWqGais7tSMCDcWbATYABT-Tid3ityF0s,23853
|
221 |
+
pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
222 |
+
pip/_internal/resolution/__pycache__/__init__.cpython-39.pyc,,
|
223 |
+
pip/_internal/resolution/__pycache__/base.cpython-39.pyc,,
|
224 |
+
pip/_internal/resolution/base.py,sha256=qlmh325SBVfvG6Me9gc5Nsh5sdwHBwzHBq6aEXtKsLA,583
|
225 |
+
pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
226 |
+
pip/_internal/resolution/legacy/__pycache__/__init__.cpython-39.pyc,,
|
227 |
+
pip/_internal/resolution/legacy/__pycache__/resolver.cpython-39.pyc,,
|
228 |
+
pip/_internal/resolution/legacy/resolver.py,sha256=3HZiJBRd1FTN6jQpI4qRO8-TbLYeIbUTS6PFvXnXs2w,24068
|
229 |
+
pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
230 |
+
pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-39.pyc,,
|
231 |
+
pip/_internal/resolution/resolvelib/__pycache__/base.cpython-39.pyc,,
|
232 |
+
pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-39.pyc,,
|
233 |
+
pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-39.pyc,,
|
234 |
+
pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-39.pyc,,
|
235 |
+
pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-39.pyc,,
|
236 |
+
pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-39.pyc,,
|
237 |
+
pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-39.pyc,,
|
238 |
+
pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-39.pyc,,
|
239 |
+
pip/_internal/resolution/resolvelib/base.py,sha256=DCf669FsqyQY5uqXeePDHQY1e4QO-pBzWH8O0s9-K94,5023
|
240 |
+
pip/_internal/resolution/resolvelib/candidates.py,sha256=07CBc85ya3J19XqdvUsLQwtVIxiTYq9km9hbTRh0jb0,19823
|
241 |
+
pip/_internal/resolution/resolvelib/factory.py,sha256=qzNIR_YsC4lpszaSmOmhONCplrf33hPceO8YtAIQrA4,32395
|
242 |
+
pip/_internal/resolution/resolvelib/found_candidates.py,sha256=9hrTyQqFvl9I7Tji79F1AxHv39Qh1rkJ_7deSHSMfQc,6383
|
243 |
+
pip/_internal/resolution/resolvelib/provider.py,sha256=bcsFnYvlmtB80cwVdW1fIwgol8ZNr1f1VHyRTkz47SM,9935
|
244 |
+
pip/_internal/resolution/resolvelib/reporter.py,sha256=YFm9hQvz4DFCbjZeFTQ56hTz3Ac-mDBnHkeNRVvMHLY,3100
|
245 |
+
pip/_internal/resolution/resolvelib/requirements.py,sha256=7JG4Z72e5Yk4vU0S5ulGvbqTy4FMQGYhY5zQhX9zTtY,8065
|
246 |
+
pip/_internal/resolution/resolvelib/resolver.py,sha256=nLJOsVMEVi2gQUVJoUFKMZAeu2f7GRMjGMvNSWyz0Bc,12592
|
247 |
+
pip/_internal/self_outdated_check.py,sha256=t9Zf6aaSXvlodc2JbUNVxImWCoE32p17GKJmyuI-lT8,8356
|
248 |
+
pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
249 |
+
pip/_internal/utils/__pycache__/__init__.cpython-39.pyc,,
|
250 |
+
pip/_internal/utils/__pycache__/_jaraco_text.cpython-39.pyc,,
|
251 |
+
pip/_internal/utils/__pycache__/_log.cpython-39.pyc,,
|
252 |
+
pip/_internal/utils/__pycache__/appdirs.cpython-39.pyc,,
|
253 |
+
pip/_internal/utils/__pycache__/compat.cpython-39.pyc,,
|
254 |
+
pip/_internal/utils/__pycache__/compatibility_tags.cpython-39.pyc,,
|
255 |
+
pip/_internal/utils/__pycache__/datetime.cpython-39.pyc,,
|
256 |
+
pip/_internal/utils/__pycache__/deprecation.cpython-39.pyc,,
|
257 |
+
pip/_internal/utils/__pycache__/direct_url_helpers.cpython-39.pyc,,
|
258 |
+
pip/_internal/utils/__pycache__/egg_link.cpython-39.pyc,,
|
259 |
+
pip/_internal/utils/__pycache__/encoding.cpython-39.pyc,,
|
260 |
+
pip/_internal/utils/__pycache__/entrypoints.cpython-39.pyc,,
|
261 |
+
pip/_internal/utils/__pycache__/filesystem.cpython-39.pyc,,
|
262 |
+
pip/_internal/utils/__pycache__/filetypes.cpython-39.pyc,,
|
263 |
+
pip/_internal/utils/__pycache__/glibc.cpython-39.pyc,,
|
264 |
+
pip/_internal/utils/__pycache__/hashes.cpython-39.pyc,,
|
265 |
+
pip/_internal/utils/__pycache__/logging.cpython-39.pyc,,
|
266 |
+
pip/_internal/utils/__pycache__/misc.cpython-39.pyc,,
|
267 |
+
pip/_internal/utils/__pycache__/packaging.cpython-39.pyc,,
|
268 |
+
pip/_internal/utils/__pycache__/setuptools_build.cpython-39.pyc,,
|
269 |
+
pip/_internal/utils/__pycache__/subprocess.cpython-39.pyc,,
|
270 |
+
pip/_internal/utils/__pycache__/temp_dir.cpython-39.pyc,,
|
271 |
+
pip/_internal/utils/__pycache__/unpacking.cpython-39.pyc,,
|
272 |
+
pip/_internal/utils/__pycache__/urls.cpython-39.pyc,,
|
273 |
+
pip/_internal/utils/__pycache__/virtualenv.cpython-39.pyc,,
|
274 |
+
pip/_internal/utils/__pycache__/wheel.cpython-39.pyc,,
|
275 |
+
pip/_internal/utils/_jaraco_text.py,sha256=M15uUPIh5NpP1tdUGBxRau6q1ZAEtI8-XyLEETscFfE,3350
|
276 |
+
pip/_internal/utils/_log.py,sha256=-jHLOE_THaZz5BFcCnoSL9EYAtJ0nXem49s9of4jvKw,1015
|
277 |
+
pip/_internal/utils/appdirs.py,sha256=swgcTKOm3daLeXTW6v5BUS2Ti2RvEnGRQYH_yDXklAo,1665
|
278 |
+
pip/_internal/utils/compat.py,sha256=ckkFveBiYQjRWjkNsajt_oWPS57tJvE8XxoC4OIYgCY,2399
|
279 |
+
pip/_internal/utils/compatibility_tags.py,sha256=ydin8QG8BHqYRsPY4OL6cmb44CbqXl1T0xxS97VhHkk,5377
|
280 |
+
pip/_internal/utils/datetime.py,sha256=m21Y3wAtQc-ji6Veb6k_M5g6A0ZyFI4egchTdnwh-pQ,242
|
281 |
+
pip/_internal/utils/deprecation.py,sha256=k7Qg_UBAaaTdyq82YVARA6D7RmcGTXGv7fnfcgigj4Q,3707
|
282 |
+
pip/_internal/utils/direct_url_helpers.py,sha256=r2MRtkVDACv9AGqYODBUC9CjwgtsUU1s68hmgfCJMtA,3196
|
283 |
+
pip/_internal/utils/egg_link.py,sha256=0FePZoUYKv4RGQ2t6x7w5Z427wbA_Uo3WZnAkrgsuqo,2463
|
284 |
+
pip/_internal/utils/encoding.py,sha256=qqsXDtiwMIjXMEiIVSaOjwH5YmirCaK-dIzb6-XJsL0,1169
|
285 |
+
pip/_internal/utils/entrypoints.py,sha256=YlhLTRl2oHBAuqhc-zmL7USS67TPWVHImjeAQHreZTQ,3064
|
286 |
+
pip/_internal/utils/filesystem.py,sha256=RhMIXUaNVMGjc3rhsDahWQ4MavvEQDdqXqgq-F6fpw8,5122
|
287 |
+
pip/_internal/utils/filetypes.py,sha256=i8XAQ0eFCog26Fw9yV0Yb1ygAqKYB1w9Cz9n0fj8gZU,716
|
288 |
+
pip/_internal/utils/glibc.py,sha256=Mesxxgg3BLxheLZx-dSf30b6gKpOgdVXw6W--uHSszQ,3113
|
289 |
+
pip/_internal/utils/hashes.py,sha256=aLhAlDXeEA_PrjRbfFYy9G6_MKlxdvc7JxUtN5QKP6k,4951
|
290 |
+
pip/_internal/utils/logging.py,sha256=xSDfIHRfy95-RSHuh1QFXZrrS2Onpa1mMVLDM5_o21s,11602
|
291 |
+
pip/_internal/utils/misc.py,sha256=PO3qVc98DOSd-2xA9qBMFSThmZjQiDzVDa3dm2-Q3lc,23814
|
292 |
+
pip/_internal/utils/packaging.py,sha256=5Wm6_x7lKrlqVjPI5MBN_RurcRHwVYoQ7Ksrs84de7s,2108
|
293 |
+
pip/_internal/utils/setuptools_build.py,sha256=ouXpud-jeS8xPyTPsXJ-m34NPvK5os45otAzdSV_IJE,4435
|
294 |
+
pip/_internal/utils/subprocess.py,sha256=EsvqSRiSMHF98T8Txmu6NLU3U--MpTTQjtNgKP0P--M,8988
|
295 |
+
pip/_internal/utils/temp_dir.py,sha256=DUAw22uFruQdK43i2L2K53C-CDjRCPeAsBKJpu-rHQ4,9312
|
296 |
+
pip/_internal/utils/unpacking.py,sha256=eyDkSsk4nW8ZfiSjNzJduCznpHyaGHVv3ak_LMGsiEM,11951
|
297 |
+
pip/_internal/utils/urls.py,sha256=qceSOZb5lbNDrHNsv7_S4L4Ytszja5NwPKUMnZHbYnM,1599
|
298 |
+
pip/_internal/utils/virtualenv.py,sha256=S6f7csYorRpiD6cvn3jISZYc3I8PJC43H5iMFpRAEDU,3456
|
299 |
+
pip/_internal/utils/wheel.py,sha256=b442jkydFHjXzDy6cMR7MpzWBJ1Q82hR5F33cmcHV3g,4494
|
300 |
+
pip/_internal/vcs/__init__.py,sha256=UAqvzpbi0VbZo3Ub6skEeZAw-ooIZR-zX_WpCbxyCoU,596
|
301 |
+
pip/_internal/vcs/__pycache__/__init__.cpython-39.pyc,,
|
302 |
+
pip/_internal/vcs/__pycache__/bazaar.cpython-39.pyc,,
|
303 |
+
pip/_internal/vcs/__pycache__/git.cpython-39.pyc,,
|
304 |
+
pip/_internal/vcs/__pycache__/mercurial.cpython-39.pyc,,
|
305 |
+
pip/_internal/vcs/__pycache__/subversion.cpython-39.pyc,,
|
306 |
+
pip/_internal/vcs/__pycache__/versioncontrol.cpython-39.pyc,,
|
307 |
+
pip/_internal/vcs/bazaar.py,sha256=EKStcQaKpNu0NK4p5Q10Oc4xb3DUxFw024XrJy40bFQ,3528
|
308 |
+
pip/_internal/vcs/git.py,sha256=3tpc9LQA_J4IVW5r5NvWaaSeDzcmJOrSFZN0J8vIKfU,18177
|
309 |
+
pip/_internal/vcs/mercurial.py,sha256=oULOhzJ2Uie-06d1omkL-_Gc6meGaUkyogvqG9ZCyPs,5249
|
310 |
+
pip/_internal/vcs/subversion.py,sha256=ddTugHBqHzV3ebKlU5QXHPN4gUqlyXbOx8q8NgXKvs8,11735
|
311 |
+
pip/_internal/vcs/versioncontrol.py,sha256=cvf_-hnTAjQLXJ3d17FMNhQfcO1AcKWUF10tfrYyP-c,22440
|
312 |
+
pip/_internal/wheel_builder.py,sha256=DL3A8LKeRj_ACp11WS5wSgASgPFqeyAeXJKdXfmaWXU,11799
|
313 |
+
pip/_vendor/__init__.py,sha256=691R7mzHaXjBpSyqx4flnSGjB2xTsNYUx17rbCS8F9c,4850
|
314 |
+
pip/_vendor/__pycache__/__init__.cpython-39.pyc,,
|
315 |
+
pip/_vendor/__pycache__/typing_extensions.cpython-39.pyc,,
|
316 |
+
pip/_vendor/cachecontrol/__init__.py,sha256=GiYoagwPEiJ_xR_lbwWGaoCiPtF_rz4isjfjdDAgHU4,676
|
317 |
+
pip/_vendor/cachecontrol/__pycache__/__init__.cpython-39.pyc,,
|
318 |
+
pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-39.pyc,,
|
319 |
+
pip/_vendor/cachecontrol/__pycache__/adapter.cpython-39.pyc,,
|
320 |
+
pip/_vendor/cachecontrol/__pycache__/cache.cpython-39.pyc,,
|
321 |
+
pip/_vendor/cachecontrol/__pycache__/controller.cpython-39.pyc,,
|
322 |
+
pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-39.pyc,,
|
323 |
+
pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-39.pyc,,
|
324 |
+
pip/_vendor/cachecontrol/__pycache__/serialize.cpython-39.pyc,,
|
325 |
+
pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-39.pyc,,
|
326 |
+
pip/_vendor/cachecontrol/_cmd.py,sha256=iist2EpzJvDVIhMAxXq8iFnTBsiZAd6iplxfmNboNyk,1737
|
327 |
+
pip/_vendor/cachecontrol/adapter.py,sha256=fByO_Pd_EOemjWbuocvBWdN85xT0q_TBm2lxS6vD4fk,6355
|
328 |
+
pip/_vendor/cachecontrol/cache.py,sha256=OTQj72tUf8C1uEgczdl3Gc8vkldSzsTITKtDGKMx4z8,1952
|
329 |
+
pip/_vendor/cachecontrol/caches/__init__.py,sha256=dtrrroK5BnADR1GWjCZ19aZ0tFsMfvFBtLQQU1sp_ag,303
|
330 |
+
pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-39.pyc,,
|
331 |
+
pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-39.pyc,,
|
332 |
+
pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-39.pyc,,
|
333 |
+
pip/_vendor/cachecontrol/caches/file_cache.py,sha256=9AlmmTJc6cslb6k5z_6q0sGPHVrMj8zv-uWy-simmfE,5406
|
334 |
+
pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=9rmqwtYu_ljVkW6_oLqbC7EaX_a8YT_yLuna-eS0dgo,1386
|
335 |
+
pip/_vendor/cachecontrol/controller.py,sha256=o-ejGJlBmpKK8QQLyTPJj0t7siU8XVHXuV8MCybCxQ8,18575
|
336 |
+
pip/_vendor/cachecontrol/filewrapper.py,sha256=STttGmIPBvZzt2b51dUOwoWX5crcMCpKZOisM3f5BNc,4292
|
337 |
+
pip/_vendor/cachecontrol/heuristics.py,sha256=IYe4QmHERWsMvtxNrp920WeaIsaTTyqLB14DSheSbtY,4834
|
338 |
+
pip/_vendor/cachecontrol/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
339 |
+
pip/_vendor/cachecontrol/serialize.py,sha256=HQd2IllQ05HzPkVLMXTF2uX5mjEQjDBkxCqUJUODpZk,5163
|
340 |
+
pip/_vendor/cachecontrol/wrapper.py,sha256=hsGc7g8QGQTT-4f8tgz3AM5qwScg6FO0BSdLSRdEvpU,1417
|
341 |
+
pip/_vendor/certifi/__init__.py,sha256=ljtEx-EmmPpTe2SOd5Kzsujm_lUD0fKJVnE9gzce320,94
|
342 |
+
pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
|
343 |
+
pip/_vendor/certifi/__pycache__/__init__.cpython-39.pyc,,
|
344 |
+
pip/_vendor/certifi/__pycache__/__main__.cpython-39.pyc,,
|
345 |
+
pip/_vendor/certifi/__pycache__/core.cpython-39.pyc,,
|
346 |
+
pip/_vendor/certifi/cacert.pem,sha256=ejR8qP724p-CtuR4U1WmY1wX-nVeCUD2XxWqj8e9f5I,292541
|
347 |
+
pip/_vendor/certifi/core.py,sha256=2SRT5rIcQChFDbe37BQa-kULxAgJ8qN6l1jfqTp4HIs,4486
|
348 |
+
pip/_vendor/certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
349 |
+
pip/_vendor/distlib/__init__.py,sha256=hJKF7FHoqbmGckncDuEINWo_OYkDNiHODtYXSMcvjcc,625
|
350 |
+
pip/_vendor/distlib/__pycache__/__init__.cpython-39.pyc,,
|
351 |
+
pip/_vendor/distlib/__pycache__/compat.cpython-39.pyc,,
|
352 |
+
pip/_vendor/distlib/__pycache__/database.cpython-39.pyc,,
|
353 |
+
pip/_vendor/distlib/__pycache__/index.cpython-39.pyc,,
|
354 |
+
pip/_vendor/distlib/__pycache__/locators.cpython-39.pyc,,
|
355 |
+
pip/_vendor/distlib/__pycache__/manifest.cpython-39.pyc,,
|
356 |
+
pip/_vendor/distlib/__pycache__/markers.cpython-39.pyc,,
|
357 |
+
pip/_vendor/distlib/__pycache__/metadata.cpython-39.pyc,,
|
358 |
+
pip/_vendor/distlib/__pycache__/resources.cpython-39.pyc,,
|
359 |
+
pip/_vendor/distlib/__pycache__/scripts.cpython-39.pyc,,
|
360 |
+
pip/_vendor/distlib/__pycache__/util.cpython-39.pyc,,
|
361 |
+
pip/_vendor/distlib/__pycache__/version.cpython-39.pyc,,
|
362 |
+
pip/_vendor/distlib/__pycache__/wheel.cpython-39.pyc,,
|
363 |
+
pip/_vendor/distlib/compat.py,sha256=Un-uIBvy02w-D267OG4VEhuddqWgKj9nNkxVltAb75w,41487
|
364 |
+
pip/_vendor/distlib/database.py,sha256=0V9Qvs0Vrxa2F_-hLWitIyVyRifJ0pCxyOI-kEOBwsA,51965
|
365 |
+
pip/_vendor/distlib/index.py,sha256=lTbw268rRhj8dw1sib3VZ_0EhSGgoJO3FKJzSFMOaeA,20797
|
366 |
+
pip/_vendor/distlib/locators.py,sha256=o1r_M86_bRLafSpetmyfX8KRtFu-_Q58abvQrnOSnbA,51767
|
367 |
+
pip/_vendor/distlib/manifest.py,sha256=3qfmAmVwxRqU1o23AlfXrQGZzh6g_GGzTAP_Hb9C5zQ,14168
|
368 |
+
pip/_vendor/distlib/markers.py,sha256=n3DfOh1yvZ_8EW7atMyoYeZFXjYla0Nz0itQlojCd0A,5268
|
369 |
+
pip/_vendor/distlib/metadata.py,sha256=pB9WZ9mBfmQxc9OVIldLS5CjOoQRvKAvUwwQyKwKQtQ,39693
|
370 |
+
pip/_vendor/distlib/resources.py,sha256=LwbPksc0A1JMbi6XnuPdMBUn83X7BPuFNWqPGEKI698,10820
|
371 |
+
pip/_vendor/distlib/scripts.py,sha256=8_gP9J7_tlNRicnWmPX4ZiDlP5wTwJKDeeg-8_qXUZU,18780
|
372 |
+
pip/_vendor/distlib/t32.exe,sha256=a0GV5kCoWsMutvliiCKmIgV98eRZ33wXoS-XrqvJQVs,97792
|
373 |
+
pip/_vendor/distlib/t64-arm.exe,sha256=68TAa32V504xVBnufojh0PcenpR3U4wAqTqf-MZqbPw,182784
|
374 |
+
pip/_vendor/distlib/t64.exe,sha256=gaYY8hy4fbkHYTTnA4i26ct8IQZzkBG2pRdy0iyuBrc,108032
|
375 |
+
pip/_vendor/distlib/util.py,sha256=XSznxEi_i3T20UJuaVc0qXHz5ksGUCW1khYlBprN_QE,67530
|
376 |
+
pip/_vendor/distlib/version.py,sha256=9pXkduchve_aN7JG6iL9VTYV_kqNSGoc2Dwl8JuySnQ,23747
|
377 |
+
pip/_vendor/distlib/w32.exe,sha256=R4csx3-OGM9kL4aPIzQKRo5TfmRSHZo6QWyLhDhNBks,91648
|
378 |
+
pip/_vendor/distlib/w64-arm.exe,sha256=xdyYhKj0WDcVUOCb05blQYvzdYIKMbmJn2SZvzkcey4,168448
|
379 |
+
pip/_vendor/distlib/w64.exe,sha256=ejGf-rojoBfXseGLpya6bFTFPWRG21X5KvU8J5iU-K0,101888
|
380 |
+
pip/_vendor/distlib/wheel.py,sha256=FVQCve8u-L0QYk5-YTZc7s4WmNQdvjRWTK08KXzZVX4,43958
|
381 |
+
pip/_vendor/distro/__init__.py,sha256=2fHjF-SfgPvjyNZ1iHh_wjqWdR_Yo5ODHwZC0jLBPhc,981
|
382 |
+
pip/_vendor/distro/__main__.py,sha256=bu9d3TifoKciZFcqRBuygV3GSuThnVD_m2IK4cz96Vs,64
|
383 |
+
pip/_vendor/distro/__pycache__/__init__.cpython-39.pyc,,
|
384 |
+
pip/_vendor/distro/__pycache__/__main__.cpython-39.pyc,,
|
385 |
+
pip/_vendor/distro/__pycache__/distro.cpython-39.pyc,,
|
386 |
+
pip/_vendor/distro/distro.py,sha256=XqbefacAhDT4zr_trnbA15eY8vdK4GTghgmvUGrEM_4,49430
|
387 |
+
pip/_vendor/distro/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
388 |
+
pip/_vendor/idna/__init__.py,sha256=KJQN1eQBr8iIK5SKrJ47lXvxG0BJ7Lm38W4zT0v_8lk,849
|
389 |
+
pip/_vendor/idna/__pycache__/__init__.cpython-39.pyc,,
|
390 |
+
pip/_vendor/idna/__pycache__/codec.cpython-39.pyc,,
|
391 |
+
pip/_vendor/idna/__pycache__/compat.cpython-39.pyc,,
|
392 |
+
pip/_vendor/idna/__pycache__/core.cpython-39.pyc,,
|
393 |
+
pip/_vendor/idna/__pycache__/idnadata.cpython-39.pyc,,
|
394 |
+
pip/_vendor/idna/__pycache__/intranges.cpython-39.pyc,,
|
395 |
+
pip/_vendor/idna/__pycache__/package_data.cpython-39.pyc,,
|
396 |
+
pip/_vendor/idna/__pycache__/uts46data.cpython-39.pyc,,
|
397 |
+
pip/_vendor/idna/codec.py,sha256=PS6m-XmdST7Wj7J7ulRMakPDt5EBJyYrT3CPtjh-7t4,3426
|
398 |
+
pip/_vendor/idna/compat.py,sha256=0_sOEUMT4CVw9doD3vyRhX80X19PwqFoUBs7gWsFME4,321
|
399 |
+
pip/_vendor/idna/core.py,sha256=lyhpoe2vulEaB_65xhXmoKgO-xUqFDvcwxu5hpNNO4E,12663
|
400 |
+
pip/_vendor/idna/idnadata.py,sha256=dqRwytzkjIHMBa2R1lYvHDwACenZPt8eGVu1Y8UBE-E,78320
|
401 |
+
pip/_vendor/idna/intranges.py,sha256=YBr4fRYuWH7kTKS2tXlFjM24ZF1Pdvcir-aywniInqg,1881
|
402 |
+
pip/_vendor/idna/package_data.py,sha256=Tkt0KnIeyIlnHddOaz9WSkkislNgokJAuE-p5GorMqo,21
|
403 |
+
pip/_vendor/idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
404 |
+
pip/_vendor/idna/uts46data.py,sha256=1KuksWqLuccPXm2uyRVkhfiFLNIhM_H2m4azCcnOqEU,206503
|
405 |
+
pip/_vendor/msgpack/__init__.py,sha256=gsMP7JTECZNUSjvOyIbdhNOkpB9Z8BcGwabVGY2UcdQ,1077
|
406 |
+
pip/_vendor/msgpack/__pycache__/__init__.cpython-39.pyc,,
|
407 |
+
pip/_vendor/msgpack/__pycache__/exceptions.cpython-39.pyc,,
|
408 |
+
pip/_vendor/msgpack/__pycache__/ext.cpython-39.pyc,,
|
409 |
+
pip/_vendor/msgpack/__pycache__/fallback.cpython-39.pyc,,
|
410 |
+
pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
|
411 |
+
pip/_vendor/msgpack/ext.py,sha256=fKp00BqDLjUtZnPd70Llr138zk8JsCuSpJkkZ5S4dt8,5629
|
412 |
+
pip/_vendor/msgpack/fallback.py,sha256=wdUWJkWX2gzfRW9BBCTOuIE1Wvrf5PtBtR8ZtY7G_EE,33175
|
413 |
+
pip/_vendor/packaging/__init__.py,sha256=dtw2bNmWCQ9WnMoK3bk_elL1svSlikXtLpZhCFIB9SE,496
|
414 |
+
pip/_vendor/packaging/__pycache__/__init__.cpython-39.pyc,,
|
415 |
+
pip/_vendor/packaging/__pycache__/_elffile.cpython-39.pyc,,
|
416 |
+
pip/_vendor/packaging/__pycache__/_manylinux.cpython-39.pyc,,
|
417 |
+
pip/_vendor/packaging/__pycache__/_musllinux.cpython-39.pyc,,
|
418 |
+
pip/_vendor/packaging/__pycache__/_parser.cpython-39.pyc,,
|
419 |
+
pip/_vendor/packaging/__pycache__/_structures.cpython-39.pyc,,
|
420 |
+
pip/_vendor/packaging/__pycache__/_tokenizer.cpython-39.pyc,,
|
421 |
+
pip/_vendor/packaging/__pycache__/markers.cpython-39.pyc,,
|
422 |
+
pip/_vendor/packaging/__pycache__/metadata.cpython-39.pyc,,
|
423 |
+
pip/_vendor/packaging/__pycache__/requirements.cpython-39.pyc,,
|
424 |
+
pip/_vendor/packaging/__pycache__/specifiers.cpython-39.pyc,,
|
425 |
+
pip/_vendor/packaging/__pycache__/tags.cpython-39.pyc,,
|
426 |
+
pip/_vendor/packaging/__pycache__/utils.cpython-39.pyc,,
|
427 |
+
pip/_vendor/packaging/__pycache__/version.cpython-39.pyc,,
|
428 |
+
pip/_vendor/packaging/_elffile.py,sha256=_LcJW4YNKywYsl4169B2ukKRqwxjxst_8H0FRVQKlz8,3282
|
429 |
+
pip/_vendor/packaging/_manylinux.py,sha256=Xo4V0PZz8sbuVCbTni0t1CR0AHeir_7ib4lTmV8scD4,9586
|
430 |
+
pip/_vendor/packaging/_musllinux.py,sha256=p9ZqNYiOItGee8KcZFeHF_YcdhVwGHdK6r-8lgixvGQ,2694
|
431 |
+
pip/_vendor/packaging/_parser.py,sha256=s_TvTvDNK0NrM2QB3VKThdWFM4Nc0P6JnkObkl3MjpM,10236
|
432 |
+
pip/_vendor/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
|
433 |
+
pip/_vendor/packaging/_tokenizer.py,sha256=J6v5H7Jzvb-g81xp_2QACKwO7LxHQA6ikryMU7zXwN8,5273
|
434 |
+
pip/_vendor/packaging/markers.py,sha256=dWKSqn5Sp-jDmOG-W3GfLHKjwhf1IsznbT71VlBoB5M,10671
|
435 |
+
pip/_vendor/packaging/metadata.py,sha256=KINuSkJ12u-SyoKNTy_pHNGAfMUtxNvZ53qA1zAKcKI,32349
|
436 |
+
pip/_vendor/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
437 |
+
pip/_vendor/packaging/requirements.py,sha256=gYyRSAdbrIyKDY66ugIDUQjRMvxkH2ALioTmX3tnL6o,2947
|
438 |
+
pip/_vendor/packaging/specifiers.py,sha256=HfGgfNJRvrzC759gnnoojHyiWs_DYmcw5PEh5jHH-YE,39738
|
439 |
+
pip/_vendor/packaging/tags.py,sha256=y8EbheOu9WS7s-MebaXMcHMF-jzsA_C1Lz5XRTiSy4w,18883
|
440 |
+
pip/_vendor/packaging/utils.py,sha256=NAdYUwnlAOpkat_RthavX8a07YuVxgGL_vwrx73GSDM,5287
|
441 |
+
pip/_vendor/packaging/version.py,sha256=wE4sSVlF-d1H6HFC1vszEe35CwTig_fh4HHIFg95hFE,16210
|
442 |
+
pip/_vendor/pkg_resources/__init__.py,sha256=jg4dQofVk-8nGUO8gd_tWbtfIV0PWeFEV4y_uwrlCws,108869
|
443 |
+
pip/_vendor/pkg_resources/__pycache__/__init__.cpython-39.pyc,,
|
444 |
+
pip/_vendor/platformdirs/__init__.py,sha256=FTA6LGNm40GwNZt3gG3uLAacWvf2E_2HTmH0rAALGR8,22285
|
445 |
+
pip/_vendor/platformdirs/__main__.py,sha256=jBJ8zb7Mpx5ebcqF83xrpO94MaeCpNGHVf9cvDN2JLg,1505
|
446 |
+
pip/_vendor/platformdirs/__pycache__/__init__.cpython-39.pyc,,
|
447 |
+
pip/_vendor/platformdirs/__pycache__/__main__.cpython-39.pyc,,
|
448 |
+
pip/_vendor/platformdirs/__pycache__/android.cpython-39.pyc,,
|
449 |
+
pip/_vendor/platformdirs/__pycache__/api.cpython-39.pyc,,
|
450 |
+
pip/_vendor/platformdirs/__pycache__/macos.cpython-39.pyc,,
|
451 |
+
pip/_vendor/platformdirs/__pycache__/unix.cpython-39.pyc,,
|
452 |
+
pip/_vendor/platformdirs/__pycache__/version.cpython-39.pyc,,
|
453 |
+
pip/_vendor/platformdirs/__pycache__/windows.cpython-39.pyc,,
|
454 |
+
pip/_vendor/platformdirs/android.py,sha256=BqIsAnIw-6aVfxq7oVai4FDT6a0AcGkUwL1joStqxuo,7681
|
455 |
+
pip/_vendor/platformdirs/api.py,sha256=QBYdUac2eC521ek_y53uD1Dcq-lJX8IgSRVd4InC6uc,8996
|
456 |
+
pip/_vendor/platformdirs/macos.py,sha256=wftsbsvq6nZ0WORXSiCrZNkRHz_WKuktl0a6mC7MFkI,5580
|
457 |
+
pip/_vendor/platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
458 |
+
pip/_vendor/platformdirs/unix.py,sha256=Cci9Wqt35dAMsg6HT9nRGHSBW5obb0pR3AE1JJnsCXg,10643
|
459 |
+
pip/_vendor/platformdirs/version.py,sha256=kvsvY0Rd2WGRRrOgeTDKewa3rT0x212Ex5AgbU2NjMk,411
|
460 |
+
pip/_vendor/platformdirs/windows.py,sha256=IFpiohUBwxPtCzlyKwNtxyW4Jk8haa6W8o59mfrDXVo,10125
|
461 |
+
pip/_vendor/pygments/__init__.py,sha256=TVGTxny40TqHezz7-4TJ4ehs_m4Dj21jdP24h06vw-M,2983
|
462 |
+
pip/_vendor/pygments/__main__.py,sha256=es8EKMvXj5yToIfQ-pf3Dv5TnIeeM6sME0LW-n4ecHo,353
|
463 |
+
pip/_vendor/pygments/__pycache__/__init__.cpython-39.pyc,,
|
464 |
+
pip/_vendor/pygments/__pycache__/__main__.cpython-39.pyc,,
|
465 |
+
pip/_vendor/pygments/__pycache__/cmdline.cpython-39.pyc,,
|
466 |
+
pip/_vendor/pygments/__pycache__/console.cpython-39.pyc,,
|
467 |
+
pip/_vendor/pygments/__pycache__/filter.cpython-39.pyc,,
|
468 |
+
pip/_vendor/pygments/__pycache__/formatter.cpython-39.pyc,,
|
469 |
+
pip/_vendor/pygments/__pycache__/lexer.cpython-39.pyc,,
|
470 |
+
pip/_vendor/pygments/__pycache__/modeline.cpython-39.pyc,,
|
471 |
+
pip/_vendor/pygments/__pycache__/plugin.cpython-39.pyc,,
|
472 |
+
pip/_vendor/pygments/__pycache__/regexopt.cpython-39.pyc,,
|
473 |
+
pip/_vendor/pygments/__pycache__/scanner.cpython-39.pyc,,
|
474 |
+
pip/_vendor/pygments/__pycache__/sphinxext.cpython-39.pyc,,
|
475 |
+
pip/_vendor/pygments/__pycache__/style.cpython-39.pyc,,
|
476 |
+
pip/_vendor/pygments/__pycache__/token.cpython-39.pyc,,
|
477 |
+
pip/_vendor/pygments/__pycache__/unistring.cpython-39.pyc,,
|
478 |
+
pip/_vendor/pygments/__pycache__/util.cpython-39.pyc,,
|
479 |
+
pip/_vendor/pygments/cmdline.py,sha256=vblyaGq79OI9SRqeRfpoLCOj7nzpiiw-fz5zb46Y07o,23650
|
480 |
+
pip/_vendor/pygments/console.py,sha256=2wZ5W-U6TudJD1_NLUwjclMpbomFM91lNv11_60sfGY,1697
|
481 |
+
pip/_vendor/pygments/filter.py,sha256=j5aLM9a9wSx6eH1oy473oSkJ02hGWNptBlVo4s1g_30,1938
|
482 |
+
pip/_vendor/pygments/filters/__init__.py,sha256=h_koYkUFo-FFUxjs564JHUAz7O3yJpVwI6fKN3MYzG0,40386
|
483 |
+
pip/_vendor/pygments/filters/__pycache__/__init__.cpython-39.pyc,,
|
484 |
+
pip/_vendor/pygments/formatter.py,sha256=J9OL9hXLJKZk7moUgKwpjW9HNf4WlJFg_o_-Z_S_tTY,4178
|
485 |
+
pip/_vendor/pygments/formatters/__init__.py,sha256=1_zM_79hxxurS946tTl5m30Twh8AbzUTtuv-v7oWU_4,5431
|
486 |
+
pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-39.pyc,,
|
487 |
+
pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-39.pyc,,
|
488 |
+
pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-39.pyc,,
|
489 |
+
pip/_vendor/pygments/formatters/__pycache__/groff.cpython-39.pyc,,
|
490 |
+
pip/_vendor/pygments/formatters/__pycache__/html.cpython-39.pyc,,
|
491 |
+
pip/_vendor/pygments/formatters/__pycache__/img.cpython-39.pyc,,
|
492 |
+
pip/_vendor/pygments/formatters/__pycache__/irc.cpython-39.pyc,,
|
493 |
+
pip/_vendor/pygments/formatters/__pycache__/latex.cpython-39.pyc,,
|
494 |
+
pip/_vendor/pygments/formatters/__pycache__/other.cpython-39.pyc,,
|
495 |
+
pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-39.pyc,,
|
496 |
+
pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-39.pyc,,
|
497 |
+
pip/_vendor/pygments/formatters/__pycache__/svg.cpython-39.pyc,,
|
498 |
+
pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-39.pyc,,
|
499 |
+
pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-39.pyc,,
|
500 |
+
pip/_vendor/pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176
|
501 |
+
pip/_vendor/pygments/formatters/bbcode.py,sha256=r1b7wzWTJouADDLh-Z11iRi4iQxD0JKJ1qHl6mOYxsA,3314
|
502 |
+
pip/_vendor/pygments/formatters/groff.py,sha256=xy8Zf3tXOo6MWrXh7yPGWx3lVEkg_DhY4CxmsDb0IVo,5094
|
503 |
+
pip/_vendor/pygments/formatters/html.py,sha256=iauRmUK7KnA0kDbxQ-C2p1x-bjoWbDPlBqsT9ZPFTUg,35676
|
504 |
+
pip/_vendor/pygments/formatters/img.py,sha256=bklYds13mYy6mxBJS9aOfR8SEn3BtLcnRb10zuAwD6M,23140
|
505 |
+
pip/_vendor/pygments/formatters/irc.py,sha256=Ep-m8jd3voFO6Fv57cUGFmz6JVA67IEgyiBOwv0N4a0,4981
|
506 |
+
pip/_vendor/pygments/formatters/latex.py,sha256=FGzJ-YqSTE8z_voWPdzvLY5Tq8jE_ygjGjM6dXZJ8-k,19351
|
507 |
+
pip/_vendor/pygments/formatters/other.py,sha256=gPxkk5BdAzWTCgbEHg1lpLi-1F6ZPh5A_aotgLXHnzg,5073
|
508 |
+
pip/_vendor/pygments/formatters/pangomarkup.py,sha256=6LKnQc8yh49f802bF0sPvbzck4QivMYqqoXAPaYP8uU,2212
|
509 |
+
pip/_vendor/pygments/formatters/rtf.py,sha256=aA0v_psW6KZI3N18TKDifxeL6mcF8EDXcPXDWI4vhVQ,5014
|
510 |
+
pip/_vendor/pygments/formatters/svg.py,sha256=dQONWypbzfvzGCDtdp3M_NJawScJvM2DiHbx1k-ww7g,7335
|
511 |
+
pip/_vendor/pygments/formatters/terminal.py,sha256=FG-rpjRpFmNpiGB4NzIucvxq6sQIXB3HOTo2meTKtrU,4674
|
512 |
+
pip/_vendor/pygments/formatters/terminal256.py,sha256=13SJ3D5pFdqZ9zROE6HbWnBDwHvOGE8GlsmqGhprRp4,11753
|
513 |
+
pip/_vendor/pygments/lexer.py,sha256=IHe9eZiKTFzemc1i6qwKcNBZUJ918V2BzREbViwT0cY,35284
|
514 |
+
pip/_vendor/pygments/lexers/__init__.py,sha256=WD1uIk2EmIMbdy1Wv2UbjqZg5lTvZvpmATS5ZdvLQKo,12161
|
515 |
+
pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-39.pyc,,
|
516 |
+
pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-39.pyc,,
|
517 |
+
pip/_vendor/pygments/lexers/__pycache__/python.cpython-39.pyc,,
|
518 |
+
pip/_vendor/pygments/lexers/_mapping.py,sha256=FMX2ffTEHQGgiwZA9vYSPIAyqOnf2Uw9OiG4GI7wXDs,74926
|
519 |
+
pip/_vendor/pygments/lexers/python.py,sha256=DzeHBmW1IxQCL7ujXhLSW7AOXlnNcNfrk6JX46iZYbk,53448
|
520 |
+
pip/_vendor/pygments/modeline.py,sha256=eF2vO4LpOGoPvIKKkbPfnyut8hT4UiebZPpb-BYGQdI,986
|
521 |
+
pip/_vendor/pygments/plugin.py,sha256=j1Fh310RbV2DQ9nvkmkqvlj38gdyuYKllLnGxbc8sJM,2591
|
522 |
+
pip/_vendor/pygments/regexopt.py,sha256=jg1ALogcYGU96TQS9isBl6dCrvw5y5--BP_K-uFk_8s,3072
|
523 |
+
pip/_vendor/pygments/scanner.py,sha256=b_nu5_f3HCgSdp5S_aNRBQ1MSCm4ZjDwec2OmTRickw,3092
|
524 |
+
pip/_vendor/pygments/sphinxext.py,sha256=XIHxBwMMM2bIaR4XtMH_U8M6H6zpJ-H-xeRsHaeGtD0,7770
|
525 |
+
pip/_vendor/pygments/style.py,sha256=IR2flUl31IetX-5YJAITUMRRAxk-fTJ3f9nM3D6cKg4,6420
|
526 |
+
pip/_vendor/pygments/styles/__init__.py,sha256=VMj3B7F6Kf1LeAPTFWF3B8Rt0OZLj_4jZ2WdgC59ooo,2042
|
527 |
+
pip/_vendor/pygments/styles/__pycache__/__init__.cpython-39.pyc,,
|
528 |
+
pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-39.pyc,,
|
529 |
+
pip/_vendor/pygments/styles/_mapping.py,sha256=8nY9bcEF1Zw9Xu0bmqffqYEHHbNZvCQHit2OVlJWHyk,3251
|
530 |
+
pip/_vendor/pygments/token.py,sha256=DXVQcLULVn05LG63bagiqJd2FH3UzheVUBmdQeXn1U8,6226
|
531 |
+
pip/_vendor/pygments/unistring.py,sha256=FaUfG14NBJEKLQoY9qj6JYeXrpYcLmKulghdxOGFaOc,63223
|
532 |
+
pip/_vendor/pygments/util.py,sha256=AEVY0qonyyEMgv4Do2dINrrqUAwUk2XYSqHM650uzek,10230
|
533 |
+
pip/_vendor/pyproject_hooks/__init__.py,sha256=kCehmy0UaBa9oVMD7ZIZrnswfnP3LXZ5lvnNJAL5JBM,491
|
534 |
+
pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-39.pyc,,
|
535 |
+
pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-39.pyc,,
|
536 |
+
pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-39.pyc,,
|
537 |
+
pip/_vendor/pyproject_hooks/_compat.py,sha256=by6evrYnqkisiM-MQcvOKs5bgDMzlOSgZqRHNqf04zE,138
|
538 |
+
pip/_vendor/pyproject_hooks/_impl.py,sha256=61GJxzQip0IInhuO69ZI5GbNQ82XEDUB_1Gg5_KtUoc,11920
|
539 |
+
pip/_vendor/pyproject_hooks/_in_process/__init__.py,sha256=9gQATptbFkelkIy0OfWFEACzqxXJMQDWCH9rBOAZVwQ,546
|
540 |
+
pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-39.pyc,,
|
541 |
+
pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-39.pyc,,
|
542 |
+
pip/_vendor/pyproject_hooks/_in_process/_in_process.py,sha256=m2b34c917IW5o-Q_6TYIHlsK9lSUlNiyrITTUH_zwew,10927
|
543 |
+
pip/_vendor/requests/__init__.py,sha256=HlB_HzhrzGtfD_aaYUwUh1zWXLZ75_YCLyit75d0Vz8,5057
|
544 |
+
pip/_vendor/requests/__pycache__/__init__.cpython-39.pyc,,
|
545 |
+
pip/_vendor/requests/__pycache__/__version__.cpython-39.pyc,,
|
546 |
+
pip/_vendor/requests/__pycache__/_internal_utils.cpython-39.pyc,,
|
547 |
+
pip/_vendor/requests/__pycache__/adapters.cpython-39.pyc,,
|
548 |
+
pip/_vendor/requests/__pycache__/api.cpython-39.pyc,,
|
549 |
+
pip/_vendor/requests/__pycache__/auth.cpython-39.pyc,,
|
550 |
+
pip/_vendor/requests/__pycache__/certs.cpython-39.pyc,,
|
551 |
+
pip/_vendor/requests/__pycache__/compat.cpython-39.pyc,,
|
552 |
+
pip/_vendor/requests/__pycache__/cookies.cpython-39.pyc,,
|
553 |
+
pip/_vendor/requests/__pycache__/exceptions.cpython-39.pyc,,
|
554 |
+
pip/_vendor/requests/__pycache__/help.cpython-39.pyc,,
|
555 |
+
pip/_vendor/requests/__pycache__/hooks.cpython-39.pyc,,
|
556 |
+
pip/_vendor/requests/__pycache__/models.cpython-39.pyc,,
|
557 |
+
pip/_vendor/requests/__pycache__/packages.cpython-39.pyc,,
|
558 |
+
pip/_vendor/requests/__pycache__/sessions.cpython-39.pyc,,
|
559 |
+
pip/_vendor/requests/__pycache__/status_codes.cpython-39.pyc,,
|
560 |
+
pip/_vendor/requests/__pycache__/structures.cpython-39.pyc,,
|
561 |
+
pip/_vendor/requests/__pycache__/utils.cpython-39.pyc,,
|
562 |
+
pip/_vendor/requests/__version__.py,sha256=FVfglgZmNQnmYPXpOohDU58F5EUb_-VnSTaAesS187g,435
|
563 |
+
pip/_vendor/requests/_internal_utils.py,sha256=nMQymr4hs32TqVo5AbCrmcJEhvPUh7xXlluyqwslLiQ,1495
|
564 |
+
pip/_vendor/requests/adapters.py,sha256=J7VeVxKBvawbtlX2DERVo05J9BXTcWYLMHNd1Baa-bk,27607
|
565 |
+
pip/_vendor/requests/api.py,sha256=_Zb9Oa7tzVIizTKwFrPjDEY9ejtm_OnSRERnADxGsQs,6449
|
566 |
+
pip/_vendor/requests/auth.py,sha256=kF75tqnLctZ9Mf_hm9TZIj4cQWnN5uxRz8oWsx5wmR0,10186
|
567 |
+
pip/_vendor/requests/certs.py,sha256=PVPooB0jP5hkZEULSCwC074532UFbR2Ptgu0I5zwmCs,575
|
568 |
+
pip/_vendor/requests/compat.py,sha256=Mo9f9xZpefod8Zm-n9_StJcVTmwSukXR2p3IQyyVXvU,1485
|
569 |
+
pip/_vendor/requests/cookies.py,sha256=bNi-iqEj4NPZ00-ob-rHvzkvObzN3lEpgw3g6paS3Xw,18590
|
570 |
+
pip/_vendor/requests/exceptions.py,sha256=D1wqzYWne1mS2rU43tP9CeN1G7QAy7eqL9o1god6Ejw,4272
|
571 |
+
pip/_vendor/requests/help.py,sha256=hRKaf9u0G7fdwrqMHtF3oG16RKktRf6KiwtSq2Fo1_0,3813
|
572 |
+
pip/_vendor/requests/hooks.py,sha256=CiuysiHA39V5UfcCBXFIx83IrDpuwfN9RcTUgv28ftQ,733
|
573 |
+
pip/_vendor/requests/models.py,sha256=x4K4CmH-lC0l2Kb-iPfMN4dRXxHEcbOaEWBL_i09AwI,35483
|
574 |
+
pip/_vendor/requests/packages.py,sha256=_ZQDCJTJ8SP3kVWunSqBsRZNPzj2c1WFVqbdr08pz3U,1057
|
575 |
+
pip/_vendor/requests/sessions.py,sha256=ykTI8UWGSltOfH07HKollH7kTBGw4WhiBVaQGmckTw4,30495
|
576 |
+
pip/_vendor/requests/status_codes.py,sha256=iJUAeA25baTdw-6PfD0eF4qhpINDJRJI-yaMqxs4LEI,4322
|
577 |
+
pip/_vendor/requests/structures.py,sha256=-IbmhVz06S-5aPSZuUthZ6-6D9XOjRuTXHOabY041XM,2912
|
578 |
+
pip/_vendor/requests/utils.py,sha256=L79vnFbzJ3SFLKtJwpoWe41Tozi3RlZv94pY1TFIyow,33631
|
579 |
+
pip/_vendor/resolvelib/__init__.py,sha256=h509TdEcpb5-44JonaU3ex2TM15GVBLjM9CNCPwnTTs,537
|
580 |
+
pip/_vendor/resolvelib/__pycache__/__init__.cpython-39.pyc,,
|
581 |
+
pip/_vendor/resolvelib/__pycache__/providers.cpython-39.pyc,,
|
582 |
+
pip/_vendor/resolvelib/__pycache__/reporters.cpython-39.pyc,,
|
583 |
+
pip/_vendor/resolvelib/__pycache__/resolvers.cpython-39.pyc,,
|
584 |
+
pip/_vendor/resolvelib/__pycache__/structs.cpython-39.pyc,,
|
585 |
+
pip/_vendor/resolvelib/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
586 |
+
pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-39.pyc,,
|
587 |
+
pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-39.pyc,,
|
588 |
+
pip/_vendor/resolvelib/compat/collections_abc.py,sha256=uy8xUZ-NDEw916tugUXm8HgwCGiMO0f-RcdnpkfXfOs,156
|
589 |
+
pip/_vendor/resolvelib/providers.py,sha256=fuuvVrCetu5gsxPB43ERyjfO8aReS3rFQHpDgiItbs4,5871
|
590 |
+
pip/_vendor/resolvelib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
591 |
+
pip/_vendor/resolvelib/reporters.py,sha256=TSbRmWzTc26w0ggsV1bxVpeWDB8QNIre6twYl7GIZBE,1601
|
592 |
+
pip/_vendor/resolvelib/resolvers.py,sha256=G8rsLZSq64g5VmIq-lB7UcIJ1gjAxIQJmTF4REZleQ0,20511
|
593 |
+
pip/_vendor/resolvelib/structs.py,sha256=0_1_XO8z_CLhegP3Vpf9VJ3zJcfLm0NOHRM-i0Ykz3o,4963
|
594 |
+
pip/_vendor/rich/__init__.py,sha256=dRxjIL-SbFVY0q3IjSMrfgBTHrm1LZDgLOygVBwiYZc,6090
|
595 |
+
pip/_vendor/rich/__main__.py,sha256=eO7Cq8JnrgG8zVoeImiAs92q3hXNMIfp0w5lMsO7Q2Y,8477
|
596 |
+
pip/_vendor/rich/__pycache__/__init__.cpython-39.pyc,,
|
597 |
+
pip/_vendor/rich/__pycache__/__main__.cpython-39.pyc,,
|
598 |
+
pip/_vendor/rich/__pycache__/_cell_widths.cpython-39.pyc,,
|
599 |
+
pip/_vendor/rich/__pycache__/_emoji_codes.cpython-39.pyc,,
|
600 |
+
pip/_vendor/rich/__pycache__/_emoji_replace.cpython-39.pyc,,
|
601 |
+
pip/_vendor/rich/__pycache__/_export_format.cpython-39.pyc,,
|
602 |
+
pip/_vendor/rich/__pycache__/_extension.cpython-39.pyc,,
|
603 |
+
pip/_vendor/rich/__pycache__/_fileno.cpython-39.pyc,,
|
604 |
+
pip/_vendor/rich/__pycache__/_inspect.cpython-39.pyc,,
|
605 |
+
pip/_vendor/rich/__pycache__/_log_render.cpython-39.pyc,,
|
606 |
+
pip/_vendor/rich/__pycache__/_loop.cpython-39.pyc,,
|
607 |
+
pip/_vendor/rich/__pycache__/_null_file.cpython-39.pyc,,
|
608 |
+
pip/_vendor/rich/__pycache__/_palettes.cpython-39.pyc,,
|
609 |
+
pip/_vendor/rich/__pycache__/_pick.cpython-39.pyc,,
|
610 |
+
pip/_vendor/rich/__pycache__/_ratio.cpython-39.pyc,,
|
611 |
+
pip/_vendor/rich/__pycache__/_spinners.cpython-39.pyc,,
|
612 |
+
pip/_vendor/rich/__pycache__/_stack.cpython-39.pyc,,
|
613 |
+
pip/_vendor/rich/__pycache__/_timer.cpython-39.pyc,,
|
614 |
+
pip/_vendor/rich/__pycache__/_win32_console.cpython-39.pyc,,
|
615 |
+
pip/_vendor/rich/__pycache__/_windows.cpython-39.pyc,,
|
616 |
+
pip/_vendor/rich/__pycache__/_windows_renderer.cpython-39.pyc,,
|
617 |
+
pip/_vendor/rich/__pycache__/_wrap.cpython-39.pyc,,
|
618 |
+
pip/_vendor/rich/__pycache__/abc.cpython-39.pyc,,
|
619 |
+
pip/_vendor/rich/__pycache__/align.cpython-39.pyc,,
|
620 |
+
pip/_vendor/rich/__pycache__/ansi.cpython-39.pyc,,
|
621 |
+
pip/_vendor/rich/__pycache__/bar.cpython-39.pyc,,
|
622 |
+
pip/_vendor/rich/__pycache__/box.cpython-39.pyc,,
|
623 |
+
pip/_vendor/rich/__pycache__/cells.cpython-39.pyc,,
|
624 |
+
pip/_vendor/rich/__pycache__/color.cpython-39.pyc,,
|
625 |
+
pip/_vendor/rich/__pycache__/color_triplet.cpython-39.pyc,,
|
626 |
+
pip/_vendor/rich/__pycache__/columns.cpython-39.pyc,,
|
627 |
+
pip/_vendor/rich/__pycache__/console.cpython-39.pyc,,
|
628 |
+
pip/_vendor/rich/__pycache__/constrain.cpython-39.pyc,,
|
629 |
+
pip/_vendor/rich/__pycache__/containers.cpython-39.pyc,,
|
630 |
+
pip/_vendor/rich/__pycache__/control.cpython-39.pyc,,
|
631 |
+
pip/_vendor/rich/__pycache__/default_styles.cpython-39.pyc,,
|
632 |
+
pip/_vendor/rich/__pycache__/diagnose.cpython-39.pyc,,
|
633 |
+
pip/_vendor/rich/__pycache__/emoji.cpython-39.pyc,,
|
634 |
+
pip/_vendor/rich/__pycache__/errors.cpython-39.pyc,,
|
635 |
+
pip/_vendor/rich/__pycache__/file_proxy.cpython-39.pyc,,
|
636 |
+
pip/_vendor/rich/__pycache__/filesize.cpython-39.pyc,,
|
637 |
+
pip/_vendor/rich/__pycache__/highlighter.cpython-39.pyc,,
|
638 |
+
pip/_vendor/rich/__pycache__/json.cpython-39.pyc,,
|
639 |
+
pip/_vendor/rich/__pycache__/jupyter.cpython-39.pyc,,
|
640 |
+
pip/_vendor/rich/__pycache__/layout.cpython-39.pyc,,
|
641 |
+
pip/_vendor/rich/__pycache__/live.cpython-39.pyc,,
|
642 |
+
pip/_vendor/rich/__pycache__/live_render.cpython-39.pyc,,
|
643 |
+
pip/_vendor/rich/__pycache__/logging.cpython-39.pyc,,
|
644 |
+
pip/_vendor/rich/__pycache__/markup.cpython-39.pyc,,
|
645 |
+
pip/_vendor/rich/__pycache__/measure.cpython-39.pyc,,
|
646 |
+
pip/_vendor/rich/__pycache__/padding.cpython-39.pyc,,
|
647 |
+
pip/_vendor/rich/__pycache__/pager.cpython-39.pyc,,
|
648 |
+
pip/_vendor/rich/__pycache__/palette.cpython-39.pyc,,
|
649 |
+
pip/_vendor/rich/__pycache__/panel.cpython-39.pyc,,
|
650 |
+
pip/_vendor/rich/__pycache__/pretty.cpython-39.pyc,,
|
651 |
+
pip/_vendor/rich/__pycache__/progress.cpython-39.pyc,,
|
652 |
+
pip/_vendor/rich/__pycache__/progress_bar.cpython-39.pyc,,
|
653 |
+
pip/_vendor/rich/__pycache__/prompt.cpython-39.pyc,,
|
654 |
+
pip/_vendor/rich/__pycache__/protocol.cpython-39.pyc,,
|
655 |
+
pip/_vendor/rich/__pycache__/region.cpython-39.pyc,,
|
656 |
+
pip/_vendor/rich/__pycache__/repr.cpython-39.pyc,,
|
657 |
+
pip/_vendor/rich/__pycache__/rule.cpython-39.pyc,,
|
658 |
+
pip/_vendor/rich/__pycache__/scope.cpython-39.pyc,,
|
659 |
+
pip/_vendor/rich/__pycache__/screen.cpython-39.pyc,,
|
660 |
+
pip/_vendor/rich/__pycache__/segment.cpython-39.pyc,,
|
661 |
+
pip/_vendor/rich/__pycache__/spinner.cpython-39.pyc,,
|
662 |
+
pip/_vendor/rich/__pycache__/status.cpython-39.pyc,,
|
663 |
+
pip/_vendor/rich/__pycache__/style.cpython-39.pyc,,
|
664 |
+
pip/_vendor/rich/__pycache__/styled.cpython-39.pyc,,
|
665 |
+
pip/_vendor/rich/__pycache__/syntax.cpython-39.pyc,,
|
666 |
+
pip/_vendor/rich/__pycache__/table.cpython-39.pyc,,
|
667 |
+
pip/_vendor/rich/__pycache__/terminal_theme.cpython-39.pyc,,
|
668 |
+
pip/_vendor/rich/__pycache__/text.cpython-39.pyc,,
|
669 |
+
pip/_vendor/rich/__pycache__/theme.cpython-39.pyc,,
|
670 |
+
pip/_vendor/rich/__pycache__/themes.cpython-39.pyc,,
|
671 |
+
pip/_vendor/rich/__pycache__/traceback.cpython-39.pyc,,
|
672 |
+
pip/_vendor/rich/__pycache__/tree.cpython-39.pyc,,
|
673 |
+
pip/_vendor/rich/_cell_widths.py,sha256=fbmeyetEdHjzE_Vx2l1uK7tnPOhMs2X1lJfO3vsKDpA,10209
|
674 |
+
pip/_vendor/rich/_emoji_codes.py,sha256=hu1VL9nbVdppJrVoijVshRlcRRe_v3dju3Mmd2sKZdY,140235
|
675 |
+
pip/_vendor/rich/_emoji_replace.py,sha256=n-kcetsEUx2ZUmhQrfeMNc-teeGhpuSQ5F8VPBsyvDo,1064
|
676 |
+
pip/_vendor/rich/_export_format.py,sha256=RI08pSrm5tBSzPMvnbTqbD9WIalaOoN5d4M1RTmLq1Y,2128
|
677 |
+
pip/_vendor/rich/_extension.py,sha256=Xt47QacCKwYruzjDi-gOBq724JReDj9Cm9xUi5fr-34,265
|
678 |
+
pip/_vendor/rich/_fileno.py,sha256=HWZxP5C2ajMbHryvAQZseflVfQoGzsKOHzKGsLD8ynQ,799
|
679 |
+
pip/_vendor/rich/_inspect.py,sha256=oZJGw31e64dwXSCmrDnvZbwVb1ZKhWfU8wI3VWohjJk,9695
|
680 |
+
pip/_vendor/rich/_log_render.py,sha256=1ByI0PA1ZpxZY3CGJOK54hjlq4X-Bz_boIjIqCd8Kns,3225
|
681 |
+
pip/_vendor/rich/_loop.py,sha256=hV_6CLdoPm0va22Wpw4zKqM0RYsz3TZxXj0PoS-9eDQ,1236
|
682 |
+
pip/_vendor/rich/_null_file.py,sha256=tGSXk_v-IZmbj1GAzHit8A3kYIQMiCpVsCFfsC-_KJ4,1387
|
683 |
+
pip/_vendor/rich/_palettes.py,sha256=cdev1JQKZ0JvlguV9ipHgznTdnvlIzUFDBb0It2PzjI,7063
|
684 |
+
pip/_vendor/rich/_pick.py,sha256=evDt8QN4lF5CiwrUIXlOJCntitBCOsI3ZLPEIAVRLJU,423
|
685 |
+
pip/_vendor/rich/_ratio.py,sha256=Zt58apszI6hAAcXPpgdWKpu3c31UBWebOeR4mbyptvU,5471
|
686 |
+
pip/_vendor/rich/_spinners.py,sha256=U2r1_g_1zSjsjiUdAESc2iAMc3i4ri_S8PYP6kQ5z1I,19919
|
687 |
+
pip/_vendor/rich/_stack.py,sha256=-C8OK7rxn3sIUdVwxZBBpeHhIzX0eI-VM3MemYfaXm0,351
|
688 |
+
pip/_vendor/rich/_timer.py,sha256=zelxbT6oPFZnNrwWPpc1ktUeAT-Vc4fuFcRZLQGLtMI,417
|
689 |
+
pip/_vendor/rich/_win32_console.py,sha256=P0vxI2fcndym1UU1S37XAzQzQnkyY7YqAKmxm24_gug,22820
|
690 |
+
pip/_vendor/rich/_windows.py,sha256=aBwaD_S56SbgopIvayVmpk0Y28uwY2C5Bab1wl3Bp-I,1925
|
691 |
+
pip/_vendor/rich/_windows_renderer.py,sha256=t74ZL3xuDCP3nmTp9pH1L5LiI2cakJuQRQleHCJerlk,2783
|
692 |
+
pip/_vendor/rich/_wrap.py,sha256=FlSsom5EX0LVkA3KWy34yHnCfLtqX-ZIepXKh-70rpc,3404
|
693 |
+
pip/_vendor/rich/abc.py,sha256=ON-E-ZqSSheZ88VrKX2M3PXpFbGEUUZPMa_Af0l-4f0,890
|
694 |
+
pip/_vendor/rich/align.py,sha256=sCUkisXkQfoq-IQPyBELfJ8l7LihZJX3HbH8K7Cie-M,10368
|
695 |
+
pip/_vendor/rich/ansi.py,sha256=iD6532QYqnBm6hADulKjrV8l8kFJ-9fEVooHJHH3hMg,6906
|
696 |
+
pip/_vendor/rich/bar.py,sha256=ldbVHOzKJOnflVNuv1xS7g6dLX2E3wMnXkdPbpzJTcs,3263
|
697 |
+
pip/_vendor/rich/box.py,sha256=nr5fYIUghB_iUCEq6y0Z3LlCT8gFPDrzN9u2kn7tJl4,10831
|
698 |
+
pip/_vendor/rich/cells.py,sha256=aMmGK4BjXhgE6_JF1ZEGmW3O7mKkE8g84vUnj4Et4To,4780
|
699 |
+
pip/_vendor/rich/color.py,sha256=bCRATVdRe5IClJ6Hl62de2PKQ_U4i2MZ4ugjUEg7Tao,18223
|
700 |
+
pip/_vendor/rich/color_triplet.py,sha256=3lhQkdJbvWPoLDO-AnYImAWmJvV5dlgYNCVZ97ORaN4,1054
|
701 |
+
pip/_vendor/rich/columns.py,sha256=HUX0KcMm9dsKNi11fTbiM_h2iDtl8ySCaVcxlalEzq8,7131
|
702 |
+
pip/_vendor/rich/console.py,sha256=deFZIubq2M9A2MCsKFAsFQlWDvcOMsGuUA07QkOaHIw,99173
|
703 |
+
pip/_vendor/rich/constrain.py,sha256=1VIPuC8AgtKWrcncQrjBdYqA3JVWysu6jZo1rrh7c7Q,1288
|
704 |
+
pip/_vendor/rich/containers.py,sha256=c_56TxcedGYqDepHBMTuZdUIijitAQgnox-Qde0Z1qo,5502
|
705 |
+
pip/_vendor/rich/control.py,sha256=DSkHTUQLorfSERAKE_oTAEUFefZnZp4bQb4q8rHbKws,6630
|
706 |
+
pip/_vendor/rich/default_styles.py,sha256=-Fe318kMVI_IwciK5POpThcO0-9DYJ67TZAN6DlmlmM,8082
|
707 |
+
pip/_vendor/rich/diagnose.py,sha256=an6uouwhKPAlvQhYpNNpGq9EJysfMIOvvCbO3oSoR24,972
|
708 |
+
pip/_vendor/rich/emoji.py,sha256=omTF9asaAnsM4yLY94eR_9dgRRSm1lHUszX20D1yYCQ,2501
|
709 |
+
pip/_vendor/rich/errors.py,sha256=5pP3Kc5d4QJ_c0KFsxrfyhjiPVe7J1zOqSFbFAzcV-Y,642
|
710 |
+
pip/_vendor/rich/file_proxy.py,sha256=Tl9THMDZ-Pk5Wm8sI1gGg_U5DhusmxD-FZ0fUbcU0W0,1683
|
711 |
+
pip/_vendor/rich/filesize.py,sha256=9fTLAPCAwHmBXdRv7KZU194jSgNrRb6Wx7RIoBgqeKY,2508
|
712 |
+
pip/_vendor/rich/highlighter.py,sha256=6ZAjUcNhBRajBCo9umFUclyi2xL0-55JL7S0vYGUJu4,9585
|
713 |
+
pip/_vendor/rich/json.py,sha256=vVEoKdawoJRjAFayPwXkMBPLy7RSTs-f44wSQDR2nJ0,5031
|
714 |
+
pip/_vendor/rich/jupyter.py,sha256=QyoKoE_8IdCbrtiSHp9TsTSNyTHY0FO5whE7jOTd9UE,3252
|
715 |
+
pip/_vendor/rich/layout.py,sha256=ajkSFAtEVv9EFTcFs-w4uZfft7nEXhNzL7ZVdgrT5rI,14004
|
716 |
+
pip/_vendor/rich/live.py,sha256=vUcnJV2LMSK3sQNaILbm0-_B8BpAeiHfcQMAMLfpRe0,14271
|
717 |
+
pip/_vendor/rich/live_render.py,sha256=zJtB471jGziBtEwxc54x12wEQtH4BuQr1SA8v9kU82w,3666
|
718 |
+
pip/_vendor/rich/logging.py,sha256=uB-cB-3Q4bmXDLLpbOWkmFviw-Fde39zyMV6tKJ2WHQ,11903
|
719 |
+
pip/_vendor/rich/markup.py,sha256=3euGKP5s41NCQwaSjTnJxus5iZMHjxpIM0W6fCxra38,8451
|
720 |
+
pip/_vendor/rich/measure.py,sha256=HmrIJX8sWRTHbgh8MxEay_83VkqNW_70s8aKP5ZcYI8,5305
|
721 |
+
pip/_vendor/rich/padding.py,sha256=kTFGsdGe0os7tXLnHKpwTI90CXEvrceeZGCshmJy5zw,4970
|
722 |
+
pip/_vendor/rich/pager.py,sha256=SO_ETBFKbg3n_AgOzXm41Sv36YxXAyI3_R-KOY2_uSc,828
|
723 |
+
pip/_vendor/rich/palette.py,sha256=lInvR1ODDT2f3UZMfL1grq7dY_pDdKHw4bdUgOGaM4Y,3396
|
724 |
+
pip/_vendor/rich/panel.py,sha256=2Fd1V7e1kHxlPFIusoHY5T7-Cs0RpkrihgVG9ZVqJ4g,10705
|
725 |
+
pip/_vendor/rich/pretty.py,sha256=5oIHP_CGWnHEnD0zMdW5qfGC5kHqIKn7zH_eC4crULE,35848
|
726 |
+
pip/_vendor/rich/progress.py,sha256=P02xi7T2Ua3qq17o83bkshe4c0v_45cg8VyTj6US6Vg,59715
|
727 |
+
pip/_vendor/rich/progress_bar.py,sha256=L4jw8E6Qb_x-jhOrLVhkuMaPmiAhFIl8jHQbWFrKuR8,8164
|
728 |
+
pip/_vendor/rich/prompt.py,sha256=wdOn2X8XTJKnLnlw6PoMY7xG4iUPp3ezt4O5gqvpV-E,11304
|
729 |
+
pip/_vendor/rich/protocol.py,sha256=5hHHDDNHckdk8iWH5zEbi-zuIVSF5hbU2jIo47R7lTE,1391
|
730 |
+
pip/_vendor/rich/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
731 |
+
pip/_vendor/rich/region.py,sha256=rNT9xZrVZTYIXZC0NYn41CJQwYNbR-KecPOxTgQvB8Y,166
|
732 |
+
pip/_vendor/rich/repr.py,sha256=5MZJZmONgC6kud-QW-_m1okXwL2aR6u6y-pUcUCJz28,4431
|
733 |
+
pip/_vendor/rich/rule.py,sha256=0fNaS_aERa3UMRc3T5WMpN_sumtDxfaor2y3of1ftBk,4602
|
734 |
+
pip/_vendor/rich/scope.py,sha256=TMUU8qo17thyqQCPqjDLYpg_UU1k5qVd-WwiJvnJVas,2843
|
735 |
+
pip/_vendor/rich/screen.py,sha256=YoeReESUhx74grqb0mSSb9lghhysWmFHYhsbMVQjXO8,1591
|
736 |
+
pip/_vendor/rich/segment.py,sha256=hU1ueeXqI6YeFa08K9DAjlF2QLxcJY9pwZx7RsXavlk,24246
|
737 |
+
pip/_vendor/rich/spinner.py,sha256=15koCmF0DQeD8-k28Lpt6X_zJQUlzEhgo_6A6uy47lc,4339
|
738 |
+
pip/_vendor/rich/status.py,sha256=kkPph3YeAZBo-X-4wPp8gTqZyU466NLwZBA4PZTTewo,4424
|
739 |
+
pip/_vendor/rich/style.py,sha256=3hiocH_4N8vwRm3-8yFWzM7tSwjjEven69XqWasSQwM,27073
|
740 |
+
pip/_vendor/rich/styled.py,sha256=eZNnzGrI4ki_54pgY3Oj0T-x3lxdXTYh4_ryDB24wBU,1258
|
741 |
+
pip/_vendor/rich/syntax.py,sha256=TnZDuOD4DeHFbkaVEAji1gf8qgAlMU9Boe_GksMGCkk,35475
|
742 |
+
pip/_vendor/rich/table.py,sha256=nGEvAZHF4dy1vT9h9Gj9O5qhSQO3ODAxJv0RY1vnIB8,39680
|
743 |
+
pip/_vendor/rich/terminal_theme.py,sha256=1j5-ufJfnvlAo5Qsi_ACZiXDmwMXzqgmFByObT9-yJY,3370
|
744 |
+
pip/_vendor/rich/text.py,sha256=5rQ3zvNrg5UZKNLecbh7fiw9v3HeFulNVtRY_CBDjjE,47312
|
745 |
+
pip/_vendor/rich/theme.py,sha256=belFJogzA0W0HysQabKaHOc3RWH2ko3fQAJhoN-AFdo,3777
|
746 |
+
pip/_vendor/rich/themes.py,sha256=0xgTLozfabebYtcJtDdC5QkX5IVUEaviqDUJJh4YVFk,102
|
747 |
+
pip/_vendor/rich/traceback.py,sha256=CUpxYLjQWIb6vQQ6O72X0hvDV6caryGqU6UweHgOyCY,29601
|
748 |
+
pip/_vendor/rich/tree.py,sha256=meAOUU6sYnoBEOX2ILrPLY9k5bWrWNQKkaiEFvHinXM,9167
|
749 |
+
pip/_vendor/tenacity/__init__.py,sha256=ZD4ZvZabfZWjlDvoNZDKki_q2wk2xuE-_DcNDElxrOw,20518
|
750 |
+
pip/_vendor/tenacity/__pycache__/__init__.cpython-39.pyc,,
|
751 |
+
pip/_vendor/tenacity/__pycache__/_asyncio.cpython-39.pyc,,
|
752 |
+
pip/_vendor/tenacity/__pycache__/_utils.cpython-39.pyc,,
|
753 |
+
pip/_vendor/tenacity/__pycache__/after.cpython-39.pyc,,
|
754 |
+
pip/_vendor/tenacity/__pycache__/before.cpython-39.pyc,,
|
755 |
+
pip/_vendor/tenacity/__pycache__/before_sleep.cpython-39.pyc,,
|
756 |
+
pip/_vendor/tenacity/__pycache__/nap.cpython-39.pyc,,
|
757 |
+
pip/_vendor/tenacity/__pycache__/retry.cpython-39.pyc,,
|
758 |
+
pip/_vendor/tenacity/__pycache__/stop.cpython-39.pyc,,
|
759 |
+
pip/_vendor/tenacity/__pycache__/tornadoweb.cpython-39.pyc,,
|
760 |
+
pip/_vendor/tenacity/__pycache__/wait.cpython-39.pyc,,
|
761 |
+
pip/_vendor/tenacity/_asyncio.py,sha256=Qi6wgQsGa9MQibYRy3OXqcDQswIZZ00dLOoSUGN-6o8,3551
|
762 |
+
pip/_vendor/tenacity/_utils.py,sha256=ubs6a7sxj3JDNRKWCyCU2j5r1CB7rgyONgZzYZq6D_4,2179
|
763 |
+
pip/_vendor/tenacity/after.py,sha256=S5NCISScPeIrKwIeXRwdJl3kV9Q4nqZfnNPDx6Hf__g,1682
|
764 |
+
pip/_vendor/tenacity/before.py,sha256=dIZE9gmBTffisfwNkK0F1xFwGPV41u5GK70UY4Pi5Kc,1562
|
765 |
+
pip/_vendor/tenacity/before_sleep.py,sha256=YmpgN9Y7HGlH97U24vvq_YWb5deaK4_DbiD8ZuFmy-E,2372
|
766 |
+
pip/_vendor/tenacity/nap.py,sha256=fRWvnz1aIzbIq9Ap3gAkAZgDH6oo5zxMrU6ZOVByq0I,1383
|
767 |
+
pip/_vendor/tenacity/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
768 |
+
pip/_vendor/tenacity/retry.py,sha256=jrzD_mxA5mSTUEdiYB7SHpxltjhPSYZSnSRATb-ggRc,8746
|
769 |
+
pip/_vendor/tenacity/stop.py,sha256=YMJs7ZgZfND65PRLqlGB_agpfGXlemx_5Hm4PKnBqpQ,3086
|
770 |
+
pip/_vendor/tenacity/tornadoweb.py,sha256=po29_F1Mt8qZpsFjX7EVwAT0ydC_NbVia9gVi7R_wXA,2142
|
771 |
+
pip/_vendor/tenacity/wait.py,sha256=3FcBJoCDgym12_dN6xfK8C1gROY0Hn4NSI2u8xv50uE,8024
|
772 |
+
pip/_vendor/tomli/__init__.py,sha256=JhUwV66DB1g4Hvt1UQCVMdfCu-IgAV8FXmvDU9onxd4,396
|
773 |
+
pip/_vendor/tomli/__pycache__/__init__.cpython-39.pyc,,
|
774 |
+
pip/_vendor/tomli/__pycache__/_parser.cpython-39.pyc,,
|
775 |
+
pip/_vendor/tomli/__pycache__/_re.cpython-39.pyc,,
|
776 |
+
pip/_vendor/tomli/__pycache__/_types.cpython-39.pyc,,
|
777 |
+
pip/_vendor/tomli/_parser.py,sha256=g9-ENaALS-B8dokYpCuzUFalWlog7T-SIYMjLZSWrtM,22633
|
778 |
+
pip/_vendor/tomli/_re.py,sha256=dbjg5ChZT23Ka9z9DHOXfdtSpPwUfdgMXnj8NOoly-w,2943
|
779 |
+
pip/_vendor/tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
|
780 |
+
pip/_vendor/tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
|
781 |
+
pip/_vendor/truststore/__init__.py,sha256=M-PhuLMIF7gxKXk7tpo2MD7dk6nqG1ae8GXWdNXbMdQ,403
|
782 |
+
pip/_vendor/truststore/__pycache__/__init__.cpython-39.pyc,,
|
783 |
+
pip/_vendor/truststore/__pycache__/_api.cpython-39.pyc,,
|
784 |
+
pip/_vendor/truststore/__pycache__/_macos.cpython-39.pyc,,
|
785 |
+
pip/_vendor/truststore/__pycache__/_openssl.cpython-39.pyc,,
|
786 |
+
pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-39.pyc,,
|
787 |
+
pip/_vendor/truststore/__pycache__/_windows.cpython-39.pyc,,
|
788 |
+
pip/_vendor/truststore/_api.py,sha256=B9JIHipzBIS8pMP_J50-o1DHVZsvKZQUXTB0HQQ_UPg,10461
|
789 |
+
pip/_vendor/truststore/_macos.py,sha256=VJ24avz5aEGYAs_kWvnGjMJtuIP4xJcYa459UQOQC3M,17608
|
790 |
+
pip/_vendor/truststore/_openssl.py,sha256=LLUZ7ZGaio-i5dpKKjKCSeSufmn6T8pi9lDcFnvSyq0,2324
|
791 |
+
pip/_vendor/truststore/_ssl_constants.py,sha256=NUD4fVKdSD02ri7-db0tnO0VqLP9aHuzmStcW7tAl08,1130
|
792 |
+
pip/_vendor/truststore/_windows.py,sha256=eldNViHNHeY5r3fiBoz_JFGD37atXB9S5yaRoPKEGAA,17891
|
793 |
+
pip/_vendor/truststore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
794 |
+
pip/_vendor/typing_extensions.py,sha256=t3bGA8vfcv8alpavDr-UIeaehafE8gWkBJsqTmZOWL8,122341
|
795 |
+
pip/_vendor/urllib3/__init__.py,sha256=iXLcYiJySn0GNbWOOZDDApgBL1JgP44EZ8i1760S8Mc,3333
|
796 |
+
pip/_vendor/urllib3/__pycache__/__init__.cpython-39.pyc,,
|
797 |
+
pip/_vendor/urllib3/__pycache__/_collections.cpython-39.pyc,,
|
798 |
+
pip/_vendor/urllib3/__pycache__/_version.cpython-39.pyc,,
|
799 |
+
pip/_vendor/urllib3/__pycache__/connection.cpython-39.pyc,,
|
800 |
+
pip/_vendor/urllib3/__pycache__/connectionpool.cpython-39.pyc,,
|
801 |
+
pip/_vendor/urllib3/__pycache__/exceptions.cpython-39.pyc,,
|
802 |
+
pip/_vendor/urllib3/__pycache__/fields.cpython-39.pyc,,
|
803 |
+
pip/_vendor/urllib3/__pycache__/filepost.cpython-39.pyc,,
|
804 |
+
pip/_vendor/urllib3/__pycache__/poolmanager.cpython-39.pyc,,
|
805 |
+
pip/_vendor/urllib3/__pycache__/request.cpython-39.pyc,,
|
806 |
+
pip/_vendor/urllib3/__pycache__/response.cpython-39.pyc,,
|
807 |
+
pip/_vendor/urllib3/_collections.py,sha256=pyASJJhW7wdOpqJj9QJA8FyGRfr8E8uUUhqUvhF0728,11372
|
808 |
+
pip/_vendor/urllib3/_version.py,sha256=cuJvnSrWxXGYgQ3-ZRoPMw8-qaN5tpw71jnH1t16dLA,64
|
809 |
+
pip/_vendor/urllib3/connection.py,sha256=92k9td_y4PEiTIjNufCUa1NzMB3J3w0LEdyokYgXnW8,20300
|
810 |
+
pip/_vendor/urllib3/connectionpool.py,sha256=Be6q65SR9laoikg-h_jmc_p8OWtEmwgq_Om_Xtig-2M,40285
|
811 |
+
pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
812 |
+
pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-39.pyc,,
|
813 |
+
pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-39.pyc,,
|
814 |
+
pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-39.pyc,,
|
815 |
+
pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-39.pyc,,
|
816 |
+
pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-39.pyc,,
|
817 |
+
pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-39.pyc,,
|
818 |
+
pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-39.pyc,,
|
819 |
+
pip/_vendor/urllib3/contrib/_appengine_environ.py,sha256=bDbyOEhW2CKLJcQqAKAyrEHN-aklsyHFKq6vF8ZFsmk,957
|
820 |
+
pip/_vendor/urllib3/contrib/_securetransport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
821 |
+
pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-39.pyc,,
|
822 |
+
pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-39.pyc,,
|
823 |
+
pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-39.pyc,,
|
824 |
+
pip/_vendor/urllib3/contrib/_securetransport/bindings.py,sha256=4Xk64qIkPBt09A5q-RIFUuDhNc9mXilVapm7WnYnzRw,17632
|
825 |
+
pip/_vendor/urllib3/contrib/_securetransport/low_level.py,sha256=B2JBB2_NRP02xK6DCa1Pa9IuxrPwxzDzZbixQkb7U9M,13922
|
826 |
+
pip/_vendor/urllib3/contrib/appengine.py,sha256=VR68eAVE137lxTgjBDwCna5UiBZTOKa01Aj_-5BaCz4,11036
|
827 |
+
pip/_vendor/urllib3/contrib/ntlmpool.py,sha256=NlfkW7WMdW8ziqudopjHoW299og1BTWi0IeIibquFwk,4528
|
828 |
+
pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=hDJh4MhyY_p-oKlFcYcQaVQRDv6GMmBGuW9yjxyeejM,17081
|
829 |
+
pip/_vendor/urllib3/contrib/securetransport.py,sha256=Fef1IIUUFHqpevzXiDPbIGkDKchY2FVKeVeLGR1Qq3g,34446
|
830 |
+
pip/_vendor/urllib3/contrib/socks.py,sha256=aRi9eWXo9ZEb95XUxef4Z21CFlnnjbEiAo9HOseoMt4,7097
|
831 |
+
pip/_vendor/urllib3/exceptions.py,sha256=0Mnno3KHTNfXRfY7638NufOPkUb6mXOm-Lqj-4x2w8A,8217
|
832 |
+
pip/_vendor/urllib3/fields.py,sha256=kvLDCg_JmH1lLjUUEY_FLS8UhY7hBvDPuVETbY8mdrM,8579
|
833 |
+
pip/_vendor/urllib3/filepost.py,sha256=5b_qqgRHVlL7uLtdAYBzBh-GHmU5AfJVt_2N0XS3PeY,2440
|
834 |
+
pip/_vendor/urllib3/packages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
835 |
+
pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-39.pyc,,
|
836 |
+
pip/_vendor/urllib3/packages/__pycache__/six.cpython-39.pyc,,
|
837 |
+
pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
838 |
+
pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-39.pyc,,
|
839 |
+
pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-39.pyc,,
|
840 |
+
pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-39.pyc,,
|
841 |
+
pip/_vendor/urllib3/packages/backports/makefile.py,sha256=nbzt3i0agPVP07jqqgjhaYjMmuAi_W5E0EywZivVO8E,1417
|
842 |
+
pip/_vendor/urllib3/packages/backports/weakref_finalize.py,sha256=tRCal5OAhNSRyb0DhHp-38AtIlCsRP8BxF3NX-6rqIA,5343
|
843 |
+
pip/_vendor/urllib3/packages/six.py,sha256=b9LM0wBXv7E7SrbCjAm4wwN-hrH-iNxv18LgWNMMKPo,34665
|
844 |
+
pip/_vendor/urllib3/poolmanager.py,sha256=aWyhXRtNO4JUnCSVVqKTKQd8EXTvUm1VN9pgs2bcONo,19990
|
845 |
+
pip/_vendor/urllib3/request.py,sha256=YTWFNr7QIwh7E1W9dde9LM77v2VWTJ5V78XuTTw7D1A,6691
|
846 |
+
pip/_vendor/urllib3/response.py,sha256=fmDJAFkG71uFTn-sVSTh2Iw0WmcXQYqkbRjihvwBjU8,30641
|
847 |
+
pip/_vendor/urllib3/util/__init__.py,sha256=JEmSmmqqLyaw8P51gUImZh8Gwg9i1zSe-DoqAitn2nc,1155
|
848 |
+
pip/_vendor/urllib3/util/__pycache__/__init__.cpython-39.pyc,,
|
849 |
+
pip/_vendor/urllib3/util/__pycache__/connection.cpython-39.pyc,,
|
850 |
+
pip/_vendor/urllib3/util/__pycache__/proxy.cpython-39.pyc,,
|
851 |
+
pip/_vendor/urllib3/util/__pycache__/queue.cpython-39.pyc,,
|
852 |
+
pip/_vendor/urllib3/util/__pycache__/request.cpython-39.pyc,,
|
853 |
+
pip/_vendor/urllib3/util/__pycache__/response.cpython-39.pyc,,
|
854 |
+
pip/_vendor/urllib3/util/__pycache__/retry.cpython-39.pyc,,
|
855 |
+
pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-39.pyc,,
|
856 |
+
pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-39.pyc,,
|
857 |
+
pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-39.pyc,,
|
858 |
+
pip/_vendor/urllib3/util/__pycache__/timeout.cpython-39.pyc,,
|
859 |
+
pip/_vendor/urllib3/util/__pycache__/url.cpython-39.pyc,,
|
860 |
+
pip/_vendor/urllib3/util/__pycache__/wait.cpython-39.pyc,,
|
861 |
+
pip/_vendor/urllib3/util/connection.py,sha256=5Lx2B1PW29KxBn2T0xkN1CBgRBa3gGVJBKoQoRogEVk,4901
|
862 |
+
pip/_vendor/urllib3/util/proxy.py,sha256=zUvPPCJrp6dOF0N4GAVbOcl6o-4uXKSrGiTkkr5vUS4,1605
|
863 |
+
pip/_vendor/urllib3/util/queue.py,sha256=nRgX8_eX-_VkvxoX096QWoz8Ps0QHUAExILCY_7PncM,498
|
864 |
+
pip/_vendor/urllib3/util/request.py,sha256=C0OUt2tcU6LRiQJ7YYNP9GvPrSvl7ziIBekQ-5nlBZk,3997
|
865 |
+
pip/_vendor/urllib3/util/response.py,sha256=GJpg3Egi9qaJXRwBh5wv-MNuRWan5BIu40oReoxWP28,3510
|
866 |
+
pip/_vendor/urllib3/util/retry.py,sha256=Z6WEf518eTOXP5jr5QSQ9gqJI0DVYt3Xs3EKnYaTmus,22013
|
867 |
+
pip/_vendor/urllib3/util/ssl_.py,sha256=X4-AqW91aYPhPx6-xbf66yHFQKbqqfC_5Zt4WkLX1Hc,17177
|
868 |
+
pip/_vendor/urllib3/util/ssl_match_hostname.py,sha256=Ir4cZVEjmAk8gUAIHWSi7wtOO83UCYABY2xFD1Ql_WA,5758
|
869 |
+
pip/_vendor/urllib3/util/ssltransport.py,sha256=NA-u5rMTrDFDFC8QzRKUEKMG0561hOD4qBTr3Z4pv6E,6895
|
870 |
+
pip/_vendor/urllib3/util/timeout.py,sha256=cwq4dMk87mJHSBktK1miYJ-85G-3T3RmT20v7SFCpno,10168
|
871 |
+
pip/_vendor/urllib3/util/url.py,sha256=lCAE7M5myA8EDdW0sJuyyZhVB9K_j38ljWhHAnFaWoE,14296
|
872 |
+
pip/_vendor/urllib3/util/wait.py,sha256=fOX0_faozG2P7iVojQoE1mbydweNyTcm-hXEfFrTtLI,5403
|
873 |
+
pip/_vendor/vendor.txt,sha256=eiYUkiHRU35nedL7Y_FifDuDFVvCktFrR4LQzoQpl7k,346
|
874 |
+
pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/REQUESTED
ADDED
File without changes
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: setuptools (70.2.0)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/entry_points.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
[console_scripts]
|
2 |
+
pip = pip._internal.cli.main:main
|
3 |
+
pip3 = pip._internal.cli.main:main
|
MLPY/Lib/site-packages/pip-24.1.2.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
MLPY/Lib/site-packages/pip/__init__.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import List, Optional
|
2 |
+
|
3 |
+
__version__ = "24.1.2"
|
4 |
+
|
5 |
+
|
6 |
+
def main(args: Optional[List[str]] = None) -> int:
|
7 |
+
"""This is an internal API only meant for use by pip's own console scripts.
|
8 |
+
|
9 |
+
For additional details, see https://github.com/pypa/pip/issues/7498.
|
10 |
+
"""
|
11 |
+
from pip._internal.utils.entrypoints import _wrapper
|
12 |
+
|
13 |
+
return _wrapper(args)
|
MLPY/Lib/site-packages/pip/__main__.py
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import sys
|
3 |
+
|
4 |
+
# Remove '' and current working directory from the first entry
|
5 |
+
# of sys.path, if present to avoid using current directory
|
6 |
+
# in pip commands check, freeze, install, list and show,
|
7 |
+
# when invoked as python -m pip <command>
|
8 |
+
if sys.path[0] in ("", os.getcwd()):
|
9 |
+
sys.path.pop(0)
|
10 |
+
|
11 |
+
# If we are running from a wheel, add the wheel to sys.path
|
12 |
+
# This allows the usage python pip-*.whl/pip install pip-*.whl
|
13 |
+
if __package__ == "":
|
14 |
+
# __file__ is pip-*.whl/pip/__main__.py
|
15 |
+
# first dirname call strips of '/__main__.py', second strips off '/pip'
|
16 |
+
# Resulting path is the name of the wheel itself
|
17 |
+
# Add that to sys.path so we can import pip
|
18 |
+
path = os.path.dirname(os.path.dirname(__file__))
|
19 |
+
sys.path.insert(0, path)
|
20 |
+
|
21 |
+
if __name__ == "__main__":
|
22 |
+
from pip._internal.cli.main import main as _main
|
23 |
+
|
24 |
+
sys.exit(_main())
|
MLPY/Lib/site-packages/pip/__pip-runner__.py
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Execute exactly this copy of pip, within a different environment.
|
2 |
+
|
3 |
+
This file is named as it is, to ensure that this module can't be imported via
|
4 |
+
an import statement.
|
5 |
+
"""
|
6 |
+
|
7 |
+
# /!\ This version compatibility check section must be Python 2 compatible. /!\
|
8 |
+
|
9 |
+
import sys
|
10 |
+
|
11 |
+
# Copied from pyproject.toml
|
12 |
+
PYTHON_REQUIRES = (3, 8)
|
13 |
+
|
14 |
+
|
15 |
+
def version_str(version): # type: ignore
|
16 |
+
return ".".join(str(v) for v in version)
|
17 |
+
|
18 |
+
|
19 |
+
if sys.version_info[:2] < PYTHON_REQUIRES:
|
20 |
+
raise SystemExit(
|
21 |
+
"This version of pip does not support python {} (requires >={}).".format(
|
22 |
+
version_str(sys.version_info[:2]), version_str(PYTHON_REQUIRES)
|
23 |
+
)
|
24 |
+
)
|
25 |
+
|
26 |
+
# From here on, we can use Python 3 features, but the syntax must remain
|
27 |
+
# Python 2 compatible.
|
28 |
+
|
29 |
+
import runpy # noqa: E402
|
30 |
+
from importlib.machinery import PathFinder # noqa: E402
|
31 |
+
from os.path import dirname # noqa: E402
|
32 |
+
|
33 |
+
PIP_SOURCES_ROOT = dirname(dirname(__file__))
|
34 |
+
|
35 |
+
|
36 |
+
class PipImportRedirectingFinder:
|
37 |
+
@classmethod
|
38 |
+
def find_spec(self, fullname, path=None, target=None): # type: ignore
|
39 |
+
if fullname != "pip":
|
40 |
+
return None
|
41 |
+
|
42 |
+
spec = PathFinder.find_spec(fullname, [PIP_SOURCES_ROOT], target)
|
43 |
+
assert spec, (PIP_SOURCES_ROOT, fullname)
|
44 |
+
return spec
|
45 |
+
|
46 |
+
|
47 |
+
sys.meta_path.insert(0, PipImportRedirectingFinder())
|
48 |
+
|
49 |
+
assert __name__ == "__main__", "Cannot run __pip-runner__.py as a non-main module"
|
50 |
+
runpy.run_module("pip", run_name="__main__", alter_sys=True)
|
MLPY/Lib/site-packages/pip/__pycache__/__init__.cpython-39.pyc
ADDED
Binary file (596 Bytes). View file
|
|
MLPY/Lib/site-packages/pip/__pycache__/__main__.cpython-39.pyc
ADDED
Binary file (424 Bytes). View file
|
|
MLPY/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-39.pyc
ADDED
Binary file (1.59 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__init__.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import List, Optional
|
2 |
+
|
3 |
+
from pip._internal.utils import _log
|
4 |
+
|
5 |
+
# init_logging() must be called before any call to logging.getLogger()
|
6 |
+
# which happens at import of most modules.
|
7 |
+
_log.init_logging()
|
8 |
+
|
9 |
+
|
10 |
+
def main(args: Optional[List[str]] = None) -> int:
|
11 |
+
"""This is preserved for old console scripts that may still be referencing
|
12 |
+
it.
|
13 |
+
|
14 |
+
For additional details, see https://github.com/pypa/pip/issues/7498.
|
15 |
+
"""
|
16 |
+
from pip._internal.utils.entrypoints import _wrapper
|
17 |
+
|
18 |
+
return _wrapper(args)
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-39.pyc
ADDED
Binary file (658 Bytes). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-39.pyc
ADDED
Binary file (9.7 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-39.pyc
ADDED
Binary file (8.95 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-39.pyc
ADDED
Binary file (11.7 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-39.pyc
ADDED
Binary file (27.3 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/main.cpython-39.pyc
ADDED
Binary file (582 Bytes). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-39.pyc
ADDED
Binary file (3.61 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc
ADDED
Binary file (6.85 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-39.pyc
ADDED
Binary file (8.63 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/build_env.py
ADDED
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Build Environment used for isolation during sdist building
|
2 |
+
"""
|
3 |
+
|
4 |
+
import logging
|
5 |
+
import os
|
6 |
+
import pathlib
|
7 |
+
import site
|
8 |
+
import sys
|
9 |
+
import textwrap
|
10 |
+
from collections import OrderedDict
|
11 |
+
from types import TracebackType
|
12 |
+
from typing import TYPE_CHECKING, Iterable, List, Optional, Set, Tuple, Type, Union
|
13 |
+
|
14 |
+
from pip._vendor.certifi import where
|
15 |
+
from pip._vendor.packaging.requirements import Requirement
|
16 |
+
from pip._vendor.packaging.version import Version
|
17 |
+
|
18 |
+
from pip import __file__ as pip_location
|
19 |
+
from pip._internal.cli.spinners import open_spinner
|
20 |
+
from pip._internal.locations import get_platlib, get_purelib, get_scheme
|
21 |
+
from pip._internal.metadata import get_default_environment, get_environment
|
22 |
+
from pip._internal.utils.logging import VERBOSE
|
23 |
+
from pip._internal.utils.subprocess import call_subprocess
|
24 |
+
from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
|
25 |
+
|
26 |
+
if TYPE_CHECKING:
|
27 |
+
from pip._internal.index.package_finder import PackageFinder
|
28 |
+
|
29 |
+
logger = logging.getLogger(__name__)
|
30 |
+
|
31 |
+
|
32 |
+
def _dedup(a: str, b: str) -> Union[Tuple[str], Tuple[str, str]]:
|
33 |
+
return (a, b) if a != b else (a,)
|
34 |
+
|
35 |
+
|
36 |
+
class _Prefix:
|
37 |
+
def __init__(self, path: str) -> None:
|
38 |
+
self.path = path
|
39 |
+
self.setup = False
|
40 |
+
scheme = get_scheme("", prefix=path)
|
41 |
+
self.bin_dir = scheme.scripts
|
42 |
+
self.lib_dirs = _dedup(scheme.purelib, scheme.platlib)
|
43 |
+
|
44 |
+
|
45 |
+
def get_runnable_pip() -> str:
|
46 |
+
"""Get a file to pass to a Python executable, to run the currently-running pip.
|
47 |
+
|
48 |
+
This is used to run a pip subprocess, for installing requirements into the build
|
49 |
+
environment.
|
50 |
+
"""
|
51 |
+
source = pathlib.Path(pip_location).resolve().parent
|
52 |
+
|
53 |
+
if not source.is_dir():
|
54 |
+
# This would happen if someone is using pip from inside a zip file. In that
|
55 |
+
# case, we can use that directly.
|
56 |
+
return str(source)
|
57 |
+
|
58 |
+
return os.fsdecode(source / "__pip-runner__.py")
|
59 |
+
|
60 |
+
|
61 |
+
def _get_system_sitepackages() -> Set[str]:
|
62 |
+
"""Get system site packages
|
63 |
+
|
64 |
+
Usually from site.getsitepackages,
|
65 |
+
but fallback on `get_purelib()/get_platlib()` if unavailable
|
66 |
+
(e.g. in a virtualenv created by virtualenv<20)
|
67 |
+
|
68 |
+
Returns normalized set of strings.
|
69 |
+
"""
|
70 |
+
if hasattr(site, "getsitepackages"):
|
71 |
+
system_sites = site.getsitepackages()
|
72 |
+
else:
|
73 |
+
# virtualenv < 20 overwrites site.py without getsitepackages
|
74 |
+
# fallback on get_purelib/get_platlib.
|
75 |
+
# this is known to miss things, but shouldn't in the cases
|
76 |
+
# where getsitepackages() has been removed (inside a virtualenv)
|
77 |
+
system_sites = [get_purelib(), get_platlib()]
|
78 |
+
return {os.path.normcase(path) for path in system_sites}
|
79 |
+
|
80 |
+
|
81 |
+
class BuildEnvironment:
|
82 |
+
"""Creates and manages an isolated environment to install build deps"""
|
83 |
+
|
84 |
+
def __init__(self) -> None:
|
85 |
+
temp_dir = TempDirectory(kind=tempdir_kinds.BUILD_ENV, globally_managed=True)
|
86 |
+
|
87 |
+
self._prefixes = OrderedDict(
|
88 |
+
(name, _Prefix(os.path.join(temp_dir.path, name)))
|
89 |
+
for name in ("normal", "overlay")
|
90 |
+
)
|
91 |
+
|
92 |
+
self._bin_dirs: List[str] = []
|
93 |
+
self._lib_dirs: List[str] = []
|
94 |
+
for prefix in reversed(list(self._prefixes.values())):
|
95 |
+
self._bin_dirs.append(prefix.bin_dir)
|
96 |
+
self._lib_dirs.extend(prefix.lib_dirs)
|
97 |
+
|
98 |
+
# Customize site to:
|
99 |
+
# - ensure .pth files are honored
|
100 |
+
# - prevent access to system site packages
|
101 |
+
system_sites = _get_system_sitepackages()
|
102 |
+
|
103 |
+
self._site_dir = os.path.join(temp_dir.path, "site")
|
104 |
+
if not os.path.exists(self._site_dir):
|
105 |
+
os.mkdir(self._site_dir)
|
106 |
+
with open(
|
107 |
+
os.path.join(self._site_dir, "sitecustomize.py"), "w", encoding="utf-8"
|
108 |
+
) as fp:
|
109 |
+
fp.write(
|
110 |
+
textwrap.dedent(
|
111 |
+
"""
|
112 |
+
import os, site, sys
|
113 |
+
|
114 |
+
# First, drop system-sites related paths.
|
115 |
+
original_sys_path = sys.path[:]
|
116 |
+
known_paths = set()
|
117 |
+
for path in {system_sites!r}:
|
118 |
+
site.addsitedir(path, known_paths=known_paths)
|
119 |
+
system_paths = set(
|
120 |
+
os.path.normcase(path)
|
121 |
+
for path in sys.path[len(original_sys_path):]
|
122 |
+
)
|
123 |
+
original_sys_path = [
|
124 |
+
path for path in original_sys_path
|
125 |
+
if os.path.normcase(path) not in system_paths
|
126 |
+
]
|
127 |
+
sys.path = original_sys_path
|
128 |
+
|
129 |
+
# Second, add lib directories.
|
130 |
+
# ensuring .pth file are processed.
|
131 |
+
for path in {lib_dirs!r}:
|
132 |
+
assert not path in sys.path
|
133 |
+
site.addsitedir(path)
|
134 |
+
"""
|
135 |
+
).format(system_sites=system_sites, lib_dirs=self._lib_dirs)
|
136 |
+
)
|
137 |
+
|
138 |
+
def __enter__(self) -> None:
|
139 |
+
self._save_env = {
|
140 |
+
name: os.environ.get(name, None)
|
141 |
+
for name in ("PATH", "PYTHONNOUSERSITE", "PYTHONPATH")
|
142 |
+
}
|
143 |
+
|
144 |
+
path = self._bin_dirs[:]
|
145 |
+
old_path = self._save_env["PATH"]
|
146 |
+
if old_path:
|
147 |
+
path.extend(old_path.split(os.pathsep))
|
148 |
+
|
149 |
+
pythonpath = [self._site_dir]
|
150 |
+
|
151 |
+
os.environ.update(
|
152 |
+
{
|
153 |
+
"PATH": os.pathsep.join(path),
|
154 |
+
"PYTHONNOUSERSITE": "1",
|
155 |
+
"PYTHONPATH": os.pathsep.join(pythonpath),
|
156 |
+
}
|
157 |
+
)
|
158 |
+
|
159 |
+
def __exit__(
|
160 |
+
self,
|
161 |
+
exc_type: Optional[Type[BaseException]],
|
162 |
+
exc_val: Optional[BaseException],
|
163 |
+
exc_tb: Optional[TracebackType],
|
164 |
+
) -> None:
|
165 |
+
for varname, old_value in self._save_env.items():
|
166 |
+
if old_value is None:
|
167 |
+
os.environ.pop(varname, None)
|
168 |
+
else:
|
169 |
+
os.environ[varname] = old_value
|
170 |
+
|
171 |
+
def check_requirements(
|
172 |
+
self, reqs: Iterable[str]
|
173 |
+
) -> Tuple[Set[Tuple[str, str]], Set[str]]:
|
174 |
+
"""Return 2 sets:
|
175 |
+
- conflicting requirements: set of (installed, wanted) reqs tuples
|
176 |
+
- missing requirements: set of reqs
|
177 |
+
"""
|
178 |
+
missing = set()
|
179 |
+
conflicting = set()
|
180 |
+
if reqs:
|
181 |
+
env = (
|
182 |
+
get_environment(self._lib_dirs)
|
183 |
+
if hasattr(self, "_lib_dirs")
|
184 |
+
else get_default_environment()
|
185 |
+
)
|
186 |
+
for req_str in reqs:
|
187 |
+
req = Requirement(req_str)
|
188 |
+
# We're explicitly evaluating with an empty extra value, since build
|
189 |
+
# environments are not provided any mechanism to select specific extras.
|
190 |
+
if req.marker is not None and not req.marker.evaluate({"extra": ""}):
|
191 |
+
continue
|
192 |
+
dist = env.get_distribution(req.name)
|
193 |
+
if not dist:
|
194 |
+
missing.add(req_str)
|
195 |
+
continue
|
196 |
+
if isinstance(dist.version, Version):
|
197 |
+
installed_req_str = f"{req.name}=={dist.version}"
|
198 |
+
else:
|
199 |
+
installed_req_str = f"{req.name}==={dist.version}"
|
200 |
+
if not req.specifier.contains(dist.version, prereleases=True):
|
201 |
+
conflicting.add((installed_req_str, req_str))
|
202 |
+
# FIXME: Consider direct URL?
|
203 |
+
return conflicting, missing
|
204 |
+
|
205 |
+
def install_requirements(
|
206 |
+
self,
|
207 |
+
finder: "PackageFinder",
|
208 |
+
requirements: Iterable[str],
|
209 |
+
prefix_as_string: str,
|
210 |
+
*,
|
211 |
+
kind: str,
|
212 |
+
) -> None:
|
213 |
+
prefix = self._prefixes[prefix_as_string]
|
214 |
+
assert not prefix.setup
|
215 |
+
prefix.setup = True
|
216 |
+
if not requirements:
|
217 |
+
return
|
218 |
+
self._install_requirements(
|
219 |
+
get_runnable_pip(),
|
220 |
+
finder,
|
221 |
+
requirements,
|
222 |
+
prefix,
|
223 |
+
kind=kind,
|
224 |
+
)
|
225 |
+
|
226 |
+
@staticmethod
|
227 |
+
def _install_requirements(
|
228 |
+
pip_runnable: str,
|
229 |
+
finder: "PackageFinder",
|
230 |
+
requirements: Iterable[str],
|
231 |
+
prefix: _Prefix,
|
232 |
+
*,
|
233 |
+
kind: str,
|
234 |
+
) -> None:
|
235 |
+
args: List[str] = [
|
236 |
+
sys.executable,
|
237 |
+
pip_runnable,
|
238 |
+
"install",
|
239 |
+
"--ignore-installed",
|
240 |
+
"--no-user",
|
241 |
+
"--prefix",
|
242 |
+
prefix.path,
|
243 |
+
"--no-warn-script-location",
|
244 |
+
]
|
245 |
+
if logger.getEffectiveLevel() <= logging.DEBUG:
|
246 |
+
args.append("-vv")
|
247 |
+
elif logger.getEffectiveLevel() <= VERBOSE:
|
248 |
+
args.append("-v")
|
249 |
+
for format_control in ("no_binary", "only_binary"):
|
250 |
+
formats = getattr(finder.format_control, format_control)
|
251 |
+
args.extend(
|
252 |
+
(
|
253 |
+
"--" + format_control.replace("_", "-"),
|
254 |
+
",".join(sorted(formats or {":none:"})),
|
255 |
+
)
|
256 |
+
)
|
257 |
+
|
258 |
+
index_urls = finder.index_urls
|
259 |
+
if index_urls:
|
260 |
+
args.extend(["-i", index_urls[0]])
|
261 |
+
for extra_index in index_urls[1:]:
|
262 |
+
args.extend(["--extra-index-url", extra_index])
|
263 |
+
else:
|
264 |
+
args.append("--no-index")
|
265 |
+
for link in finder.find_links:
|
266 |
+
args.extend(["--find-links", link])
|
267 |
+
|
268 |
+
for host in finder.trusted_hosts:
|
269 |
+
args.extend(["--trusted-host", host])
|
270 |
+
if finder.allow_all_prereleases:
|
271 |
+
args.append("--pre")
|
272 |
+
if finder.prefer_binary:
|
273 |
+
args.append("--prefer-binary")
|
274 |
+
args.append("--")
|
275 |
+
args.extend(requirements)
|
276 |
+
extra_environ = {"_PIP_STANDALONE_CERT": where()}
|
277 |
+
with open_spinner(f"Installing {kind}") as spinner:
|
278 |
+
call_subprocess(
|
279 |
+
args,
|
280 |
+
command_desc=f"pip subprocess to install {kind}",
|
281 |
+
spinner=spinner,
|
282 |
+
extra_environ=extra_environ,
|
283 |
+
)
|
284 |
+
|
285 |
+
|
286 |
+
class NoOpBuildEnvironment(BuildEnvironment):
|
287 |
+
"""A no-op drop-in replacement for BuildEnvironment"""
|
288 |
+
|
289 |
+
def __init__(self) -> None:
|
290 |
+
pass
|
291 |
+
|
292 |
+
def __enter__(self) -> None:
|
293 |
+
pass
|
294 |
+
|
295 |
+
def __exit__(
|
296 |
+
self,
|
297 |
+
exc_type: Optional[Type[BaseException]],
|
298 |
+
exc_val: Optional[BaseException],
|
299 |
+
exc_tb: Optional[TracebackType],
|
300 |
+
) -> None:
|
301 |
+
pass
|
302 |
+
|
303 |
+
def cleanup(self) -> None:
|
304 |
+
pass
|
305 |
+
|
306 |
+
def install_requirements(
|
307 |
+
self,
|
308 |
+
finder: "PackageFinder",
|
309 |
+
requirements: Iterable[str],
|
310 |
+
prefix_as_string: str,
|
311 |
+
*,
|
312 |
+
kind: str,
|
313 |
+
) -> None:
|
314 |
+
raise NotImplementedError()
|
MLPY/Lib/site-packages/pip/_internal/cache.py
ADDED
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Cache Management
|
2 |
+
"""
|
3 |
+
|
4 |
+
import hashlib
|
5 |
+
import json
|
6 |
+
import logging
|
7 |
+
import os
|
8 |
+
from pathlib import Path
|
9 |
+
from typing import Any, Dict, List, Optional
|
10 |
+
|
11 |
+
from pip._vendor.packaging.tags import Tag, interpreter_name, interpreter_version
|
12 |
+
from pip._vendor.packaging.utils import canonicalize_name
|
13 |
+
|
14 |
+
from pip._internal.exceptions import InvalidWheelFilename
|
15 |
+
from pip._internal.models.direct_url import DirectUrl
|
16 |
+
from pip._internal.models.link import Link
|
17 |
+
from pip._internal.models.wheel import Wheel
|
18 |
+
from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
|
19 |
+
from pip._internal.utils.urls import path_to_url
|
20 |
+
|
21 |
+
logger = logging.getLogger(__name__)
|
22 |
+
|
23 |
+
ORIGIN_JSON_NAME = "origin.json"
|
24 |
+
|
25 |
+
|
26 |
+
def _hash_dict(d: Dict[str, str]) -> str:
|
27 |
+
"""Return a stable sha224 of a dictionary."""
|
28 |
+
s = json.dumps(d, sort_keys=True, separators=(",", ":"), ensure_ascii=True)
|
29 |
+
return hashlib.sha224(s.encode("ascii")).hexdigest()
|
30 |
+
|
31 |
+
|
32 |
+
class Cache:
|
33 |
+
"""An abstract class - provides cache directories for data from links
|
34 |
+
|
35 |
+
:param cache_dir: The root of the cache.
|
36 |
+
"""
|
37 |
+
|
38 |
+
def __init__(self, cache_dir: str) -> None:
|
39 |
+
super().__init__()
|
40 |
+
assert not cache_dir or os.path.isabs(cache_dir)
|
41 |
+
self.cache_dir = cache_dir or None
|
42 |
+
|
43 |
+
def _get_cache_path_parts(self, link: Link) -> List[str]:
|
44 |
+
"""Get parts of part that must be os.path.joined with cache_dir"""
|
45 |
+
|
46 |
+
# We want to generate an url to use as our cache key, we don't want to
|
47 |
+
# just reuse the URL because it might have other items in the fragment
|
48 |
+
# and we don't care about those.
|
49 |
+
key_parts = {"url": link.url_without_fragment}
|
50 |
+
if link.hash_name is not None and link.hash is not None:
|
51 |
+
key_parts[link.hash_name] = link.hash
|
52 |
+
if link.subdirectory_fragment:
|
53 |
+
key_parts["subdirectory"] = link.subdirectory_fragment
|
54 |
+
|
55 |
+
# Include interpreter name, major and minor version in cache key
|
56 |
+
# to cope with ill-behaved sdists that build a different wheel
|
57 |
+
# depending on the python version their setup.py is being run on,
|
58 |
+
# and don't encode the difference in compatibility tags.
|
59 |
+
# https://github.com/pypa/pip/issues/7296
|
60 |
+
key_parts["interpreter_name"] = interpreter_name()
|
61 |
+
key_parts["interpreter_version"] = interpreter_version()
|
62 |
+
|
63 |
+
# Encode our key url with sha224, we'll use this because it has similar
|
64 |
+
# security properties to sha256, but with a shorter total output (and
|
65 |
+
# thus less secure). However the differences don't make a lot of
|
66 |
+
# difference for our use case here.
|
67 |
+
hashed = _hash_dict(key_parts)
|
68 |
+
|
69 |
+
# We want to nest the directories some to prevent having a ton of top
|
70 |
+
# level directories where we might run out of sub directories on some
|
71 |
+
# FS.
|
72 |
+
parts = [hashed[:2], hashed[2:4], hashed[4:6], hashed[6:]]
|
73 |
+
|
74 |
+
return parts
|
75 |
+
|
76 |
+
def _get_candidates(self, link: Link, canonical_package_name: str) -> List[Any]:
|
77 |
+
can_not_cache = not self.cache_dir or not canonical_package_name or not link
|
78 |
+
if can_not_cache:
|
79 |
+
return []
|
80 |
+
|
81 |
+
path = self.get_path_for_link(link)
|
82 |
+
if os.path.isdir(path):
|
83 |
+
return [(candidate, path) for candidate in os.listdir(path)]
|
84 |
+
return []
|
85 |
+
|
86 |
+
def get_path_for_link(self, link: Link) -> str:
|
87 |
+
"""Return a directory to store cached items in for link."""
|
88 |
+
raise NotImplementedError()
|
89 |
+
|
90 |
+
def get(
|
91 |
+
self,
|
92 |
+
link: Link,
|
93 |
+
package_name: Optional[str],
|
94 |
+
supported_tags: List[Tag],
|
95 |
+
) -> Link:
|
96 |
+
"""Returns a link to a cached item if it exists, otherwise returns the
|
97 |
+
passed link.
|
98 |
+
"""
|
99 |
+
raise NotImplementedError()
|
100 |
+
|
101 |
+
|
102 |
+
class SimpleWheelCache(Cache):
|
103 |
+
"""A cache of wheels for future installs."""
|
104 |
+
|
105 |
+
def __init__(self, cache_dir: str) -> None:
|
106 |
+
super().__init__(cache_dir)
|
107 |
+
|
108 |
+
def get_path_for_link(self, link: Link) -> str:
|
109 |
+
"""Return a directory to store cached wheels for link
|
110 |
+
|
111 |
+
Because there are M wheels for any one sdist, we provide a directory
|
112 |
+
to cache them in, and then consult that directory when looking up
|
113 |
+
cache hits.
|
114 |
+
|
115 |
+
We only insert things into the cache if they have plausible version
|
116 |
+
numbers, so that we don't contaminate the cache with things that were
|
117 |
+
not unique. E.g. ./package might have dozens of installs done for it
|
118 |
+
and build a version of 0.0...and if we built and cached a wheel, we'd
|
119 |
+
end up using the same wheel even if the source has been edited.
|
120 |
+
|
121 |
+
:param link: The link of the sdist for which this will cache wheels.
|
122 |
+
"""
|
123 |
+
parts = self._get_cache_path_parts(link)
|
124 |
+
assert self.cache_dir
|
125 |
+
# Store wheels within the root cache_dir
|
126 |
+
return os.path.join(self.cache_dir, "wheels", *parts)
|
127 |
+
|
128 |
+
def get(
|
129 |
+
self,
|
130 |
+
link: Link,
|
131 |
+
package_name: Optional[str],
|
132 |
+
supported_tags: List[Tag],
|
133 |
+
) -> Link:
|
134 |
+
candidates = []
|
135 |
+
|
136 |
+
if not package_name:
|
137 |
+
return link
|
138 |
+
|
139 |
+
canonical_package_name = canonicalize_name(package_name)
|
140 |
+
for wheel_name, wheel_dir in self._get_candidates(link, canonical_package_name):
|
141 |
+
try:
|
142 |
+
wheel = Wheel(wheel_name)
|
143 |
+
except InvalidWheelFilename:
|
144 |
+
continue
|
145 |
+
if canonicalize_name(wheel.name) != canonical_package_name:
|
146 |
+
logger.debug(
|
147 |
+
"Ignoring cached wheel %s for %s as it "
|
148 |
+
"does not match the expected distribution name %s.",
|
149 |
+
wheel_name,
|
150 |
+
link,
|
151 |
+
package_name,
|
152 |
+
)
|
153 |
+
continue
|
154 |
+
if not wheel.supported(supported_tags):
|
155 |
+
# Built for a different python/arch/etc
|
156 |
+
continue
|
157 |
+
candidates.append(
|
158 |
+
(
|
159 |
+
wheel.support_index_min(supported_tags),
|
160 |
+
wheel_name,
|
161 |
+
wheel_dir,
|
162 |
+
)
|
163 |
+
)
|
164 |
+
|
165 |
+
if not candidates:
|
166 |
+
return link
|
167 |
+
|
168 |
+
_, wheel_name, wheel_dir = min(candidates)
|
169 |
+
return Link(path_to_url(os.path.join(wheel_dir, wheel_name)))
|
170 |
+
|
171 |
+
|
172 |
+
class EphemWheelCache(SimpleWheelCache):
|
173 |
+
"""A SimpleWheelCache that creates it's own temporary cache directory"""
|
174 |
+
|
175 |
+
def __init__(self) -> None:
|
176 |
+
self._temp_dir = TempDirectory(
|
177 |
+
kind=tempdir_kinds.EPHEM_WHEEL_CACHE,
|
178 |
+
globally_managed=True,
|
179 |
+
)
|
180 |
+
|
181 |
+
super().__init__(self._temp_dir.path)
|
182 |
+
|
183 |
+
|
184 |
+
class CacheEntry:
|
185 |
+
def __init__(
|
186 |
+
self,
|
187 |
+
link: Link,
|
188 |
+
persistent: bool,
|
189 |
+
):
|
190 |
+
self.link = link
|
191 |
+
self.persistent = persistent
|
192 |
+
self.origin: Optional[DirectUrl] = None
|
193 |
+
origin_direct_url_path = Path(self.link.file_path).parent / ORIGIN_JSON_NAME
|
194 |
+
if origin_direct_url_path.exists():
|
195 |
+
try:
|
196 |
+
self.origin = DirectUrl.from_json(
|
197 |
+
origin_direct_url_path.read_text(encoding="utf-8")
|
198 |
+
)
|
199 |
+
except Exception as e:
|
200 |
+
logger.warning(
|
201 |
+
"Ignoring invalid cache entry origin file %s for %s (%s)",
|
202 |
+
origin_direct_url_path,
|
203 |
+
link.filename,
|
204 |
+
e,
|
205 |
+
)
|
206 |
+
|
207 |
+
|
208 |
+
class WheelCache(Cache):
|
209 |
+
"""Wraps EphemWheelCache and SimpleWheelCache into a single Cache
|
210 |
+
|
211 |
+
This Cache allows for gracefully degradation, using the ephem wheel cache
|
212 |
+
when a certain link is not found in the simple wheel cache first.
|
213 |
+
"""
|
214 |
+
|
215 |
+
def __init__(self, cache_dir: str) -> None:
|
216 |
+
super().__init__(cache_dir)
|
217 |
+
self._wheel_cache = SimpleWheelCache(cache_dir)
|
218 |
+
self._ephem_cache = EphemWheelCache()
|
219 |
+
|
220 |
+
def get_path_for_link(self, link: Link) -> str:
|
221 |
+
return self._wheel_cache.get_path_for_link(link)
|
222 |
+
|
223 |
+
def get_ephem_path_for_link(self, link: Link) -> str:
|
224 |
+
return self._ephem_cache.get_path_for_link(link)
|
225 |
+
|
226 |
+
def get(
|
227 |
+
self,
|
228 |
+
link: Link,
|
229 |
+
package_name: Optional[str],
|
230 |
+
supported_tags: List[Tag],
|
231 |
+
) -> Link:
|
232 |
+
cache_entry = self.get_cache_entry(link, package_name, supported_tags)
|
233 |
+
if cache_entry is None:
|
234 |
+
return link
|
235 |
+
return cache_entry.link
|
236 |
+
|
237 |
+
def get_cache_entry(
|
238 |
+
self,
|
239 |
+
link: Link,
|
240 |
+
package_name: Optional[str],
|
241 |
+
supported_tags: List[Tag],
|
242 |
+
) -> Optional[CacheEntry]:
|
243 |
+
"""Returns a CacheEntry with a link to a cached item if it exists or
|
244 |
+
None. The cache entry indicates if the item was found in the persistent
|
245 |
+
or ephemeral cache.
|
246 |
+
"""
|
247 |
+
retval = self._wheel_cache.get(
|
248 |
+
link=link,
|
249 |
+
package_name=package_name,
|
250 |
+
supported_tags=supported_tags,
|
251 |
+
)
|
252 |
+
if retval is not link:
|
253 |
+
return CacheEntry(retval, persistent=True)
|
254 |
+
|
255 |
+
retval = self._ephem_cache.get(
|
256 |
+
link=link,
|
257 |
+
package_name=package_name,
|
258 |
+
supported_tags=supported_tags,
|
259 |
+
)
|
260 |
+
if retval is not link:
|
261 |
+
return CacheEntry(retval, persistent=False)
|
262 |
+
|
263 |
+
return None
|
264 |
+
|
265 |
+
@staticmethod
|
266 |
+
def record_download_origin(cache_dir: str, download_info: DirectUrl) -> None:
|
267 |
+
origin_path = Path(cache_dir) / ORIGIN_JSON_NAME
|
268 |
+
if origin_path.exists():
|
269 |
+
try:
|
270 |
+
origin = DirectUrl.from_json(origin_path.read_text(encoding="utf-8"))
|
271 |
+
except Exception as e:
|
272 |
+
logger.warning(
|
273 |
+
"Could not read origin file %s in cache entry (%s). "
|
274 |
+
"Will attempt to overwrite it.",
|
275 |
+
origin_path,
|
276 |
+
e,
|
277 |
+
)
|
278 |
+
else:
|
279 |
+
# TODO: use DirectUrl.equivalent when
|
280 |
+
# https://github.com/pypa/pip/pull/10564 is merged.
|
281 |
+
if origin.url != download_info.url:
|
282 |
+
logger.warning(
|
283 |
+
"Origin URL %s in cache entry %s does not match download URL "
|
284 |
+
"%s. This is likely a pip bug or a cache corruption issue. "
|
285 |
+
"Will overwrite it with the new value.",
|
286 |
+
origin.url,
|
287 |
+
cache_dir,
|
288 |
+
download_info.url,
|
289 |
+
)
|
290 |
+
origin_path.write_text(download_info.to_json(), encoding="utf-8")
|
MLPY/Lib/site-packages/pip/_internal/cli/__init__.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Subpackage containing all of pip's command line interface related code
|
2 |
+
"""
|
3 |
+
|
4 |
+
# This file intentionally does not import submodules
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-39.pyc
ADDED
Binary file (237 Bytes). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc
ADDED
Binary file (5.35 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-39.pyc
ADDED
Binary file (6.45 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc
ADDED
Binary file (23.6 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-39.pyc
ADDED
Binary file (1.26 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-39.pyc
ADDED
Binary file (4.76 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-39.pyc
ADDED
Binary file (1.46 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc
ADDED
Binary file (2.98 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-39.pyc
ADDED
Binary file (9.91 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc
ADDED
Binary file (2.58 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-39.pyc
ADDED
Binary file (8.61 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-39.pyc
ADDED
Binary file (4.92 kB). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc
ADDED
Binary file (316 Bytes). View file
|
|
MLPY/Lib/site-packages/pip/_internal/cli/autocompletion.py
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Logic that powers autocompletion installed by ``pip completion``.
|
2 |
+
"""
|
3 |
+
|
4 |
+
import optparse
|
5 |
+
import os
|
6 |
+
import sys
|
7 |
+
from itertools import chain
|
8 |
+
from typing import Any, Iterable, List, Optional
|
9 |
+
|
10 |
+
from pip._internal.cli.main_parser import create_main_parser
|
11 |
+
from pip._internal.commands import commands_dict, create_command
|
12 |
+
from pip._internal.metadata import get_default_environment
|
13 |
+
|
14 |
+
|
15 |
+
def autocomplete() -> None:
|
16 |
+
"""Entry Point for completion of main and subcommand options."""
|
17 |
+
# Don't complete if user hasn't sourced bash_completion file.
|
18 |
+
if "PIP_AUTO_COMPLETE" not in os.environ:
|
19 |
+
return
|
20 |
+
# Don't complete if autocompletion environment variables
|
21 |
+
# are not present
|
22 |
+
if not os.environ.get("COMP_WORDS") or not os.environ.get("COMP_CWORD"):
|
23 |
+
return
|
24 |
+
cwords = os.environ["COMP_WORDS"].split()[1:]
|
25 |
+
cword = int(os.environ["COMP_CWORD"])
|
26 |
+
try:
|
27 |
+
current = cwords[cword - 1]
|
28 |
+
except IndexError:
|
29 |
+
current = ""
|
30 |
+
|
31 |
+
parser = create_main_parser()
|
32 |
+
subcommands = list(commands_dict)
|
33 |
+
options = []
|
34 |
+
|
35 |
+
# subcommand
|
36 |
+
subcommand_name: Optional[str] = None
|
37 |
+
for word in cwords:
|
38 |
+
if word in subcommands:
|
39 |
+
subcommand_name = word
|
40 |
+
break
|
41 |
+
# subcommand options
|
42 |
+
if subcommand_name is not None:
|
43 |
+
# special case: 'help' subcommand has no options
|
44 |
+
if subcommand_name == "help":
|
45 |
+
sys.exit(1)
|
46 |
+
# special case: list locally installed dists for show and uninstall
|
47 |
+
should_list_installed = not current.startswith("-") and subcommand_name in [
|
48 |
+
"show",
|
49 |
+
"uninstall",
|
50 |
+
]
|
51 |
+
if should_list_installed:
|
52 |
+
env = get_default_environment()
|
53 |
+
lc = current.lower()
|
54 |
+
installed = [
|
55 |
+
dist.canonical_name
|
56 |
+
for dist in env.iter_installed_distributions(local_only=True)
|
57 |
+
if dist.canonical_name.startswith(lc)
|
58 |
+
and dist.canonical_name not in cwords[1:]
|
59 |
+
]
|
60 |
+
# if there are no dists installed, fall back to option completion
|
61 |
+
if installed:
|
62 |
+
for dist in installed:
|
63 |
+
print(dist)
|
64 |
+
sys.exit(1)
|
65 |
+
|
66 |
+
should_list_installables = (
|
67 |
+
not current.startswith("-") and subcommand_name == "install"
|
68 |
+
)
|
69 |
+
if should_list_installables:
|
70 |
+
for path in auto_complete_paths(current, "path"):
|
71 |
+
print(path)
|
72 |
+
sys.exit(1)
|
73 |
+
|
74 |
+
subcommand = create_command(subcommand_name)
|
75 |
+
|
76 |
+
for opt in subcommand.parser.option_list_all:
|
77 |
+
if opt.help != optparse.SUPPRESS_HELP:
|
78 |
+
options += [
|
79 |
+
(opt_str, opt.nargs) for opt_str in opt._long_opts + opt._short_opts
|
80 |
+
]
|
81 |
+
|
82 |
+
# filter out previously specified options from available options
|
83 |
+
prev_opts = [x.split("=")[0] for x in cwords[1 : cword - 1]]
|
84 |
+
options = [(x, v) for (x, v) in options if x not in prev_opts]
|
85 |
+
# filter options by current input
|
86 |
+
options = [(k, v) for k, v in options if k.startswith(current)]
|
87 |
+
# get completion type given cwords and available subcommand options
|
88 |
+
completion_type = get_path_completion_type(
|
89 |
+
cwords,
|
90 |
+
cword,
|
91 |
+
subcommand.parser.option_list_all,
|
92 |
+
)
|
93 |
+
# get completion files and directories if ``completion_type`` is
|
94 |
+
# ``<file>``, ``<dir>`` or ``<path>``
|
95 |
+
if completion_type:
|
96 |
+
paths = auto_complete_paths(current, completion_type)
|
97 |
+
options = [(path, 0) for path in paths]
|
98 |
+
for option in options:
|
99 |
+
opt_label = option[0]
|
100 |
+
# append '=' to options which require args
|
101 |
+
if option[1] and option[0][:2] == "--":
|
102 |
+
opt_label += "="
|
103 |
+
print(opt_label)
|
104 |
+
else:
|
105 |
+
# show main parser options only when necessary
|
106 |
+
|
107 |
+
opts = [i.option_list for i in parser.option_groups]
|
108 |
+
opts.append(parser.option_list)
|
109 |
+
flattened_opts = chain.from_iterable(opts)
|
110 |
+
if current.startswith("-"):
|
111 |
+
for opt in flattened_opts:
|
112 |
+
if opt.help != optparse.SUPPRESS_HELP:
|
113 |
+
subcommands += opt._long_opts + opt._short_opts
|
114 |
+
else:
|
115 |
+
# get completion type given cwords and all available options
|
116 |
+
completion_type = get_path_completion_type(cwords, cword, flattened_opts)
|
117 |
+
if completion_type:
|
118 |
+
subcommands = list(auto_complete_paths(current, completion_type))
|
119 |
+
|
120 |
+
print(" ".join([x for x in subcommands if x.startswith(current)]))
|
121 |
+
sys.exit(1)
|
122 |
+
|
123 |
+
|
124 |
+
def get_path_completion_type(
|
125 |
+
cwords: List[str], cword: int, opts: Iterable[Any]
|
126 |
+
) -> Optional[str]:
|
127 |
+
"""Get the type of path completion (``file``, ``dir``, ``path`` or None)
|
128 |
+
|
129 |
+
:param cwords: same as the environmental variable ``COMP_WORDS``
|
130 |
+
:param cword: same as the environmental variable ``COMP_CWORD``
|
131 |
+
:param opts: The available options to check
|
132 |
+
:return: path completion type (``file``, ``dir``, ``path`` or None)
|
133 |
+
"""
|
134 |
+
if cword < 2 or not cwords[cword - 2].startswith("-"):
|
135 |
+
return None
|
136 |
+
for opt in opts:
|
137 |
+
if opt.help == optparse.SUPPRESS_HELP:
|
138 |
+
continue
|
139 |
+
for o in str(opt).split("/"):
|
140 |
+
if cwords[cword - 2].split("=")[0] == o:
|
141 |
+
if not opt.metavar or any(
|
142 |
+
x in ("path", "file", "dir") for x in opt.metavar.split("/")
|
143 |
+
):
|
144 |
+
return opt.metavar
|
145 |
+
return None
|
146 |
+
|
147 |
+
|
148 |
+
def auto_complete_paths(current: str, completion_type: str) -> Iterable[str]:
|
149 |
+
"""If ``completion_type`` is ``file`` or ``path``, list all regular files
|
150 |
+
and directories starting with ``current``; otherwise only list directories
|
151 |
+
starting with ``current``.
|
152 |
+
|
153 |
+
:param current: The word to be completed
|
154 |
+
:param completion_type: path completion type(``file``, ``path`` or ``dir``)
|
155 |
+
:return: A generator of regular files and/or directories
|
156 |
+
"""
|
157 |
+
directory, filename = os.path.split(current)
|
158 |
+
current_path = os.path.abspath(directory)
|
159 |
+
# Don't complete paths if they can't be accessed
|
160 |
+
if not os.access(current_path, os.R_OK):
|
161 |
+
return
|
162 |
+
filename = os.path.normcase(filename)
|
163 |
+
# list all files that start with ``filename``
|
164 |
+
file_list = (
|
165 |
+
x for x in os.listdir(current_path) if os.path.normcase(x).startswith(filename)
|
166 |
+
)
|
167 |
+
for f in file_list:
|
168 |
+
opt = os.path.join(current_path, f)
|
169 |
+
comp_file = os.path.normcase(os.path.join(directory, f))
|
170 |
+
# complete regular files when there is not ``<dir>`` after option
|
171 |
+
# complete directories when there is ``<file>``, ``<path>`` or
|
172 |
+
# ``<dir>``after option
|
173 |
+
if completion_type != "dir" and os.path.isfile(opt):
|
174 |
+
yield comp_file
|
175 |
+
elif os.path.isdir(opt):
|
176 |
+
yield os.path.join(comp_file, "")
|
MLPY/Lib/site-packages/pip/_internal/cli/base_command.py
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Base Command class, and related routines"""
|
2 |
+
|
3 |
+
import functools
|
4 |
+
import logging
|
5 |
+
import logging.config
|
6 |
+
import optparse
|
7 |
+
import os
|
8 |
+
import sys
|
9 |
+
import traceback
|
10 |
+
from optparse import Values
|
11 |
+
from typing import Any, Callable, List, Optional, Tuple
|
12 |
+
|
13 |
+
from pip._vendor.rich import traceback as rich_traceback
|
14 |
+
|
15 |
+
from pip._internal.cli import cmdoptions
|
16 |
+
from pip._internal.cli.command_context import CommandContextMixIn
|
17 |
+
from pip._internal.cli.parser import ConfigOptionParser, UpdatingDefaultsHelpFormatter
|
18 |
+
from pip._internal.cli.status_codes import (
|
19 |
+
ERROR,
|
20 |
+
PREVIOUS_BUILD_DIR_ERROR,
|
21 |
+
UNKNOWN_ERROR,
|
22 |
+
VIRTUALENV_NOT_FOUND,
|
23 |
+
)
|
24 |
+
from pip._internal.exceptions import (
|
25 |
+
BadCommand,
|
26 |
+
CommandError,
|
27 |
+
DiagnosticPipError,
|
28 |
+
InstallationError,
|
29 |
+
NetworkConnectionError,
|
30 |
+
PreviousBuildDirError,
|
31 |
+
)
|
32 |
+
from pip._internal.utils.filesystem import check_path_owner
|
33 |
+
from pip._internal.utils.logging import BrokenStdoutLoggingError, setup_logging
|
34 |
+
from pip._internal.utils.misc import get_prog, normalize_path
|
35 |
+
from pip._internal.utils.temp_dir import TempDirectoryTypeRegistry as TempDirRegistry
|
36 |
+
from pip._internal.utils.temp_dir import global_tempdir_manager, tempdir_registry
|
37 |
+
from pip._internal.utils.virtualenv import running_under_virtualenv
|
38 |
+
|
39 |
+
__all__ = ["Command"]
|
40 |
+
|
41 |
+
logger = logging.getLogger(__name__)
|
42 |
+
|
43 |
+
|
44 |
+
class Command(CommandContextMixIn):
|
45 |
+
usage: str = ""
|
46 |
+
ignore_require_venv: bool = False
|
47 |
+
|
48 |
+
def __init__(self, name: str, summary: str, isolated: bool = False) -> None:
|
49 |
+
super().__init__()
|
50 |
+
|
51 |
+
self.name = name
|
52 |
+
self.summary = summary
|
53 |
+
self.parser = ConfigOptionParser(
|
54 |
+
usage=self.usage,
|
55 |
+
prog=f"{get_prog()} {name}",
|
56 |
+
formatter=UpdatingDefaultsHelpFormatter(),
|
57 |
+
add_help_option=False,
|
58 |
+
name=name,
|
59 |
+
description=self.__doc__,
|
60 |
+
isolated=isolated,
|
61 |
+
)
|
62 |
+
|
63 |
+
self.tempdir_registry: Optional[TempDirRegistry] = None
|
64 |
+
|
65 |
+
# Commands should add options to this option group
|
66 |
+
optgroup_name = f"{self.name.capitalize()} Options"
|
67 |
+
self.cmd_opts = optparse.OptionGroup(self.parser, optgroup_name)
|
68 |
+
|
69 |
+
# Add the general options
|
70 |
+
gen_opts = cmdoptions.make_option_group(
|
71 |
+
cmdoptions.general_group,
|
72 |
+
self.parser,
|
73 |
+
)
|
74 |
+
self.parser.add_option_group(gen_opts)
|
75 |
+
|
76 |
+
self.add_options()
|
77 |
+
|
78 |
+
def add_options(self) -> None:
|
79 |
+
pass
|
80 |
+
|
81 |
+
def handle_pip_version_check(self, options: Values) -> None:
|
82 |
+
"""
|
83 |
+
This is a no-op so that commands by default do not do the pip version
|
84 |
+
check.
|
85 |
+
"""
|
86 |
+
# Make sure we do the pip version check if the index_group options
|
87 |
+
# are present.
|
88 |
+
assert not hasattr(options, "no_index")
|
89 |
+
|
90 |
+
def run(self, options: Values, args: List[str]) -> int:
|
91 |
+
raise NotImplementedError
|
92 |
+
|
93 |
+
def parse_args(self, args: List[str]) -> Tuple[Values, List[str]]:
|
94 |
+
# factored out for testability
|
95 |
+
return self.parser.parse_args(args)
|
96 |
+
|
97 |
+
def main(self, args: List[str]) -> int:
|
98 |
+
try:
|
99 |
+
with self.main_context():
|
100 |
+
return self._main(args)
|
101 |
+
finally:
|
102 |
+
logging.shutdown()
|
103 |
+
|
104 |
+
def _main(self, args: List[str]) -> int:
|
105 |
+
# We must initialize this before the tempdir manager, otherwise the
|
106 |
+
# configuration would not be accessible by the time we clean up the
|
107 |
+
# tempdir manager.
|
108 |
+
self.tempdir_registry = self.enter_context(tempdir_registry())
|
109 |
+
# Intentionally set as early as possible so globally-managed temporary
|
110 |
+
# directories are available to the rest of the code.
|
111 |
+
self.enter_context(global_tempdir_manager())
|
112 |
+
|
113 |
+
options, args = self.parse_args(args)
|
114 |
+
|
115 |
+
# Set verbosity so that it can be used elsewhere.
|
116 |
+
self.verbosity = options.verbose - options.quiet
|
117 |
+
|
118 |
+
level_number = setup_logging(
|
119 |
+
verbosity=self.verbosity,
|
120 |
+
no_color=options.no_color,
|
121 |
+
user_log_file=options.log,
|
122 |
+
)
|
123 |
+
|
124 |
+
always_enabled_features = set(options.features_enabled) & set(
|
125 |
+
cmdoptions.ALWAYS_ENABLED_FEATURES
|
126 |
+
)
|
127 |
+
if always_enabled_features:
|
128 |
+
logger.warning(
|
129 |
+
"The following features are always enabled: %s. ",
|
130 |
+
", ".join(sorted(always_enabled_features)),
|
131 |
+
)
|
132 |
+
|
133 |
+
# Make sure that the --python argument isn't specified after the
|
134 |
+
# subcommand. We can tell, because if --python was specified,
|
135 |
+
# we should only reach this point if we're running in the created
|
136 |
+
# subprocess, which has the _PIP_RUNNING_IN_SUBPROCESS environment
|
137 |
+
# variable set.
|
138 |
+
if options.python and "_PIP_RUNNING_IN_SUBPROCESS" not in os.environ:
|
139 |
+
logger.critical(
|
140 |
+
"The --python option must be placed before the pip subcommand name"
|
141 |
+
)
|
142 |
+
sys.exit(ERROR)
|
143 |
+
|
144 |
+
# TODO: Try to get these passing down from the command?
|
145 |
+
# without resorting to os.environ to hold these.
|
146 |
+
# This also affects isolated builds and it should.
|
147 |
+
|
148 |
+
if options.no_input:
|
149 |
+
os.environ["PIP_NO_INPUT"] = "1"
|
150 |
+
|
151 |
+
if options.exists_action:
|
152 |
+
os.environ["PIP_EXISTS_ACTION"] = " ".join(options.exists_action)
|
153 |
+
|
154 |
+
if options.require_venv and not self.ignore_require_venv:
|
155 |
+
# If a venv is required check if it can really be found
|
156 |
+
if not running_under_virtualenv():
|
157 |
+
logger.critical("Could not find an activated virtualenv (required).")
|
158 |
+
sys.exit(VIRTUALENV_NOT_FOUND)
|
159 |
+
|
160 |
+
if options.cache_dir:
|
161 |
+
options.cache_dir = normalize_path(options.cache_dir)
|
162 |
+
if not check_path_owner(options.cache_dir):
|
163 |
+
logger.warning(
|
164 |
+
"The directory '%s' or its parent directory is not owned "
|
165 |
+
"or is not writable by the current user. The cache "
|
166 |
+
"has been disabled. Check the permissions and owner of "
|
167 |
+
"that directory. If executing pip with sudo, you should "
|
168 |
+
"use sudo's -H flag.",
|
169 |
+
options.cache_dir,
|
170 |
+
)
|
171 |
+
options.cache_dir = None
|
172 |
+
|
173 |
+
def intercepts_unhandled_exc(
|
174 |
+
run_func: Callable[..., int]
|
175 |
+
) -> Callable[..., int]:
|
176 |
+
@functools.wraps(run_func)
|
177 |
+
def exc_logging_wrapper(*args: Any) -> int:
|
178 |
+
try:
|
179 |
+
status = run_func(*args)
|
180 |
+
assert isinstance(status, int)
|
181 |
+
return status
|
182 |
+
except DiagnosticPipError as exc:
|
183 |
+
logger.error("%s", exc, extra={"rich": True})
|
184 |
+
logger.debug("Exception information:", exc_info=True)
|
185 |
+
|
186 |
+
return ERROR
|
187 |
+
except PreviousBuildDirError as exc:
|
188 |
+
logger.critical(str(exc))
|
189 |
+
logger.debug("Exception information:", exc_info=True)
|
190 |
+
|
191 |
+
return PREVIOUS_BUILD_DIR_ERROR
|
192 |
+
except (
|
193 |
+
InstallationError,
|
194 |
+
BadCommand,
|
195 |
+
NetworkConnectionError,
|
196 |
+
) as exc:
|
197 |
+
logger.critical(str(exc))
|
198 |
+
logger.debug("Exception information:", exc_info=True)
|
199 |
+
|
200 |
+
return ERROR
|
201 |
+
except CommandError as exc:
|
202 |
+
logger.critical("%s", exc)
|
203 |
+
logger.debug("Exception information:", exc_info=True)
|
204 |
+
|
205 |
+
return ERROR
|
206 |
+
except BrokenStdoutLoggingError:
|
207 |
+
# Bypass our logger and write any remaining messages to
|
208 |
+
# stderr because stdout no longer works.
|
209 |
+
print("ERROR: Pipe to stdout was broken", file=sys.stderr)
|
210 |
+
if level_number <= logging.DEBUG:
|
211 |
+
traceback.print_exc(file=sys.stderr)
|
212 |
+
|
213 |
+
return ERROR
|
214 |
+
except KeyboardInterrupt:
|
215 |
+
logger.critical("Operation cancelled by user")
|
216 |
+
logger.debug("Exception information:", exc_info=True)
|
217 |
+
|
218 |
+
return ERROR
|
219 |
+
except BaseException:
|
220 |
+
logger.critical("Exception:", exc_info=True)
|
221 |
+
|
222 |
+
return UNKNOWN_ERROR
|
223 |
+
|
224 |
+
return exc_logging_wrapper
|
225 |
+
|
226 |
+
try:
|
227 |
+
if not options.debug_mode:
|
228 |
+
run = intercepts_unhandled_exc(self.run)
|
229 |
+
else:
|
230 |
+
run = self.run
|
231 |
+
rich_traceback.install(show_locals=True)
|
232 |
+
return run(options, args)
|
233 |
+
finally:
|
234 |
+
self.handle_pip_version_check(options)
|
MLPY/Lib/site-packages/pip/_internal/cli/cmdoptions.py
ADDED
@@ -0,0 +1,1074 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
shared options and groups
|
3 |
+
|
4 |
+
The principle here is to define options once, but *not* instantiate them
|
5 |
+
globally. One reason being that options with action='append' can carry state
|
6 |
+
between parses. pip parses general options twice internally, and shouldn't
|
7 |
+
pass on state. To be consistent, all options will follow this design.
|
8 |
+
"""
|
9 |
+
|
10 |
+
# The following comment should be removed at some point in the future.
|
11 |
+
# mypy: strict-optional=False
|
12 |
+
|
13 |
+
import importlib.util
|
14 |
+
import logging
|
15 |
+
import os
|
16 |
+
import textwrap
|
17 |
+
from functools import partial
|
18 |
+
from optparse import SUPPRESS_HELP, Option, OptionGroup, OptionParser, Values
|
19 |
+
from textwrap import dedent
|
20 |
+
from typing import Any, Callable, Dict, Optional, Tuple
|
21 |
+
|
22 |
+
from pip._vendor.packaging.utils import canonicalize_name
|
23 |
+
|
24 |
+
from pip._internal.cli.parser import ConfigOptionParser
|
25 |
+
from pip._internal.exceptions import CommandError
|
26 |
+
from pip._internal.locations import USER_CACHE_DIR, get_src_prefix
|
27 |
+
from pip._internal.models.format_control import FormatControl
|
28 |
+
from pip._internal.models.index import PyPI
|
29 |
+
from pip._internal.models.target_python import TargetPython
|
30 |
+
from pip._internal.utils.hashes import STRONG_HASHES
|
31 |
+
from pip._internal.utils.misc import strtobool
|
32 |
+
|
33 |
+
logger = logging.getLogger(__name__)
|
34 |
+
|
35 |
+
|
36 |
+
def raise_option_error(parser: OptionParser, option: Option, msg: str) -> None:
|
37 |
+
"""
|
38 |
+
Raise an option parsing error using parser.error().
|
39 |
+
|
40 |
+
Args:
|
41 |
+
parser: an OptionParser instance.
|
42 |
+
option: an Option instance.
|
43 |
+
msg: the error text.
|
44 |
+
"""
|
45 |
+
msg = f"{option} error: {msg}"
|
46 |
+
msg = textwrap.fill(" ".join(msg.split()))
|
47 |
+
parser.error(msg)
|
48 |
+
|
49 |
+
|
50 |
+
def make_option_group(group: Dict[str, Any], parser: ConfigOptionParser) -> OptionGroup:
|
51 |
+
"""
|
52 |
+
Return an OptionGroup object
|
53 |
+
group -- assumed to be dict with 'name' and 'options' keys
|
54 |
+
parser -- an optparse Parser
|
55 |
+
"""
|
56 |
+
option_group = OptionGroup(parser, group["name"])
|
57 |
+
for option in group["options"]:
|
58 |
+
option_group.add_option(option())
|
59 |
+
return option_group
|
60 |
+
|
61 |
+
|
62 |
+
def check_dist_restriction(options: Values, check_target: bool = False) -> None:
|
63 |
+
"""Function for determining if custom platform options are allowed.
|
64 |
+
|
65 |
+
:param options: The OptionParser options.
|
66 |
+
:param check_target: Whether or not to check if --target is being used.
|
67 |
+
"""
|
68 |
+
dist_restriction_set = any(
|
69 |
+
[
|
70 |
+
options.python_version,
|
71 |
+
options.platforms,
|
72 |
+
options.abis,
|
73 |
+
options.implementation,
|
74 |
+
]
|
75 |
+
)
|
76 |
+
|
77 |
+
binary_only = FormatControl(set(), {":all:"})
|
78 |
+
sdist_dependencies_allowed = (
|
79 |
+
options.format_control != binary_only and not options.ignore_dependencies
|
80 |
+
)
|
81 |
+
|
82 |
+
# Installations or downloads using dist restrictions must not combine
|
83 |
+
# source distributions and dist-specific wheels, as they are not
|
84 |
+
# guaranteed to be locally compatible.
|
85 |
+
if dist_restriction_set and sdist_dependencies_allowed:
|
86 |
+
raise CommandError(
|
87 |
+
"When restricting platform and interpreter constraints using "
|
88 |
+
"--python-version, --platform, --abi, or --implementation, "
|
89 |
+
"either --no-deps must be set, or --only-binary=:all: must be "
|
90 |
+
"set and --no-binary must not be set (or must be set to "
|
91 |
+
":none:)."
|
92 |
+
)
|
93 |
+
|
94 |
+
if check_target:
|
95 |
+
if not options.dry_run and dist_restriction_set and not options.target_dir:
|
96 |
+
raise CommandError(
|
97 |
+
"Can not use any platform or abi specific options unless "
|
98 |
+
"installing via '--target' or using '--dry-run'"
|
99 |
+
)
|
100 |
+
|
101 |
+
|
102 |
+
def _path_option_check(option: Option, opt: str, value: str) -> str:
|
103 |
+
return os.path.expanduser(value)
|
104 |
+
|
105 |
+
|
106 |
+
def _package_name_option_check(option: Option, opt: str, value: str) -> str:
|
107 |
+
return canonicalize_name(value)
|
108 |
+
|
109 |
+
|
110 |
+
class PipOption(Option):
|
111 |
+
TYPES = Option.TYPES + ("path", "package_name")
|
112 |
+
TYPE_CHECKER = Option.TYPE_CHECKER.copy()
|
113 |
+
TYPE_CHECKER["package_name"] = _package_name_option_check
|
114 |
+
TYPE_CHECKER["path"] = _path_option_check
|
115 |
+
|
116 |
+
|
117 |
+
###########
|
118 |
+
# options #
|
119 |
+
###########
|
120 |
+
|
121 |
+
help_: Callable[..., Option] = partial(
|
122 |
+
Option,
|
123 |
+
"-h",
|
124 |
+
"--help",
|
125 |
+
dest="help",
|
126 |
+
action="help",
|
127 |
+
help="Show help.",
|
128 |
+
)
|
129 |
+
|
130 |
+
debug_mode: Callable[..., Option] = partial(
|
131 |
+
Option,
|
132 |
+
"--debug",
|
133 |
+
dest="debug_mode",
|
134 |
+
action="store_true",
|
135 |
+
default=False,
|
136 |
+
help=(
|
137 |
+
"Let unhandled exceptions propagate outside the main subroutine, "
|
138 |
+
"instead of logging them to stderr."
|
139 |
+
),
|
140 |
+
)
|
141 |
+
|
142 |
+
isolated_mode: Callable[..., Option] = partial(
|
143 |
+
Option,
|
144 |
+
"--isolated",
|
145 |
+
dest="isolated_mode",
|
146 |
+
action="store_true",
|
147 |
+
default=False,
|
148 |
+
help=(
|
149 |
+
"Run pip in an isolated mode, ignoring environment variables and user "
|
150 |
+
"configuration."
|
151 |
+
),
|
152 |
+
)
|
153 |
+
|
154 |
+
require_virtualenv: Callable[..., Option] = partial(
|
155 |
+
Option,
|
156 |
+
"--require-virtualenv",
|
157 |
+
"--require-venv",
|
158 |
+
dest="require_venv",
|
159 |
+
action="store_true",
|
160 |
+
default=False,
|
161 |
+
help=(
|
162 |
+
"Allow pip to only run in a virtual environment; "
|
163 |
+
"exit with an error otherwise."
|
164 |
+
),
|
165 |
+
)
|
166 |
+
|
167 |
+
override_externally_managed: Callable[..., Option] = partial(
|
168 |
+
Option,
|
169 |
+
"--break-system-packages",
|
170 |
+
dest="override_externally_managed",
|
171 |
+
action="store_true",
|
172 |
+
help="Allow pip to modify an EXTERNALLY-MANAGED Python installation",
|
173 |
+
)
|
174 |
+
|
175 |
+
python: Callable[..., Option] = partial(
|
176 |
+
Option,
|
177 |
+
"--python",
|
178 |
+
dest="python",
|
179 |
+
help="Run pip with the specified Python interpreter.",
|
180 |
+
)
|
181 |
+
|
182 |
+
verbose: Callable[..., Option] = partial(
|
183 |
+
Option,
|
184 |
+
"-v",
|
185 |
+
"--verbose",
|
186 |
+
dest="verbose",
|
187 |
+
action="count",
|
188 |
+
default=0,
|
189 |
+
help="Give more output. Option is additive, and can be used up to 3 times.",
|
190 |
+
)
|
191 |
+
|
192 |
+
no_color: Callable[..., Option] = partial(
|
193 |
+
Option,
|
194 |
+
"--no-color",
|
195 |
+
dest="no_color",
|
196 |
+
action="store_true",
|
197 |
+
default=False,
|
198 |
+
help="Suppress colored output.",
|
199 |
+
)
|
200 |
+
|
201 |
+
version: Callable[..., Option] = partial(
|
202 |
+
Option,
|
203 |
+
"-V",
|
204 |
+
"--version",
|
205 |
+
dest="version",
|
206 |
+
action="store_true",
|
207 |
+
help="Show version and exit.",
|
208 |
+
)
|
209 |
+
|
210 |
+
quiet: Callable[..., Option] = partial(
|
211 |
+
Option,
|
212 |
+
"-q",
|
213 |
+
"--quiet",
|
214 |
+
dest="quiet",
|
215 |
+
action="count",
|
216 |
+
default=0,
|
217 |
+
help=(
|
218 |
+
"Give less output. Option is additive, and can be used up to 3"
|
219 |
+
" times (corresponding to WARNING, ERROR, and CRITICAL logging"
|
220 |
+
" levels)."
|
221 |
+
),
|
222 |
+
)
|
223 |
+
|
224 |
+
progress_bar: Callable[..., Option] = partial(
|
225 |
+
Option,
|
226 |
+
"--progress-bar",
|
227 |
+
dest="progress_bar",
|
228 |
+
type="choice",
|
229 |
+
choices=["on", "off", "raw"],
|
230 |
+
default="on",
|
231 |
+
help="Specify whether the progress bar should be used [on, off, raw] (default: on)",
|
232 |
+
)
|
233 |
+
|
234 |
+
log: Callable[..., Option] = partial(
|
235 |
+
PipOption,
|
236 |
+
"--log",
|
237 |
+
"--log-file",
|
238 |
+
"--local-log",
|
239 |
+
dest="log",
|
240 |
+
metavar="path",
|
241 |
+
type="path",
|
242 |
+
help="Path to a verbose appending log.",
|
243 |
+
)
|
244 |
+
|
245 |
+
no_input: Callable[..., Option] = partial(
|
246 |
+
Option,
|
247 |
+
# Don't ask for input
|
248 |
+
"--no-input",
|
249 |
+
dest="no_input",
|
250 |
+
action="store_true",
|
251 |
+
default=False,
|
252 |
+
help="Disable prompting for input.",
|
253 |
+
)
|
254 |
+
|
255 |
+
keyring_provider: Callable[..., Option] = partial(
|
256 |
+
Option,
|
257 |
+
"--keyring-provider",
|
258 |
+
dest="keyring_provider",
|
259 |
+
choices=["auto", "disabled", "import", "subprocess"],
|
260 |
+
default="auto",
|
261 |
+
help=(
|
262 |
+
"Enable the credential lookup via the keyring library if user input is allowed."
|
263 |
+
" Specify which mechanism to use [disabled, import, subprocess]."
|
264 |
+
" (default: disabled)"
|
265 |
+
),
|
266 |
+
)
|
267 |
+
|
268 |
+
proxy: Callable[..., Option] = partial(
|
269 |
+
Option,
|
270 |
+
"--proxy",
|
271 |
+
dest="proxy",
|
272 |
+
type="str",
|
273 |
+
default="",
|
274 |
+
help="Specify a proxy in the form scheme://[user:passwd@]proxy.server:port.",
|
275 |
+
)
|
276 |
+
|
277 |
+
retries: Callable[..., Option] = partial(
|
278 |
+
Option,
|
279 |
+
"--retries",
|
280 |
+
dest="retries",
|
281 |
+
type="int",
|
282 |
+
default=5,
|
283 |
+
help="Maximum number of retries each connection should attempt "
|
284 |
+
"(default %default times).",
|
285 |
+
)
|
286 |
+
|
287 |
+
timeout: Callable[..., Option] = partial(
|
288 |
+
Option,
|
289 |
+
"--timeout",
|
290 |
+
"--default-timeout",
|
291 |
+
metavar="sec",
|
292 |
+
dest="timeout",
|
293 |
+
type="float",
|
294 |
+
default=15,
|
295 |
+
help="Set the socket timeout (default %default seconds).",
|
296 |
+
)
|
297 |
+
|
298 |
+
|
299 |
+
def exists_action() -> Option:
|
300 |
+
return Option(
|
301 |
+
# Option when path already exist
|
302 |
+
"--exists-action",
|
303 |
+
dest="exists_action",
|
304 |
+
type="choice",
|
305 |
+
choices=["s", "i", "w", "b", "a"],
|
306 |
+
default=[],
|
307 |
+
action="append",
|
308 |
+
metavar="action",
|
309 |
+
help="Default action when a path already exists: "
|
310 |
+
"(s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.",
|
311 |
+
)
|
312 |
+
|
313 |
+
|
314 |
+
cert: Callable[..., Option] = partial(
|
315 |
+
PipOption,
|
316 |
+
"--cert",
|
317 |
+
dest="cert",
|
318 |
+
type="path",
|
319 |
+
metavar="path",
|
320 |
+
help=(
|
321 |
+
"Path to PEM-encoded CA certificate bundle. "
|
322 |
+
"If provided, overrides the default. "
|
323 |
+
"See 'SSL Certificate Verification' in pip documentation "
|
324 |
+
"for more information."
|
325 |
+
),
|
326 |
+
)
|
327 |
+
|
328 |
+
client_cert: Callable[..., Option] = partial(
|
329 |
+
PipOption,
|
330 |
+
"--client-cert",
|
331 |
+
dest="client_cert",
|
332 |
+
type="path",
|
333 |
+
default=None,
|
334 |
+
metavar="path",
|
335 |
+
help="Path to SSL client certificate, a single file containing the "
|
336 |
+
"private key and the certificate in PEM format.",
|
337 |
+
)
|
338 |
+
|
339 |
+
index_url: Callable[..., Option] = partial(
|
340 |
+
Option,
|
341 |
+
"-i",
|
342 |
+
"--index-url",
|
343 |
+
"--pypi-url",
|
344 |
+
dest="index_url",
|
345 |
+
metavar="URL",
|
346 |
+
default=PyPI.simple_url,
|
347 |
+
help="Base URL of the Python Package Index (default %default). "
|
348 |
+
"This should point to a repository compliant with PEP 503 "
|
349 |
+
"(the simple repository API) or a local directory laid out "
|
350 |
+
"in the same format.",
|
351 |
+
)
|
352 |
+
|
353 |
+
|
354 |
+
def extra_index_url() -> Option:
|
355 |
+
return Option(
|
356 |
+
"--extra-index-url",
|
357 |
+
dest="extra_index_urls",
|
358 |
+
metavar="URL",
|
359 |
+
action="append",
|
360 |
+
default=[],
|
361 |
+
help="Extra URLs of package indexes to use in addition to "
|
362 |
+
"--index-url. Should follow the same rules as "
|
363 |
+
"--index-url.",
|
364 |
+
)
|
365 |
+
|
366 |
+
|
367 |
+
no_index: Callable[..., Option] = partial(
|
368 |
+
Option,
|
369 |
+
"--no-index",
|
370 |
+
dest="no_index",
|
371 |
+
action="store_true",
|
372 |
+
default=False,
|
373 |
+
help="Ignore package index (only looking at --find-links URLs instead).",
|
374 |
+
)
|
375 |
+
|
376 |
+
|
377 |
+
def find_links() -> Option:
|
378 |
+
return Option(
|
379 |
+
"-f",
|
380 |
+
"--find-links",
|
381 |
+
dest="find_links",
|
382 |
+
action="append",
|
383 |
+
default=[],
|
384 |
+
metavar="url",
|
385 |
+
help="If a URL or path to an html file, then parse for links to "
|
386 |
+
"archives such as sdist (.tar.gz) or wheel (.whl) files. "
|
387 |
+
"If a local path or file:// URL that's a directory, "
|
388 |
+
"then look for archives in the directory listing. "
|
389 |
+
"Links to VCS project URLs are not supported.",
|
390 |
+
)
|
391 |
+
|
392 |
+
|
393 |
+
def trusted_host() -> Option:
|
394 |
+
return Option(
|
395 |
+
"--trusted-host",
|
396 |
+
dest="trusted_hosts",
|
397 |
+
action="append",
|
398 |
+
metavar="HOSTNAME",
|
399 |
+
default=[],
|
400 |
+
help="Mark this host or host:port pair as trusted, even though it "
|
401 |
+
"does not have valid or any HTTPS.",
|
402 |
+
)
|
403 |
+
|
404 |
+
|
405 |
+
def constraints() -> Option:
|
406 |
+
return Option(
|
407 |
+
"-c",
|
408 |
+
"--constraint",
|
409 |
+
dest="constraints",
|
410 |
+
action="append",
|
411 |
+
default=[],
|
412 |
+
metavar="file",
|
413 |
+
help="Constrain versions using the given constraints file. "
|
414 |
+
"This option can be used multiple times.",
|
415 |
+
)
|
416 |
+
|
417 |
+
|
418 |
+
def requirements() -> Option:
|
419 |
+
return Option(
|
420 |
+
"-r",
|
421 |
+
"--requirement",
|
422 |
+
dest="requirements",
|
423 |
+
action="append",
|
424 |
+
default=[],
|
425 |
+
metavar="file",
|
426 |
+
help="Install from the given requirements file. "
|
427 |
+
"This option can be used multiple times.",
|
428 |
+
)
|
429 |
+
|
430 |
+
|
431 |
+
def editable() -> Option:
|
432 |
+
return Option(
|
433 |
+
"-e",
|
434 |
+
"--editable",
|
435 |
+
dest="editables",
|
436 |
+
action="append",
|
437 |
+
default=[],
|
438 |
+
metavar="path/url",
|
439 |
+
help=(
|
440 |
+
"Install a project in editable mode (i.e. setuptools "
|
441 |
+
'"develop mode") from a local project path or a VCS url.'
|
442 |
+
),
|
443 |
+
)
|
444 |
+
|
445 |
+
|
446 |
+
def _handle_src(option: Option, opt_str: str, value: str, parser: OptionParser) -> None:
|
447 |
+
value = os.path.abspath(value)
|
448 |
+
setattr(parser.values, option.dest, value)
|
449 |
+
|
450 |
+
|
451 |
+
src: Callable[..., Option] = partial(
|
452 |
+
PipOption,
|
453 |
+
"--src",
|
454 |
+
"--source",
|
455 |
+
"--source-dir",
|
456 |
+
"--source-directory",
|
457 |
+
dest="src_dir",
|
458 |
+
type="path",
|
459 |
+
metavar="dir",
|
460 |
+
default=get_src_prefix(),
|
461 |
+
action="callback",
|
462 |
+
callback=_handle_src,
|
463 |
+
help="Directory to check out editable projects into. "
|
464 |
+
'The default in a virtualenv is "<venv path>/src". '
|
465 |
+
'The default for global installs is "<current dir>/src".',
|
466 |
+
)
|
467 |
+
|
468 |
+
|
469 |
+
def _get_format_control(values: Values, option: Option) -> Any:
|
470 |
+
"""Get a format_control object."""
|
471 |
+
return getattr(values, option.dest)
|
472 |
+
|
473 |
+
|
474 |
+
def _handle_no_binary(
|
475 |
+
option: Option, opt_str: str, value: str, parser: OptionParser
|
476 |
+
) -> None:
|
477 |
+
existing = _get_format_control(parser.values, option)
|
478 |
+
FormatControl.handle_mutual_excludes(
|
479 |
+
value,
|
480 |
+
existing.no_binary,
|
481 |
+
existing.only_binary,
|
482 |
+
)
|
483 |
+
|
484 |
+
|
485 |
+
def _handle_only_binary(
|
486 |
+
option: Option, opt_str: str, value: str, parser: OptionParser
|
487 |
+
) -> None:
|
488 |
+
existing = _get_format_control(parser.values, option)
|
489 |
+
FormatControl.handle_mutual_excludes(
|
490 |
+
value,
|
491 |
+
existing.only_binary,
|
492 |
+
existing.no_binary,
|
493 |
+
)
|
494 |
+
|
495 |
+
|
496 |
+
def no_binary() -> Option:
|
497 |
+
format_control = FormatControl(set(), set())
|
498 |
+
return Option(
|
499 |
+
"--no-binary",
|
500 |
+
dest="format_control",
|
501 |
+
action="callback",
|
502 |
+
callback=_handle_no_binary,
|
503 |
+
type="str",
|
504 |
+
default=format_control,
|
505 |
+
help="Do not use binary packages. Can be supplied multiple times, and "
|
506 |
+
'each time adds to the existing value. Accepts either ":all:" to '
|
507 |
+
'disable all binary packages, ":none:" to empty the set (notice '
|
508 |
+
"the colons), or one or more package names with commas between "
|
509 |
+
"them (no colons). Note that some packages are tricky to compile "
|
510 |
+
"and may fail to install when this option is used on them.",
|
511 |
+
)
|
512 |
+
|
513 |
+
|
514 |
+
def only_binary() -> Option:
|
515 |
+
format_control = FormatControl(set(), set())
|
516 |
+
return Option(
|
517 |
+
"--only-binary",
|
518 |
+
dest="format_control",
|
519 |
+
action="callback",
|
520 |
+
callback=_handle_only_binary,
|
521 |
+
type="str",
|
522 |
+
default=format_control,
|
523 |
+
help="Do not use source packages. Can be supplied multiple times, and "
|
524 |
+
'each time adds to the existing value. Accepts either ":all:" to '
|
525 |
+
'disable all source packages, ":none:" to empty the set, or one '
|
526 |
+
"or more package names with commas between them. Packages "
|
527 |
+
"without binary distributions will fail to install when this "
|
528 |
+
"option is used on them.",
|
529 |
+
)
|
530 |
+
|
531 |
+
|
532 |
+
platforms: Callable[..., Option] = partial(
|
533 |
+
Option,
|
534 |
+
"--platform",
|
535 |
+
dest="platforms",
|
536 |
+
metavar="platform",
|
537 |
+
action="append",
|
538 |
+
default=None,
|
539 |
+
help=(
|
540 |
+
"Only use wheels compatible with <platform>. Defaults to the "
|
541 |
+
"platform of the running system. Use this option multiple times to "
|
542 |
+
"specify multiple platforms supported by the target interpreter."
|
543 |
+
),
|
544 |
+
)
|
545 |
+
|
546 |
+
|
547 |
+
# This was made a separate function for unit-testing purposes.
|
548 |
+
def _convert_python_version(value: str) -> Tuple[Tuple[int, ...], Optional[str]]:
|
549 |
+
"""
|
550 |
+
Convert a version string like "3", "37", or "3.7.3" into a tuple of ints.
|
551 |
+
|
552 |
+
:return: A 2-tuple (version_info, error_msg), where `error_msg` is
|
553 |
+
non-None if and only if there was a parsing error.
|
554 |
+
"""
|
555 |
+
if not value:
|
556 |
+
# The empty string is the same as not providing a value.
|
557 |
+
return (None, None)
|
558 |
+
|
559 |
+
parts = value.split(".")
|
560 |
+
if len(parts) > 3:
|
561 |
+
return ((), "at most three version parts are allowed")
|
562 |
+
|
563 |
+
if len(parts) == 1:
|
564 |
+
# Then we are in the case of "3" or "37".
|
565 |
+
value = parts[0]
|
566 |
+
if len(value) > 1:
|
567 |
+
parts = [value[0], value[1:]]
|
568 |
+
|
569 |
+
try:
|
570 |
+
version_info = tuple(int(part) for part in parts)
|
571 |
+
except ValueError:
|
572 |
+
return ((), "each version part must be an integer")
|
573 |
+
|
574 |
+
return (version_info, None)
|
575 |
+
|
576 |
+
|
577 |
+
def _handle_python_version(
|
578 |
+
option: Option, opt_str: str, value: str, parser: OptionParser
|
579 |
+
) -> None:
|
580 |
+
"""
|
581 |
+
Handle a provided --python-version value.
|
582 |
+
"""
|
583 |
+
version_info, error_msg = _convert_python_version(value)
|
584 |
+
if error_msg is not None:
|
585 |
+
msg = f"invalid --python-version value: {value!r}: {error_msg}"
|
586 |
+
raise_option_error(parser, option=option, msg=msg)
|
587 |
+
|
588 |
+
parser.values.python_version = version_info
|
589 |
+
|
590 |
+
|
591 |
+
python_version: Callable[..., Option] = partial(
|
592 |
+
Option,
|
593 |
+
"--python-version",
|
594 |
+
dest="python_version",
|
595 |
+
metavar="python_version",
|
596 |
+
action="callback",
|
597 |
+
callback=_handle_python_version,
|
598 |
+
type="str",
|
599 |
+
default=None,
|
600 |
+
help=dedent(
|
601 |
+
"""\
|
602 |
+
The Python interpreter version to use for wheel and "Requires-Python"
|
603 |
+
compatibility checks. Defaults to a version derived from the running
|
604 |
+
interpreter. The version can be specified using up to three dot-separated
|
605 |
+
integers (e.g. "3" for 3.0.0, "3.7" for 3.7.0, or "3.7.3"). A major-minor
|
606 |
+
version can also be given as a string without dots (e.g. "37" for 3.7.0).
|
607 |
+
"""
|
608 |
+
),
|
609 |
+
)
|
610 |
+
|
611 |
+
|
612 |
+
implementation: Callable[..., Option] = partial(
|
613 |
+
Option,
|
614 |
+
"--implementation",
|
615 |
+
dest="implementation",
|
616 |
+
metavar="implementation",
|
617 |
+
default=None,
|
618 |
+
help=(
|
619 |
+
"Only use wheels compatible with Python "
|
620 |
+
"implementation <implementation>, e.g. 'pp', 'jy', 'cp', "
|
621 |
+
" or 'ip'. If not specified, then the current "
|
622 |
+
"interpreter implementation is used. Use 'py' to force "
|
623 |
+
"implementation-agnostic wheels."
|
624 |
+
),
|
625 |
+
)
|
626 |
+
|
627 |
+
|
628 |
+
abis: Callable[..., Option] = partial(
|
629 |
+
Option,
|
630 |
+
"--abi",
|
631 |
+
dest="abis",
|
632 |
+
metavar="abi",
|
633 |
+
action="append",
|
634 |
+
default=None,
|
635 |
+
help=(
|
636 |
+
"Only use wheels compatible with Python abi <abi>, e.g. 'pypy_41'. "
|
637 |
+
"If not specified, then the current interpreter abi tag is used. "
|
638 |
+
"Use this option multiple times to specify multiple abis supported "
|
639 |
+
"by the target interpreter. Generally you will need to specify "
|
640 |
+
"--implementation, --platform, and --python-version when using this "
|
641 |
+
"option."
|
642 |
+
),
|
643 |
+
)
|
644 |
+
|
645 |
+
|
646 |
+
def add_target_python_options(cmd_opts: OptionGroup) -> None:
|
647 |
+
cmd_opts.add_option(platforms())
|
648 |
+
cmd_opts.add_option(python_version())
|
649 |
+
cmd_opts.add_option(implementation())
|
650 |
+
cmd_opts.add_option(abis())
|
651 |
+
|
652 |
+
|
653 |
+
def make_target_python(options: Values) -> TargetPython:
|
654 |
+
target_python = TargetPython(
|
655 |
+
platforms=options.platforms,
|
656 |
+
py_version_info=options.python_version,
|
657 |
+
abis=options.abis,
|
658 |
+
implementation=options.implementation,
|
659 |
+
)
|
660 |
+
|
661 |
+
return target_python
|
662 |
+
|
663 |
+
|
664 |
+
def prefer_binary() -> Option:
|
665 |
+
return Option(
|
666 |
+
"--prefer-binary",
|
667 |
+
dest="prefer_binary",
|
668 |
+
action="store_true",
|
669 |
+
default=False,
|
670 |
+
help=(
|
671 |
+
"Prefer binary packages over source packages, even if the "
|
672 |
+
"source packages are newer."
|
673 |
+
),
|
674 |
+
)
|
675 |
+
|
676 |
+
|
677 |
+
cache_dir: Callable[..., Option] = partial(
|
678 |
+
PipOption,
|
679 |
+
"--cache-dir",
|
680 |
+
dest="cache_dir",
|
681 |
+
default=USER_CACHE_DIR,
|
682 |
+
metavar="dir",
|
683 |
+
type="path",
|
684 |
+
help="Store the cache data in <dir>.",
|
685 |
+
)
|
686 |
+
|
687 |
+
|
688 |
+
def _handle_no_cache_dir(
|
689 |
+
option: Option, opt: str, value: str, parser: OptionParser
|
690 |
+
) -> None:
|
691 |
+
"""
|
692 |
+
Process a value provided for the --no-cache-dir option.
|
693 |
+
|
694 |
+
This is an optparse.Option callback for the --no-cache-dir option.
|
695 |
+
"""
|
696 |
+
# The value argument will be None if --no-cache-dir is passed via the
|
697 |
+
# command-line, since the option doesn't accept arguments. However,
|
698 |
+
# the value can be non-None if the option is triggered e.g. by an
|
699 |
+
# environment variable, like PIP_NO_CACHE_DIR=true.
|
700 |
+
if value is not None:
|
701 |
+
# Then parse the string value to get argument error-checking.
|
702 |
+
try:
|
703 |
+
strtobool(value)
|
704 |
+
except ValueError as exc:
|
705 |
+
raise_option_error(parser, option=option, msg=str(exc))
|
706 |
+
|
707 |
+
# Originally, setting PIP_NO_CACHE_DIR to a value that strtobool()
|
708 |
+
# converted to 0 (like "false" or "no") caused cache_dir to be disabled
|
709 |
+
# rather than enabled (logic would say the latter). Thus, we disable
|
710 |
+
# the cache directory not just on values that parse to True, but (for
|
711 |
+
# backwards compatibility reasons) also on values that parse to False.
|
712 |
+
# In other words, always set it to False if the option is provided in
|
713 |
+
# some (valid) form.
|
714 |
+
parser.values.cache_dir = False
|
715 |
+
|
716 |
+
|
717 |
+
no_cache: Callable[..., Option] = partial(
|
718 |
+
Option,
|
719 |
+
"--no-cache-dir",
|
720 |
+
dest="cache_dir",
|
721 |
+
action="callback",
|
722 |
+
callback=_handle_no_cache_dir,
|
723 |
+
help="Disable the cache.",
|
724 |
+
)
|
725 |
+
|
726 |
+
no_deps: Callable[..., Option] = partial(
|
727 |
+
Option,
|
728 |
+
"--no-deps",
|
729 |
+
"--no-dependencies",
|
730 |
+
dest="ignore_dependencies",
|
731 |
+
action="store_true",
|
732 |
+
default=False,
|
733 |
+
help="Don't install package dependencies.",
|
734 |
+
)
|
735 |
+
|
736 |
+
ignore_requires_python: Callable[..., Option] = partial(
|
737 |
+
Option,
|
738 |
+
"--ignore-requires-python",
|
739 |
+
dest="ignore_requires_python",
|
740 |
+
action="store_true",
|
741 |
+
help="Ignore the Requires-Python information.",
|
742 |
+
)
|
743 |
+
|
744 |
+
no_build_isolation: Callable[..., Option] = partial(
|
745 |
+
Option,
|
746 |
+
"--no-build-isolation",
|
747 |
+
dest="build_isolation",
|
748 |
+
action="store_false",
|
749 |
+
default=True,
|
750 |
+
help="Disable isolation when building a modern source distribution. "
|
751 |
+
"Build dependencies specified by PEP 518 must be already installed "
|
752 |
+
"if this option is used.",
|
753 |
+
)
|
754 |
+
|
755 |
+
check_build_deps: Callable[..., Option] = partial(
|
756 |
+
Option,
|
757 |
+
"--check-build-dependencies",
|
758 |
+
dest="check_build_deps",
|
759 |
+
action="store_true",
|
760 |
+
default=False,
|
761 |
+
help="Check the build dependencies when PEP517 is used.",
|
762 |
+
)
|
763 |
+
|
764 |
+
|
765 |
+
def _handle_no_use_pep517(
|
766 |
+
option: Option, opt: str, value: str, parser: OptionParser
|
767 |
+
) -> None:
|
768 |
+
"""
|
769 |
+
Process a value provided for the --no-use-pep517 option.
|
770 |
+
|
771 |
+
This is an optparse.Option callback for the no_use_pep517 option.
|
772 |
+
"""
|
773 |
+
# Since --no-use-pep517 doesn't accept arguments, the value argument
|
774 |
+
# will be None if --no-use-pep517 is passed via the command-line.
|
775 |
+
# However, the value can be non-None if the option is triggered e.g.
|
776 |
+
# by an environment variable, for example "PIP_NO_USE_PEP517=true".
|
777 |
+
if value is not None:
|
778 |
+
msg = """A value was passed for --no-use-pep517,
|
779 |
+
probably using either the PIP_NO_USE_PEP517 environment variable
|
780 |
+
or the "no-use-pep517" config file option. Use an appropriate value
|
781 |
+
of the PIP_USE_PEP517 environment variable or the "use-pep517"
|
782 |
+
config file option instead.
|
783 |
+
"""
|
784 |
+
raise_option_error(parser, option=option, msg=msg)
|
785 |
+
|
786 |
+
# If user doesn't wish to use pep517, we check if setuptools and wheel are installed
|
787 |
+
# and raise error if it is not.
|
788 |
+
packages = ("setuptools", "wheel")
|
789 |
+
if not all(importlib.util.find_spec(package) for package in packages):
|
790 |
+
msg = (
|
791 |
+
f"It is not possible to use --no-use-pep517 "
|
792 |
+
f"without {' and '.join(packages)} installed."
|
793 |
+
)
|
794 |
+
raise_option_error(parser, option=option, msg=msg)
|
795 |
+
|
796 |
+
# Otherwise, --no-use-pep517 was passed via the command-line.
|
797 |
+
parser.values.use_pep517 = False
|
798 |
+
|
799 |
+
|
800 |
+
use_pep517: Any = partial(
|
801 |
+
Option,
|
802 |
+
"--use-pep517",
|
803 |
+
dest="use_pep517",
|
804 |
+
action="store_true",
|
805 |
+
default=None,
|
806 |
+
help="Use PEP 517 for building source distributions "
|
807 |
+
"(use --no-use-pep517 to force legacy behaviour).",
|
808 |
+
)
|
809 |
+
|
810 |
+
no_use_pep517: Any = partial(
|
811 |
+
Option,
|
812 |
+
"--no-use-pep517",
|
813 |
+
dest="use_pep517",
|
814 |
+
action="callback",
|
815 |
+
callback=_handle_no_use_pep517,
|
816 |
+
default=None,
|
817 |
+
help=SUPPRESS_HELP,
|
818 |
+
)
|
819 |
+
|
820 |
+
|
821 |
+
def _handle_config_settings(
|
822 |
+
option: Option, opt_str: str, value: str, parser: OptionParser
|
823 |
+
) -> None:
|
824 |
+
key, sep, val = value.partition("=")
|
825 |
+
if sep != "=":
|
826 |
+
parser.error(f"Arguments to {opt_str} must be of the form KEY=VAL")
|
827 |
+
dest = getattr(parser.values, option.dest)
|
828 |
+
if dest is None:
|
829 |
+
dest = {}
|
830 |
+
setattr(parser.values, option.dest, dest)
|
831 |
+
if key in dest:
|
832 |
+
if isinstance(dest[key], list):
|
833 |
+
dest[key].append(val)
|
834 |
+
else:
|
835 |
+
dest[key] = [dest[key], val]
|
836 |
+
else:
|
837 |
+
dest[key] = val
|
838 |
+
|
839 |
+
|
840 |
+
config_settings: Callable[..., Option] = partial(
|
841 |
+
Option,
|
842 |
+
"-C",
|
843 |
+
"--config-settings",
|
844 |
+
dest="config_settings",
|
845 |
+
type=str,
|
846 |
+
action="callback",
|
847 |
+
callback=_handle_config_settings,
|
848 |
+
metavar="settings",
|
849 |
+
help="Configuration settings to be passed to the PEP 517 build backend. "
|
850 |
+
"Settings take the form KEY=VALUE. Use multiple --config-settings options "
|
851 |
+
"to pass multiple keys to the backend.",
|
852 |
+
)
|
853 |
+
|
854 |
+
build_options: Callable[..., Option] = partial(
|
855 |
+
Option,
|
856 |
+
"--build-option",
|
857 |
+
dest="build_options",
|
858 |
+
metavar="options",
|
859 |
+
action="append",
|
860 |
+
help="Extra arguments to be supplied to 'setup.py bdist_wheel'.",
|
861 |
+
)
|
862 |
+
|
863 |
+
global_options: Callable[..., Option] = partial(
|
864 |
+
Option,
|
865 |
+
"--global-option",
|
866 |
+
dest="global_options",
|
867 |
+
action="append",
|
868 |
+
metavar="options",
|
869 |
+
help="Extra global options to be supplied to the setup.py "
|
870 |
+
"call before the install or bdist_wheel command.",
|
871 |
+
)
|
872 |
+
|
873 |
+
no_clean: Callable[..., Option] = partial(
|
874 |
+
Option,
|
875 |
+
"--no-clean",
|
876 |
+
action="store_true",
|
877 |
+
default=False,
|
878 |
+
help="Don't clean up build directories.",
|
879 |
+
)
|
880 |
+
|
881 |
+
pre: Callable[..., Option] = partial(
|
882 |
+
Option,
|
883 |
+
"--pre",
|
884 |
+
action="store_true",
|
885 |
+
default=False,
|
886 |
+
help="Include pre-release and development versions. By default, "
|
887 |
+
"pip only finds stable versions.",
|
888 |
+
)
|
889 |
+
|
890 |
+
disable_pip_version_check: Callable[..., Option] = partial(
|
891 |
+
Option,
|
892 |
+
"--disable-pip-version-check",
|
893 |
+
dest="disable_pip_version_check",
|
894 |
+
action="store_true",
|
895 |
+
default=False,
|
896 |
+
help="Don't periodically check PyPI to determine whether a new version "
|
897 |
+
"of pip is available for download. Implied with --no-index.",
|
898 |
+
)
|
899 |
+
|
900 |
+
root_user_action: Callable[..., Option] = partial(
|
901 |
+
Option,
|
902 |
+
"--root-user-action",
|
903 |
+
dest="root_user_action",
|
904 |
+
default="warn",
|
905 |
+
choices=["warn", "ignore"],
|
906 |
+
help="Action if pip is run as a root user [warn, ignore] (default: warn)",
|
907 |
+
)
|
908 |
+
|
909 |
+
|
910 |
+
def _handle_merge_hash(
|
911 |
+
option: Option, opt_str: str, value: str, parser: OptionParser
|
912 |
+
) -> None:
|
913 |
+
"""Given a value spelled "algo:digest", append the digest to a list
|
914 |
+
pointed to in a dict by the algo name."""
|
915 |
+
if not parser.values.hashes:
|
916 |
+
parser.values.hashes = {}
|
917 |
+
try:
|
918 |
+
algo, digest = value.split(":", 1)
|
919 |
+
except ValueError:
|
920 |
+
parser.error(
|
921 |
+
f"Arguments to {opt_str} must be a hash name "
|
922 |
+
"followed by a value, like --hash=sha256:"
|
923 |
+
"abcde..."
|
924 |
+
)
|
925 |
+
if algo not in STRONG_HASHES:
|
926 |
+
parser.error(
|
927 |
+
"Allowed hash algorithms for {} are {}.".format(
|
928 |
+
opt_str, ", ".join(STRONG_HASHES)
|
929 |
+
)
|
930 |
+
)
|
931 |
+
parser.values.hashes.setdefault(algo, []).append(digest)
|
932 |
+
|
933 |
+
|
934 |
+
hash: Callable[..., Option] = partial(
|
935 |
+
Option,
|
936 |
+
"--hash",
|
937 |
+
# Hash values eventually end up in InstallRequirement.hashes due to
|
938 |
+
# __dict__ copying in process_line().
|
939 |
+
dest="hashes",
|
940 |
+
action="callback",
|
941 |
+
callback=_handle_merge_hash,
|
942 |
+
type="string",
|
943 |
+
help="Verify that the package's archive matches this "
|
944 |
+
"hash before installing. Example: --hash=sha256:abcdef...",
|
945 |
+
)
|
946 |
+
|
947 |
+
|
948 |
+
require_hashes: Callable[..., Option] = partial(
|
949 |
+
Option,
|
950 |
+
"--require-hashes",
|
951 |
+
dest="require_hashes",
|
952 |
+
action="store_true",
|
953 |
+
default=False,
|
954 |
+
help="Require a hash to check each requirement against, for "
|
955 |
+
"repeatable installs. This option is implied when any package in a "
|
956 |
+
"requirements file has a --hash option.",
|
957 |
+
)
|
958 |
+
|
959 |
+
|
960 |
+
list_path: Callable[..., Option] = partial(
|
961 |
+
PipOption,
|
962 |
+
"--path",
|
963 |
+
dest="path",
|
964 |
+
type="path",
|
965 |
+
action="append",
|
966 |
+
help="Restrict to the specified installation path for listing "
|
967 |
+
"packages (can be used multiple times).",
|
968 |
+
)
|
969 |
+
|
970 |
+
|
971 |
+
def check_list_path_option(options: Values) -> None:
|
972 |
+
if options.path and (options.user or options.local):
|
973 |
+
raise CommandError("Cannot combine '--path' with '--user' or '--local'")
|
974 |
+
|
975 |
+
|
976 |
+
list_exclude: Callable[..., Option] = partial(
|
977 |
+
PipOption,
|
978 |
+
"--exclude",
|
979 |
+
dest="excludes",
|
980 |
+
action="append",
|
981 |
+
metavar="package",
|
982 |
+
type="package_name",
|
983 |
+
help="Exclude specified package from the output",
|
984 |
+
)
|
985 |
+
|
986 |
+
|
987 |
+
no_python_version_warning: Callable[..., Option] = partial(
|
988 |
+
Option,
|
989 |
+
"--no-python-version-warning",
|
990 |
+
dest="no_python_version_warning",
|
991 |
+
action="store_true",
|
992 |
+
default=False,
|
993 |
+
help="Silence deprecation warnings for upcoming unsupported Pythons.",
|
994 |
+
)
|
995 |
+
|
996 |
+
|
997 |
+
# Features that are now always on. A warning is printed if they are used.
|
998 |
+
ALWAYS_ENABLED_FEATURES = [
|
999 |
+
"no-binary-enable-wheel-cache", # always on since 23.1
|
1000 |
+
]
|
1001 |
+
|
1002 |
+
use_new_feature: Callable[..., Option] = partial(
|
1003 |
+
Option,
|
1004 |
+
"--use-feature",
|
1005 |
+
dest="features_enabled",
|
1006 |
+
metavar="feature",
|
1007 |
+
action="append",
|
1008 |
+
default=[],
|
1009 |
+
choices=[
|
1010 |
+
"fast-deps",
|
1011 |
+
"truststore",
|
1012 |
+
]
|
1013 |
+
+ ALWAYS_ENABLED_FEATURES,
|
1014 |
+
help="Enable new functionality, that may be backward incompatible.",
|
1015 |
+
)
|
1016 |
+
|
1017 |
+
use_deprecated_feature: Callable[..., Option] = partial(
|
1018 |
+
Option,
|
1019 |
+
"--use-deprecated",
|
1020 |
+
dest="deprecated_features_enabled",
|
1021 |
+
metavar="feature",
|
1022 |
+
action="append",
|
1023 |
+
default=[],
|
1024 |
+
choices=[
|
1025 |
+
"legacy-resolver",
|
1026 |
+
],
|
1027 |
+
help=("Enable deprecated functionality, that will be removed in the future."),
|
1028 |
+
)
|
1029 |
+
|
1030 |
+
|
1031 |
+
##########
|
1032 |
+
# groups #
|
1033 |
+
##########
|
1034 |
+
|
1035 |
+
general_group: Dict[str, Any] = {
|
1036 |
+
"name": "General Options",
|
1037 |
+
"options": [
|
1038 |
+
help_,
|
1039 |
+
debug_mode,
|
1040 |
+
isolated_mode,
|
1041 |
+
require_virtualenv,
|
1042 |
+
python,
|
1043 |
+
verbose,
|
1044 |
+
version,
|
1045 |
+
quiet,
|
1046 |
+
log,
|
1047 |
+
no_input,
|
1048 |
+
keyring_provider,
|
1049 |
+
proxy,
|
1050 |
+
retries,
|
1051 |
+
timeout,
|
1052 |
+
exists_action,
|
1053 |
+
trusted_host,
|
1054 |
+
cert,
|
1055 |
+
client_cert,
|
1056 |
+
cache_dir,
|
1057 |
+
no_cache,
|
1058 |
+
disable_pip_version_check,
|
1059 |
+
no_color,
|
1060 |
+
no_python_version_warning,
|
1061 |
+
use_new_feature,
|
1062 |
+
use_deprecated_feature,
|
1063 |
+
],
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
index_group: Dict[str, Any] = {
|
1067 |
+
"name": "Package Index Options",
|
1068 |
+
"options": [
|
1069 |
+
index_url,
|
1070 |
+
extra_index_url,
|
1071 |
+
no_index,
|
1072 |
+
find_links,
|
1073 |
+
],
|
1074 |
+
}
|
MLPY/Lib/site-packages/pip/_internal/cli/command_context.py
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from contextlib import ExitStack, contextmanager
|
2 |
+
from typing import ContextManager, Generator, TypeVar
|
3 |
+
|
4 |
+
_T = TypeVar("_T", covariant=True)
|
5 |
+
|
6 |
+
|
7 |
+
class CommandContextMixIn:
|
8 |
+
def __init__(self) -> None:
|
9 |
+
super().__init__()
|
10 |
+
self._in_main_context = False
|
11 |
+
self._main_context = ExitStack()
|
12 |
+
|
13 |
+
@contextmanager
|
14 |
+
def main_context(self) -> Generator[None, None, None]:
|
15 |
+
assert not self._in_main_context
|
16 |
+
|
17 |
+
self._in_main_context = True
|
18 |
+
try:
|
19 |
+
with self._main_context:
|
20 |
+
yield
|
21 |
+
finally:
|
22 |
+
self._in_main_context = False
|
23 |
+
|
24 |
+
def enter_context(self, context_provider: ContextManager[_T]) -> _T:
|
25 |
+
assert self._in_main_context
|
26 |
+
|
27 |
+
return self._main_context.enter_context(context_provider)
|
MLPY/Lib/site-packages/pip/_internal/cli/index_command.py
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
Contains command classes which may interact with an index / the network.
|
3 |
+
|
4 |
+
Unlike its sister module, req_command, this module still uses lazy imports
|
5 |
+
so commands which don't always hit the network (e.g. list w/o --outdated or
|
6 |
+
--uptodate) don't need waste time importing PipSession and friends.
|
7 |
+
"""
|
8 |
+
|
9 |
+
import logging
|
10 |
+
import os
|
11 |
+
import sys
|
12 |
+
from optparse import Values
|
13 |
+
from typing import TYPE_CHECKING, List, Optional
|
14 |
+
|
15 |
+
from pip._internal.cli.base_command import Command
|
16 |
+
from pip._internal.cli.command_context import CommandContextMixIn
|
17 |
+
from pip._internal.exceptions import CommandError
|
18 |
+
|
19 |
+
if TYPE_CHECKING:
|
20 |
+
from ssl import SSLContext
|
21 |
+
|
22 |
+
from pip._internal.network.session import PipSession
|
23 |
+
|
24 |
+
logger = logging.getLogger(__name__)
|
25 |
+
|
26 |
+
|
27 |
+
def _create_truststore_ssl_context() -> Optional["SSLContext"]:
|
28 |
+
if sys.version_info < (3, 10):
|
29 |
+
raise CommandError("The truststore feature is only available for Python 3.10+")
|
30 |
+
|
31 |
+
try:
|
32 |
+
import ssl
|
33 |
+
except ImportError:
|
34 |
+
logger.warning("Disabling truststore since ssl support is missing")
|
35 |
+
return None
|
36 |
+
|
37 |
+
try:
|
38 |
+
from pip._vendor import truststore
|
39 |
+
except ImportError as e:
|
40 |
+
raise CommandError(f"The truststore feature is unavailable: {e}")
|
41 |
+
|
42 |
+
return truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
|
43 |
+
|
44 |
+
|
45 |
+
class SessionCommandMixin(CommandContextMixIn):
|
46 |
+
"""
|
47 |
+
A class mixin for command classes needing _build_session().
|
48 |
+
"""
|
49 |
+
|
50 |
+
def __init__(self) -> None:
|
51 |
+
super().__init__()
|
52 |
+
self._session: Optional["PipSession"] = None
|
53 |
+
|
54 |
+
@classmethod
|
55 |
+
def _get_index_urls(cls, options: Values) -> Optional[List[str]]:
|
56 |
+
"""Return a list of index urls from user-provided options."""
|
57 |
+
index_urls = []
|
58 |
+
if not getattr(options, "no_index", False):
|
59 |
+
url = getattr(options, "index_url", None)
|
60 |
+
if url:
|
61 |
+
index_urls.append(url)
|
62 |
+
urls = getattr(options, "extra_index_urls", None)
|
63 |
+
if urls:
|
64 |
+
index_urls.extend(urls)
|
65 |
+
# Return None rather than an empty list
|
66 |
+
return index_urls or None
|
67 |
+
|
68 |
+
def get_default_session(self, options: Values) -> "PipSession":
|
69 |
+
"""Get a default-managed session."""
|
70 |
+
if self._session is None:
|
71 |
+
self._session = self.enter_context(self._build_session(options))
|
72 |
+
# there's no type annotation on requests.Session, so it's
|
73 |
+
# automatically ContextManager[Any] and self._session becomes Any,
|
74 |
+
# then https://github.com/python/mypy/issues/7696 kicks in
|
75 |
+
assert self._session is not None
|
76 |
+
return self._session
|
77 |
+
|
78 |
+
def _build_session(
|
79 |
+
self,
|
80 |
+
options: Values,
|
81 |
+
retries: Optional[int] = None,
|
82 |
+
timeout: Optional[int] = None,
|
83 |
+
fallback_to_certifi: bool = False,
|
84 |
+
) -> "PipSession":
|
85 |
+
from pip._internal.network.session import PipSession
|
86 |
+
|
87 |
+
cache_dir = options.cache_dir
|
88 |
+
assert not cache_dir or os.path.isabs(cache_dir)
|
89 |
+
|
90 |
+
if "truststore" in options.features_enabled:
|
91 |
+
try:
|
92 |
+
ssl_context = _create_truststore_ssl_context()
|
93 |
+
except Exception:
|
94 |
+
if not fallback_to_certifi:
|
95 |
+
raise
|
96 |
+
ssl_context = None
|
97 |
+
else:
|
98 |
+
ssl_context = None
|
99 |
+
|
100 |
+
session = PipSession(
|
101 |
+
cache=os.path.join(cache_dir, "http-v2") if cache_dir else None,
|
102 |
+
retries=retries if retries is not None else options.retries,
|
103 |
+
trusted_hosts=options.trusted_hosts,
|
104 |
+
index_urls=self._get_index_urls(options),
|
105 |
+
ssl_context=ssl_context,
|
106 |
+
)
|
107 |
+
|
108 |
+
# Handle custom ca-bundles from the user
|
109 |
+
if options.cert:
|
110 |
+
session.verify = options.cert
|
111 |
+
|
112 |
+
# Handle SSL client certificate
|
113 |
+
if options.client_cert:
|
114 |
+
session.cert = options.client_cert
|
115 |
+
|
116 |
+
# Handle timeouts
|
117 |
+
if options.timeout or timeout:
|
118 |
+
session.timeout = timeout if timeout is not None else options.timeout
|
119 |
+
|
120 |
+
# Handle configured proxies
|
121 |
+
if options.proxy:
|
122 |
+
session.proxies = {
|
123 |
+
"http": options.proxy,
|
124 |
+
"https": options.proxy,
|
125 |
+
}
|
126 |
+
session.trust_env = False
|
127 |
+
|
128 |
+
# Determine if we can prompt the user for authentication or not
|
129 |
+
session.auth.prompting = not options.no_input
|
130 |
+
session.auth.keyring_provider = options.keyring_provider
|
131 |
+
|
132 |
+
return session
|
133 |
+
|
134 |
+
|
135 |
+
def _pip_self_version_check(session: "PipSession", options: Values) -> None:
|
136 |
+
from pip._internal.self_outdated_check import pip_self_version_check as check
|
137 |
+
|
138 |
+
check(session, options)
|
139 |
+
|
140 |
+
|
141 |
+
class IndexGroupCommand(Command, SessionCommandMixin):
|
142 |
+
"""
|
143 |
+
Abstract base class for commands with the index_group options.
|
144 |
+
|
145 |
+
This also corresponds to the commands that permit the pip version check.
|
146 |
+
"""
|
147 |
+
|
148 |
+
def handle_pip_version_check(self, options: Values) -> None:
|
149 |
+
"""
|
150 |
+
Do the pip version check if not disabled.
|
151 |
+
|
152 |
+
This overrides the default behavior of not doing the check.
|
153 |
+
"""
|
154 |
+
# Make sure the index_group options are present.
|
155 |
+
assert hasattr(options, "no_index")
|
156 |
+
|
157 |
+
if options.disable_pip_version_check or options.no_index:
|
158 |
+
return
|
159 |
+
|
160 |
+
# Otherwise, check if we're using the latest version of pip available.
|
161 |
+
session = self._build_session(
|
162 |
+
options,
|
163 |
+
retries=0,
|
164 |
+
timeout=min(5, options.timeout),
|
165 |
+
# This is set to ensure the function does not fail when truststore is
|
166 |
+
# specified in use-feature but cannot be loaded. This usually raises a
|
167 |
+
# CommandError and shows a nice user-facing error, but this function is not
|
168 |
+
# called in that try-except block.
|
169 |
+
fallback_to_certifi=True,
|
170 |
+
)
|
171 |
+
with session:
|
172 |
+
_pip_self_version_check(session, options)
|
MLPY/Lib/site-packages/pip/_internal/cli/main.py
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Primary application entrypoint.
|
2 |
+
"""
|
3 |
+
|
4 |
+
import locale
|
5 |
+
import logging
|
6 |
+
import os
|
7 |
+
import sys
|
8 |
+
import warnings
|
9 |
+
from typing import List, Optional
|
10 |
+
|
11 |
+
from pip._internal.cli.autocompletion import autocomplete
|
12 |
+
from pip._internal.cli.main_parser import parse_command
|
13 |
+
from pip._internal.commands import create_command
|
14 |
+
from pip._internal.exceptions import PipError
|
15 |
+
from pip._internal.utils import deprecation
|
16 |
+
|
17 |
+
logger = logging.getLogger(__name__)
|
18 |
+
|
19 |
+
|
20 |
+
# Do not import and use main() directly! Using it directly is actively
|
21 |
+
# discouraged by pip's maintainers. The name, location and behavior of
|
22 |
+
# this function is subject to change, so calling it directly is not
|
23 |
+
# portable across different pip versions.
|
24 |
+
|
25 |
+
# In addition, running pip in-process is unsupported and unsafe. This is
|
26 |
+
# elaborated in detail at
|
27 |
+
# https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program.
|
28 |
+
# That document also provides suggestions that should work for nearly
|
29 |
+
# all users that are considering importing and using main() directly.
|
30 |
+
|
31 |
+
# However, we know that certain users will still want to invoke pip
|
32 |
+
# in-process. If you understand and accept the implications of using pip
|
33 |
+
# in an unsupported manner, the best approach is to use runpy to avoid
|
34 |
+
# depending on the exact location of this entry point.
|
35 |
+
|
36 |
+
# The following example shows how to use runpy to invoke pip in that
|
37 |
+
# case:
|
38 |
+
#
|
39 |
+
# sys.argv = ["pip", your, args, here]
|
40 |
+
# runpy.run_module("pip", run_name="__main__")
|
41 |
+
#
|
42 |
+
# Note that this will exit the process after running, unlike a direct
|
43 |
+
# call to main. As it is not safe to do any processing after calling
|
44 |
+
# main, this should not be an issue in practice.
|
45 |
+
|
46 |
+
|
47 |
+
def main(args: Optional[List[str]] = None) -> int:
|
48 |
+
if args is None:
|
49 |
+
args = sys.argv[1:]
|
50 |
+
|
51 |
+
# Suppress the pkg_resources deprecation warning
|
52 |
+
# Note - we use a module of .*pkg_resources to cover
|
53 |
+
# the normal case (pip._vendor.pkg_resources) and the
|
54 |
+
# devendored case (a bare pkg_resources)
|
55 |
+
warnings.filterwarnings(
|
56 |
+
action="ignore", category=DeprecationWarning, module=".*pkg_resources"
|
57 |
+
)
|
58 |
+
|
59 |
+
# Configure our deprecation warnings to be sent through loggers
|
60 |
+
deprecation.install_warning_logger()
|
61 |
+
|
62 |
+
autocomplete()
|
63 |
+
|
64 |
+
try:
|
65 |
+
cmd_name, cmd_args = parse_command(args)
|
66 |
+
except PipError as exc:
|
67 |
+
sys.stderr.write(f"ERROR: {exc}")
|
68 |
+
sys.stderr.write(os.linesep)
|
69 |
+
sys.exit(1)
|
70 |
+
|
71 |
+
# Needed for locale.getpreferredencoding(False) to work
|
72 |
+
# in pip._internal.utils.encoding.auto_decode
|
73 |
+
try:
|
74 |
+
locale.setlocale(locale.LC_ALL, "")
|
75 |
+
except locale.Error as e:
|
76 |
+
# setlocale can apparently crash if locale are uninitialized
|
77 |
+
logger.debug("Ignoring error %s when setting locale", e)
|
78 |
+
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
|
79 |
+
|
80 |
+
return command.main(cmd_args)
|
MLPY/Lib/site-packages/pip/_internal/cli/main_parser.py
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""A single place for constructing and exposing the main parser
|
2 |
+
"""
|
3 |
+
|
4 |
+
import os
|
5 |
+
import subprocess
|
6 |
+
import sys
|
7 |
+
from typing import List, Optional, Tuple
|
8 |
+
|
9 |
+
from pip._internal.build_env import get_runnable_pip
|
10 |
+
from pip._internal.cli import cmdoptions
|
11 |
+
from pip._internal.cli.parser import ConfigOptionParser, UpdatingDefaultsHelpFormatter
|
12 |
+
from pip._internal.commands import commands_dict, get_similar_commands
|
13 |
+
from pip._internal.exceptions import CommandError
|
14 |
+
from pip._internal.utils.misc import get_pip_version, get_prog
|
15 |
+
|
16 |
+
__all__ = ["create_main_parser", "parse_command"]
|
17 |
+
|
18 |
+
|
19 |
+
def create_main_parser() -> ConfigOptionParser:
|
20 |
+
"""Creates and returns the main parser for pip's CLI"""
|
21 |
+
|
22 |
+
parser = ConfigOptionParser(
|
23 |
+
usage="\n%prog <command> [options]",
|
24 |
+
add_help_option=False,
|
25 |
+
formatter=UpdatingDefaultsHelpFormatter(),
|
26 |
+
name="global",
|
27 |
+
prog=get_prog(),
|
28 |
+
)
|
29 |
+
parser.disable_interspersed_args()
|
30 |
+
|
31 |
+
parser.version = get_pip_version()
|
32 |
+
|
33 |
+
# add the general options
|
34 |
+
gen_opts = cmdoptions.make_option_group(cmdoptions.general_group, parser)
|
35 |
+
parser.add_option_group(gen_opts)
|
36 |
+
|
37 |
+
# so the help formatter knows
|
38 |
+
parser.main = True # type: ignore
|
39 |
+
|
40 |
+
# create command listing for description
|
41 |
+
description = [""] + [
|
42 |
+
f"{name:27} {command_info.summary}"
|
43 |
+
for name, command_info in commands_dict.items()
|
44 |
+
]
|
45 |
+
parser.description = "\n".join(description)
|
46 |
+
|
47 |
+
return parser
|
48 |
+
|
49 |
+
|
50 |
+
def identify_python_interpreter(python: str) -> Optional[str]:
|
51 |
+
# If the named file exists, use it.
|
52 |
+
# If it's a directory, assume it's a virtual environment and
|
53 |
+
# look for the environment's Python executable.
|
54 |
+
if os.path.exists(python):
|
55 |
+
if os.path.isdir(python):
|
56 |
+
# bin/python for Unix, Scripts/python.exe for Windows
|
57 |
+
# Try both in case of odd cases like cygwin.
|
58 |
+
for exe in ("bin/python", "Scripts/python.exe"):
|
59 |
+
py = os.path.join(python, exe)
|
60 |
+
if os.path.exists(py):
|
61 |
+
return py
|
62 |
+
else:
|
63 |
+
return python
|
64 |
+
|
65 |
+
# Could not find the interpreter specified
|
66 |
+
return None
|
67 |
+
|
68 |
+
|
69 |
+
def parse_command(args: List[str]) -> Tuple[str, List[str]]:
|
70 |
+
parser = create_main_parser()
|
71 |
+
|
72 |
+
# Note: parser calls disable_interspersed_args(), so the result of this
|
73 |
+
# call is to split the initial args into the general options before the
|
74 |
+
# subcommand and everything else.
|
75 |
+
# For example:
|
76 |
+
# args: ['--timeout=5', 'install', '--user', 'INITools']
|
77 |
+
# general_options: ['--timeout==5']
|
78 |
+
# args_else: ['install', '--user', 'INITools']
|
79 |
+
general_options, args_else = parser.parse_args(args)
|
80 |
+
|
81 |
+
# --python
|
82 |
+
if general_options.python and "_PIP_RUNNING_IN_SUBPROCESS" not in os.environ:
|
83 |
+
# Re-invoke pip using the specified Python interpreter
|
84 |
+
interpreter = identify_python_interpreter(general_options.python)
|
85 |
+
if interpreter is None:
|
86 |
+
raise CommandError(
|
87 |
+
f"Could not locate Python interpreter {general_options.python}"
|
88 |
+
)
|
89 |
+
|
90 |
+
pip_cmd = [
|
91 |
+
interpreter,
|
92 |
+
get_runnable_pip(),
|
93 |
+
]
|
94 |
+
pip_cmd.extend(args)
|
95 |
+
|
96 |
+
# Set a flag so the child doesn't re-invoke itself, causing
|
97 |
+
# an infinite loop.
|
98 |
+
os.environ["_PIP_RUNNING_IN_SUBPROCESS"] = "1"
|
99 |
+
returncode = 0
|
100 |
+
try:
|
101 |
+
proc = subprocess.run(pip_cmd)
|
102 |
+
returncode = proc.returncode
|
103 |
+
except (subprocess.SubprocessError, OSError) as exc:
|
104 |
+
raise CommandError(f"Failed to run pip under {interpreter}: {exc}")
|
105 |
+
sys.exit(returncode)
|
106 |
+
|
107 |
+
# --version
|
108 |
+
if general_options.version:
|
109 |
+
sys.stdout.write(parser.version)
|
110 |
+
sys.stdout.write(os.linesep)
|
111 |
+
sys.exit()
|
112 |
+
|
113 |
+
# pip || pip help -> print_help()
|
114 |
+
if not args_else or (args_else[0] == "help" and len(args_else) == 1):
|
115 |
+
parser.print_help()
|
116 |
+
sys.exit()
|
117 |
+
|
118 |
+
# the subcommand name
|
119 |
+
cmd_name = args_else[0]
|
120 |
+
|
121 |
+
if cmd_name not in commands_dict:
|
122 |
+
guess = get_similar_commands(cmd_name)
|
123 |
+
|
124 |
+
msg = [f'unknown command "{cmd_name}"']
|
125 |
+
if guess:
|
126 |
+
msg.append(f'maybe you meant "{guess}"')
|
127 |
+
|
128 |
+
raise CommandError(" - ".join(msg))
|
129 |
+
|
130 |
+
# all the args without the subcommand
|
131 |
+
cmd_args = args[:]
|
132 |
+
cmd_args.remove(cmd_name)
|
133 |
+
|
134 |
+
return cmd_name, cmd_args
|
MLPY/Lib/site-packages/pip/_internal/cli/parser.py
ADDED
@@ -0,0 +1,294 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Base option parser setup"""
|
2 |
+
|
3 |
+
import logging
|
4 |
+
import optparse
|
5 |
+
import shutil
|
6 |
+
import sys
|
7 |
+
import textwrap
|
8 |
+
from contextlib import suppress
|
9 |
+
from typing import Any, Dict, Generator, List, Optional, Tuple
|
10 |
+
|
11 |
+
from pip._internal.cli.status_codes import UNKNOWN_ERROR
|
12 |
+
from pip._internal.configuration import Configuration, ConfigurationError
|
13 |
+
from pip._internal.utils.misc import redact_auth_from_url, strtobool
|
14 |
+
|
15 |
+
logger = logging.getLogger(__name__)
|
16 |
+
|
17 |
+
|
18 |
+
class PrettyHelpFormatter(optparse.IndentedHelpFormatter):
|
19 |
+
"""A prettier/less verbose help formatter for optparse."""
|
20 |
+
|
21 |
+
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
22 |
+
# help position must be aligned with __init__.parseopts.description
|
23 |
+
kwargs["max_help_position"] = 30
|
24 |
+
kwargs["indent_increment"] = 1
|
25 |
+
kwargs["width"] = shutil.get_terminal_size()[0] - 2
|
26 |
+
super().__init__(*args, **kwargs)
|
27 |
+
|
28 |
+
def format_option_strings(self, option: optparse.Option) -> str:
|
29 |
+
return self._format_option_strings(option)
|
30 |
+
|
31 |
+
def _format_option_strings(
|
32 |
+
self, option: optparse.Option, mvarfmt: str = " <{}>", optsep: str = ", "
|
33 |
+
) -> str:
|
34 |
+
"""
|
35 |
+
Return a comma-separated list of option strings and metavars.
|
36 |
+
|
37 |
+
:param option: tuple of (short opt, long opt), e.g: ('-f', '--format')
|
38 |
+
:param mvarfmt: metavar format string
|
39 |
+
:param optsep: separator
|
40 |
+
"""
|
41 |
+
opts = []
|
42 |
+
|
43 |
+
if option._short_opts:
|
44 |
+
opts.append(option._short_opts[0])
|
45 |
+
if option._long_opts:
|
46 |
+
opts.append(option._long_opts[0])
|
47 |
+
if len(opts) > 1:
|
48 |
+
opts.insert(1, optsep)
|
49 |
+
|
50 |
+
if option.takes_value():
|
51 |
+
assert option.dest is not None
|
52 |
+
metavar = option.metavar or option.dest.lower()
|
53 |
+
opts.append(mvarfmt.format(metavar.lower()))
|
54 |
+
|
55 |
+
return "".join(opts)
|
56 |
+
|
57 |
+
def format_heading(self, heading: str) -> str:
|
58 |
+
if heading == "Options":
|
59 |
+
return ""
|
60 |
+
return heading + ":\n"
|
61 |
+
|
62 |
+
def format_usage(self, usage: str) -> str:
|
63 |
+
"""
|
64 |
+
Ensure there is only one newline between usage and the first heading
|
65 |
+
if there is no description.
|
66 |
+
"""
|
67 |
+
msg = "\nUsage: {}\n".format(self.indent_lines(textwrap.dedent(usage), " "))
|
68 |
+
return msg
|
69 |
+
|
70 |
+
def format_description(self, description: Optional[str]) -> str:
|
71 |
+
# leave full control over description to us
|
72 |
+
if description:
|
73 |
+
if hasattr(self.parser, "main"):
|
74 |
+
label = "Commands"
|
75 |
+
else:
|
76 |
+
label = "Description"
|
77 |
+
# some doc strings have initial newlines, some don't
|
78 |
+
description = description.lstrip("\n")
|
79 |
+
# some doc strings have final newlines and spaces, some don't
|
80 |
+
description = description.rstrip()
|
81 |
+
# dedent, then reindent
|
82 |
+
description = self.indent_lines(textwrap.dedent(description), " ")
|
83 |
+
description = f"{label}:\n{description}\n"
|
84 |
+
return description
|
85 |
+
else:
|
86 |
+
return ""
|
87 |
+
|
88 |
+
def format_epilog(self, epilog: Optional[str]) -> str:
|
89 |
+
# leave full control over epilog to us
|
90 |
+
if epilog:
|
91 |
+
return epilog
|
92 |
+
else:
|
93 |
+
return ""
|
94 |
+
|
95 |
+
def indent_lines(self, text: str, indent: str) -> str:
|
96 |
+
new_lines = [indent + line for line in text.split("\n")]
|
97 |
+
return "\n".join(new_lines)
|
98 |
+
|
99 |
+
|
100 |
+
class UpdatingDefaultsHelpFormatter(PrettyHelpFormatter):
|
101 |
+
"""Custom help formatter for use in ConfigOptionParser.
|
102 |
+
|
103 |
+
This is updates the defaults before expanding them, allowing
|
104 |
+
them to show up correctly in the help listing.
|
105 |
+
|
106 |
+
Also redact auth from url type options
|
107 |
+
"""
|
108 |
+
|
109 |
+
def expand_default(self, option: optparse.Option) -> str:
|
110 |
+
default_values = None
|
111 |
+
if self.parser is not None:
|
112 |
+
assert isinstance(self.parser, ConfigOptionParser)
|
113 |
+
self.parser._update_defaults(self.parser.defaults)
|
114 |
+
assert option.dest is not None
|
115 |
+
default_values = self.parser.defaults.get(option.dest)
|
116 |
+
help_text = super().expand_default(option)
|
117 |
+
|
118 |
+
if default_values and option.metavar == "URL":
|
119 |
+
if isinstance(default_values, str):
|
120 |
+
default_values = [default_values]
|
121 |
+
|
122 |
+
# If its not a list, we should abort and just return the help text
|
123 |
+
if not isinstance(default_values, list):
|
124 |
+
default_values = []
|
125 |
+
|
126 |
+
for val in default_values:
|
127 |
+
help_text = help_text.replace(val, redact_auth_from_url(val))
|
128 |
+
|
129 |
+
return help_text
|
130 |
+
|
131 |
+
|
132 |
+
class CustomOptionParser(optparse.OptionParser):
|
133 |
+
def insert_option_group(
|
134 |
+
self, idx: int, *args: Any, **kwargs: Any
|
135 |
+
) -> optparse.OptionGroup:
|
136 |
+
"""Insert an OptionGroup at a given position."""
|
137 |
+
group = self.add_option_group(*args, **kwargs)
|
138 |
+
|
139 |
+
self.option_groups.pop()
|
140 |
+
self.option_groups.insert(idx, group)
|
141 |
+
|
142 |
+
return group
|
143 |
+
|
144 |
+
@property
|
145 |
+
def option_list_all(self) -> List[optparse.Option]:
|
146 |
+
"""Get a list of all options, including those in option groups."""
|
147 |
+
res = self.option_list[:]
|
148 |
+
for i in self.option_groups:
|
149 |
+
res.extend(i.option_list)
|
150 |
+
|
151 |
+
return res
|
152 |
+
|
153 |
+
|
154 |
+
class ConfigOptionParser(CustomOptionParser):
|
155 |
+
"""Custom option parser which updates its defaults by checking the
|
156 |
+
configuration files and environmental variables"""
|
157 |
+
|
158 |
+
def __init__(
|
159 |
+
self,
|
160 |
+
*args: Any,
|
161 |
+
name: str,
|
162 |
+
isolated: bool = False,
|
163 |
+
**kwargs: Any,
|
164 |
+
) -> None:
|
165 |
+
self.name = name
|
166 |
+
self.config = Configuration(isolated)
|
167 |
+
|
168 |
+
assert self.name
|
169 |
+
super().__init__(*args, **kwargs)
|
170 |
+
|
171 |
+
def check_default(self, option: optparse.Option, key: str, val: Any) -> Any:
|
172 |
+
try:
|
173 |
+
return option.check_value(key, val)
|
174 |
+
except optparse.OptionValueError as exc:
|
175 |
+
print(f"An error occurred during configuration: {exc}")
|
176 |
+
sys.exit(3)
|
177 |
+
|
178 |
+
def _get_ordered_configuration_items(
|
179 |
+
self,
|
180 |
+
) -> Generator[Tuple[str, Any], None, None]:
|
181 |
+
# Configuration gives keys in an unordered manner. Order them.
|
182 |
+
override_order = ["global", self.name, ":env:"]
|
183 |
+
|
184 |
+
# Pool the options into different groups
|
185 |
+
section_items: Dict[str, List[Tuple[str, Any]]] = {
|
186 |
+
name: [] for name in override_order
|
187 |
+
}
|
188 |
+
for section_key, val in self.config.items():
|
189 |
+
# ignore empty values
|
190 |
+
if not val:
|
191 |
+
logger.debug(
|
192 |
+
"Ignoring configuration key '%s' as it's value is empty.",
|
193 |
+
section_key,
|
194 |
+
)
|
195 |
+
continue
|
196 |
+
|
197 |
+
section, key = section_key.split(".", 1)
|
198 |
+
if section in override_order:
|
199 |
+
section_items[section].append((key, val))
|
200 |
+
|
201 |
+
# Yield each group in their override order
|
202 |
+
for section in override_order:
|
203 |
+
for key, val in section_items[section]:
|
204 |
+
yield key, val
|
205 |
+
|
206 |
+
def _update_defaults(self, defaults: Dict[str, Any]) -> Dict[str, Any]:
|
207 |
+
"""Updates the given defaults with values from the config files and
|
208 |
+
the environ. Does a little special handling for certain types of
|
209 |
+
options (lists)."""
|
210 |
+
|
211 |
+
# Accumulate complex default state.
|
212 |
+
self.values = optparse.Values(self.defaults)
|
213 |
+
late_eval = set()
|
214 |
+
# Then set the options with those values
|
215 |
+
for key, val in self._get_ordered_configuration_items():
|
216 |
+
# '--' because configuration supports only long names
|
217 |
+
option = self.get_option("--" + key)
|
218 |
+
|
219 |
+
# Ignore options not present in this parser. E.g. non-globals put
|
220 |
+
# in [global] by users that want them to apply to all applicable
|
221 |
+
# commands.
|
222 |
+
if option is None:
|
223 |
+
continue
|
224 |
+
|
225 |
+
assert option.dest is not None
|
226 |
+
|
227 |
+
if option.action in ("store_true", "store_false"):
|
228 |
+
try:
|
229 |
+
val = strtobool(val)
|
230 |
+
except ValueError:
|
231 |
+
self.error(
|
232 |
+
f"{val} is not a valid value for {key} option, "
|
233 |
+
"please specify a boolean value like yes/no, "
|
234 |
+
"true/false or 1/0 instead."
|
235 |
+
)
|
236 |
+
elif option.action == "count":
|
237 |
+
with suppress(ValueError):
|
238 |
+
val = strtobool(val)
|
239 |
+
with suppress(ValueError):
|
240 |
+
val = int(val)
|
241 |
+
if not isinstance(val, int) or val < 0:
|
242 |
+
self.error(
|
243 |
+
f"{val} is not a valid value for {key} option, "
|
244 |
+
"please instead specify either a non-negative integer "
|
245 |
+
"or a boolean value like yes/no or false/true "
|
246 |
+
"which is equivalent to 1/0."
|
247 |
+
)
|
248 |
+
elif option.action == "append":
|
249 |
+
val = val.split()
|
250 |
+
val = [self.check_default(option, key, v) for v in val]
|
251 |
+
elif option.action == "callback":
|
252 |
+
assert option.callback is not None
|
253 |
+
late_eval.add(option.dest)
|
254 |
+
opt_str = option.get_opt_string()
|
255 |
+
val = option.convert_value(opt_str, val)
|
256 |
+
# From take_action
|
257 |
+
args = option.callback_args or ()
|
258 |
+
kwargs = option.callback_kwargs or {}
|
259 |
+
option.callback(option, opt_str, val, self, *args, **kwargs)
|
260 |
+
else:
|
261 |
+
val = self.check_default(option, key, val)
|
262 |
+
|
263 |
+
defaults[option.dest] = val
|
264 |
+
|
265 |
+
for key in late_eval:
|
266 |
+
defaults[key] = getattr(self.values, key)
|
267 |
+
self.values = None
|
268 |
+
return defaults
|
269 |
+
|
270 |
+
def get_default_values(self) -> optparse.Values:
|
271 |
+
"""Overriding to make updating the defaults after instantiation of
|
272 |
+
the option parser possible, _update_defaults() does the dirty work."""
|
273 |
+
if not self.process_default_values:
|
274 |
+
# Old, pre-Optik 1.5 behaviour.
|
275 |
+
return optparse.Values(self.defaults)
|
276 |
+
|
277 |
+
# Load the configuration, or error out in case of an error
|
278 |
+
try:
|
279 |
+
self.config.load()
|
280 |
+
except ConfigurationError as err:
|
281 |
+
self.exit(UNKNOWN_ERROR, str(err))
|
282 |
+
|
283 |
+
defaults = self._update_defaults(self.defaults.copy()) # ours
|
284 |
+
for option in self._get_all_options():
|
285 |
+
assert option.dest is not None
|
286 |
+
default = defaults.get(option.dest)
|
287 |
+
if isinstance(default, str):
|
288 |
+
opt_str = option.get_opt_string()
|
289 |
+
defaults[option.dest] = option.check_value(opt_str, default)
|
290 |
+
return optparse.Values(defaults)
|
291 |
+
|
292 |
+
def error(self, msg: str) -> None:
|
293 |
+
self.print_usage(sys.stderr)
|
294 |
+
self.exit(UNKNOWN_ERROR, f"{msg}\n")
|
MLPY/Lib/site-packages/pip/_internal/cli/progress_bars.py
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import functools
|
2 |
+
import sys
|
3 |
+
from typing import Callable, Generator, Iterable, Iterator, Optional, Tuple
|
4 |
+
|
5 |
+
from pip._vendor.rich.progress import (
|
6 |
+
BarColumn,
|
7 |
+
DownloadColumn,
|
8 |
+
FileSizeColumn,
|
9 |
+
Progress,
|
10 |
+
ProgressColumn,
|
11 |
+
SpinnerColumn,
|
12 |
+
TextColumn,
|
13 |
+
TimeElapsedColumn,
|
14 |
+
TimeRemainingColumn,
|
15 |
+
TransferSpeedColumn,
|
16 |
+
)
|
17 |
+
|
18 |
+
from pip._internal.cli.spinners import RateLimiter
|
19 |
+
from pip._internal.utils.logging import get_indentation
|
20 |
+
|
21 |
+
DownloadProgressRenderer = Callable[[Iterable[bytes]], Iterator[bytes]]
|
22 |
+
|
23 |
+
|
24 |
+
def _rich_progress_bar(
|
25 |
+
iterable: Iterable[bytes],
|
26 |
+
*,
|
27 |
+
bar_type: str,
|
28 |
+
size: int,
|
29 |
+
) -> Generator[bytes, None, None]:
|
30 |
+
assert bar_type == "on", "This should only be used in the default mode."
|
31 |
+
|
32 |
+
if not size:
|
33 |
+
total = float("inf")
|
34 |
+
columns: Tuple[ProgressColumn, ...] = (
|
35 |
+
TextColumn("[progress.description]{task.description}"),
|
36 |
+
SpinnerColumn("line", speed=1.5),
|
37 |
+
FileSizeColumn(),
|
38 |
+
TransferSpeedColumn(),
|
39 |
+
TimeElapsedColumn(),
|
40 |
+
)
|
41 |
+
else:
|
42 |
+
total = size
|
43 |
+
columns = (
|
44 |
+
TextColumn("[progress.description]{task.description}"),
|
45 |
+
BarColumn(),
|
46 |
+
DownloadColumn(),
|
47 |
+
TransferSpeedColumn(),
|
48 |
+
TextColumn("eta"),
|
49 |
+
TimeRemainingColumn(),
|
50 |
+
)
|
51 |
+
|
52 |
+
progress = Progress(*columns, refresh_per_second=30)
|
53 |
+
task_id = progress.add_task(" " * (get_indentation() + 2), total=total)
|
54 |
+
with progress:
|
55 |
+
for chunk in iterable:
|
56 |
+
yield chunk
|
57 |
+
progress.update(task_id, advance=len(chunk))
|
58 |
+
|
59 |
+
|
60 |
+
def _raw_progress_bar(
|
61 |
+
iterable: Iterable[bytes],
|
62 |
+
*,
|
63 |
+
size: Optional[int],
|
64 |
+
) -> Generator[bytes, None, None]:
|
65 |
+
def write_progress(current: int, total: int) -> None:
|
66 |
+
sys.stdout.write("Progress %d of %d\n" % (current, total))
|
67 |
+
sys.stdout.flush()
|
68 |
+
|
69 |
+
current = 0
|
70 |
+
total = size or 0
|
71 |
+
rate_limiter = RateLimiter(0.25)
|
72 |
+
|
73 |
+
write_progress(current, total)
|
74 |
+
for chunk in iterable:
|
75 |
+
current += len(chunk)
|
76 |
+
if rate_limiter.ready() or current == total:
|
77 |
+
write_progress(current, total)
|
78 |
+
rate_limiter.reset()
|
79 |
+
yield chunk
|
80 |
+
|
81 |
+
|
82 |
+
def get_download_progress_renderer(
|
83 |
+
*, bar_type: str, size: Optional[int] = None
|
84 |
+
) -> DownloadProgressRenderer:
|
85 |
+
"""Get an object that can be used to render the download progress.
|
86 |
+
|
87 |
+
Returns a callable, that takes an iterable to "wrap".
|
88 |
+
"""
|
89 |
+
if bar_type == "on":
|
90 |
+
return functools.partial(_rich_progress_bar, bar_type=bar_type, size=size)
|
91 |
+
elif bar_type == "raw":
|
92 |
+
return functools.partial(_raw_progress_bar, size=size)
|
93 |
+
else:
|
94 |
+
return iter # no-op, when passed an iterator
|