Floobin commited on
Commit
0a594a8
1 Parent(s): 8e64a25

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .env/Lib/site-packages/__pycache__/easy_install.cpython-39.pyc +0 -0
  2. .env/Lib/site-packages/easy_install.py +5 -0
  3. .env/Lib/site-packages/pip-20.2.3.dist-info/INSTALLER +1 -0
  4. .env/Lib/site-packages/pip-20.2.3.dist-info/LICENSE.txt +20 -0
  5. .env/Lib/site-packages/pip-20.2.3.dist-info/METADATA +88 -0
  6. .env/Lib/site-packages/pip-20.2.3.dist-info/RECORD +752 -0
  7. .env/Lib/site-packages/pip-20.2.3.dist-info/REQUESTED +0 -0
  8. .env/Lib/site-packages/pip-20.2.3.dist-info/WHEEL +6 -0
  9. .env/Lib/site-packages/pip-20.2.3.dist-info/entry_points.txt +5 -0
  10. .env/Lib/site-packages/pip-20.2.3.dist-info/top_level.txt +1 -0
  11. .env/Lib/site-packages/pip/__init__.py +18 -0
  12. .env/Lib/site-packages/pip/__main__.py +26 -0
  13. .env/Lib/site-packages/pip/__pycache__/__init__.cpython-39.pyc +0 -0
  14. .env/Lib/site-packages/pip/__pycache__/__main__.cpython-39.pyc +0 -0
  15. .env/Lib/site-packages/pip/_internal/__init__.py +17 -0
  16. .env/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-39.pyc +0 -0
  17. .env/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-39.pyc +0 -0
  18. .env/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-39.pyc +0 -0
  19. .env/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-39.pyc +0 -0
  20. .env/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-39.pyc +0 -0
  21. .env/Lib/site-packages/pip/_internal/__pycache__/locations.cpython-39.pyc +0 -0
  22. .env/Lib/site-packages/pip/_internal/__pycache__/main.cpython-39.pyc +0 -0
  23. .env/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-39.pyc +0 -0
  24. .env/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc +0 -0
  25. .env/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-39.pyc +0 -0
  26. .env/Lib/site-packages/pip/_internal/build_env.py +241 -0
  27. .env/Lib/site-packages/pip/_internal/cache.py +346 -0
  28. .env/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
  29. .env/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-39.pyc +0 -0
  30. .env/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc +0 -0
  31. .env/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-39.pyc +0 -0
  32. .env/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc +0 -0
  33. .env/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-39.pyc +0 -0
  34. .env/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-39.pyc +0 -0
  35. .env/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc +0 -0
  36. .env/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-39.pyc +0 -0
  37. .env/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc +0 -0
  38. .env/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-39.pyc +0 -0
  39. .env/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-39.pyc +0 -0
  40. .env/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc +0 -0
  41. .env/Lib/site-packages/pip/_internal/cli/autocompletion.py +164 -0
  42. .env/Lib/site-packages/pip/_internal/cli/base_command.py +265 -0
  43. .env/Lib/site-packages/pip/_internal/cli/cmdoptions.py +975 -0
  44. .env/Lib/site-packages/pip/_internal/cli/command_context.py +36 -0
  45. .env/Lib/site-packages/pip/_internal/cli/main.py +75 -0
  46. .env/Lib/site-packages/pip/_internal/cli/main_parser.py +99 -0
  47. .env/Lib/site-packages/pip/_internal/cli/parser.py +266 -0
  48. .env/Lib/site-packages/pip/_internal/cli/progress_bars.py +280 -0
  49. .env/Lib/site-packages/pip/_internal/cli/req_command.py +402 -0
  50. .env/Lib/site-packages/pip/_internal/cli/spinners.py +173 -0
.env/Lib/site-packages/__pycache__/easy_install.cpython-39.pyc ADDED
Binary file (330 Bytes). View file
 
.env/Lib/site-packages/easy_install.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ """Run the EasyInstall command"""
2
+
3
+ if __name__ == '__main__':
4
+ from setuptools.command.easy_install import main
5
+ main()
.env/Lib/site-packages/pip-20.2.3.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
.env/Lib/site-packages/pip-20.2.3.dist-info/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2008-2019 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.
.env/Lib/site-packages/pip-20.2.3.dist-info/METADATA ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: pip
3
+ Version: 20.2.3
4
+ Summary: The PyPA recommended tool for installing Python packages.
5
+ Home-page: https://pip.pypa.io/
6
+ Author: The pip developers
7
+ Author-email: [email protected]
8
+ License: MIT
9
+ Project-URL: Documentation, https://pip.pypa.io
10
+ Project-URL: Source, https://github.com/pypa/pip
11
+ Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
12
+ Keywords: distutils easy_install egg setuptools wheel virtualenv
13
+ Platform: UNKNOWN
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Topic :: Software Development :: Build Tools
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 2
20
+ Classifier: Programming Language :: Python :: 2.7
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.5
23
+ Classifier: Programming Language :: Python :: 3.6
24
+ Classifier: Programming Language :: Python :: 3.7
25
+ Classifier: Programming Language :: Python :: 3.8
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
28
+ Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
29
+
30
+ pip - The Python Package Installer
31
+ ==================================
32
+
33
+ .. image:: https://img.shields.io/pypi/v/pip.svg
34
+ :target: https://pypi.org/project/pip/
35
+
36
+ .. image:: https://readthedocs.org/projects/pip/badge/?version=latest
37
+ :target: https://pip.pypa.io/en/latest
38
+
39
+ pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
40
+
41
+ Please take a look at our documentation for how to install and use pip:
42
+
43
+ * `Installation`_
44
+ * `Usage`_
45
+
46
+ We release updates regularly, with a new version every 3 months. Find more details in our documentation:
47
+
48
+ * `Release notes`_
49
+ * `Release process`_
50
+
51
+ In 2020, we're working on improvements to the heart of pip. Please `learn more and take our survey`_ to help us do it right.
52
+
53
+ If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:
54
+
55
+ * `Issue tracking`_
56
+ * `Discourse channel`_
57
+ * `User IRC`_
58
+
59
+ 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:
60
+
61
+ * `GitHub page`_
62
+ * `Development documentation`_
63
+ * `Development mailing list`_
64
+ * `Development IRC`_
65
+
66
+ Code of Conduct
67
+ ---------------
68
+
69
+ Everyone interacting in the pip project's codebases, issue trackers, chat
70
+ rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.
71
+
72
+ .. _package installer: https://packaging.python.org/guides/tool-recommendations/
73
+ .. _Python Package Index: https://pypi.org
74
+ .. _Installation: https://pip.pypa.io/en/stable/installing.html
75
+ .. _Usage: https://pip.pypa.io/en/stable/
76
+ .. _Release notes: https://pip.pypa.io/en/stable/news.html
77
+ .. _Release process: https://pip.pypa.io/en/latest/development/release-process/
78
+ .. _GitHub page: https://github.com/pypa/pip
79
+ .. _Development documentation: https://pip.pypa.io/en/latest/development
80
+ .. _learn more and take our survey: https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html
81
+ .. _Issue tracking: https://github.com/pypa/pip/issues
82
+ .. _Discourse channel: https://discuss.python.org/c/packaging
83
+ .. _Development mailing list: https://mail.python.org/mailman3/lists/distutils-sig.python.org/
84
+ .. _User IRC: https://webchat.freenode.net/?channels=%23pypa
85
+ .. _Development IRC: https://webchat.freenode.net/?channels=%23pypa-dev
86
+ .. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/
87
+
88
+
.env/Lib/site-packages/pip-20.2.3.dist-info/RECORD ADDED
@@ -0,0 +1,752 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ../../Scripts/pip.exe,sha256=6MxVnGvnvVTT7uOJIPtQwF9M5S-0Jgyn1o7qufyQx7s,106393
2
+ ../../Scripts/pip3.9.exe,sha256=6MxVnGvnvVTT7uOJIPtQwF9M5S-0Jgyn1o7qufyQx7s,106393
3
+ ../../Scripts/pip3.exe,sha256=6MxVnGvnvVTT7uOJIPtQwF9M5S-0Jgyn1o7qufyQx7s,106393
4
+ pip-20.2.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
5
+ pip-20.2.3.dist-info/LICENSE.txt,sha256=W6Ifuwlk-TatfRU2LR7W1JMcyMj5_y1NkRkOEJvnRDE,1090
6
+ pip-20.2.3.dist-info/METADATA,sha256=9mmHP3BezeQwiPj12NdLFspqcxqrf7xqW6OX9PwZSr4,3708
7
+ pip-20.2.3.dist-info/RECORD,,
8
+ pip-20.2.3.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ pip-20.2.3.dist-info/WHEEL,sha256=ADKeyaGyKF5DwBNE0sRE5pvW-bSkFMJfBuhzZ3rceP4,110
10
+ pip-20.2.3.dist-info/entry_points.txt,sha256=HtfDOwpUlr9s73jqLQ6wF9V0_0qvUXJwCBz7Vwx0Ue0,125
11
+ pip-20.2.3.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
12
+ pip/__init__.py,sha256=NkPibWV383InU5x7DgeQLdL2zhlXTKjJRBMQTSKNYjI,455
13
+ pip/__main__.py,sha256=bqCAM1cj1HwHCDx3WJa-LJxOBXimGxE8OjBqAvnhVg0,911
14
+ pip/__pycache__/__init__.cpython-39.pyc,,
15
+ pip/__pycache__/__main__.cpython-39.pyc,,
16
+ pip/_internal/__init__.py,sha256=2si23JBW1erg19xIJ8CD6tfGknz0ijtXmzuXjGfGMGE,495
17
+ pip/_internal/__pycache__/__init__.cpython-39.pyc,,
18
+ pip/_internal/__pycache__/build_env.cpython-39.pyc,,
19
+ pip/_internal/__pycache__/cache.cpython-39.pyc,,
20
+ pip/_internal/__pycache__/configuration.cpython-39.pyc,,
21
+ pip/_internal/__pycache__/exceptions.cpython-39.pyc,,
22
+ pip/_internal/__pycache__/locations.cpython-39.pyc,,
23
+ pip/_internal/__pycache__/main.cpython-39.pyc,,
24
+ pip/_internal/__pycache__/pyproject.cpython-39.pyc,,
25
+ pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc,,
26
+ pip/_internal/__pycache__/wheel_builder.cpython-39.pyc,,
27
+ pip/_internal/build_env.py,sha256=9_UaQ2fpsBvpKAji27f7bPAi2v3mb0cBvDYcejwFKNM,8088
28
+ pip/_internal/cache.py,sha256=pT17VVxgzZK32aqY5FRS8GyAI73LKzNMF8ZelQ7Ojm0,12249
29
+ pip/_internal/cli/__init__.py,sha256=FkHBgpxxb-_gd6r1FjnNhfMOzAUYyXoXKJ6abijfcFU,132
30
+ pip/_internal/cli/__pycache__/__init__.cpython-39.pyc,,
31
+ pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc,,
32
+ pip/_internal/cli/__pycache__/base_command.cpython-39.pyc,,
33
+ pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc,,
34
+ pip/_internal/cli/__pycache__/command_context.cpython-39.pyc,,
35
+ pip/_internal/cli/__pycache__/main.cpython-39.pyc,,
36
+ pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc,,
37
+ pip/_internal/cli/__pycache__/parser.cpython-39.pyc,,
38
+ pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc,,
39
+ pip/_internal/cli/__pycache__/req_command.cpython-39.pyc,,
40
+ pip/_internal/cli/__pycache__/spinners.cpython-39.pyc,,
41
+ pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc,,
42
+ pip/_internal/cli/autocompletion.py,sha256=ekGNtcDI0p7rFVc-7s4T9Tbss4Jgb7vsB649XJIblRg,6547
43
+ pip/_internal/cli/base_command.py,sha256=bf058xM1HE9QJCNEHExbuTjL0peKg9kSxCNxDtwAh88,9302
44
+ pip/_internal/cli/cmdoptions.py,sha256=M_BtuqeyRpZAUUYytts3pguBCF2RaGukVpDPE0niroI,28782
45
+ pip/_internal/cli/command_context.py,sha256=ygMVoTy2jpNilKT-6416gFSQpaBtrKRBbVbi2fy__EU,975
46
+ pip/_internal/cli/main.py,sha256=Hxc9dZyW3xiDsYZX-_J2cGXT5DWNLNn_Y7o9oUme-Ec,2616
47
+ pip/_internal/cli/main_parser.py,sha256=voAtjo4WVPIYeu7Fqabva9SXaB3BjG0gH93GBfe6jHQ,2843
48
+ pip/_internal/cli/parser.py,sha256=4FfwW8xB84CrkLs35ud90ZkhCcWyVkx17XD6j3XCW7c,9480
49
+ pip/_internal/cli/progress_bars.py,sha256=J1zykt2LI4gbBeXorfYRmYV5FgXhcW4x3r6xE_a7Z7c,9121
50
+ pip/_internal/cli/req_command.py,sha256=Eiz8TVzeqzG-40t7qLC1vO-vzjCRvX9C-qXMyfw9D1I,15132
51
+ pip/_internal/cli/spinners.py,sha256=PS9s53LB5aDPelIn8FhKerK3bOdgeefFH5wSWJ2PCzI,5509
52
+ pip/_internal/cli/status_codes.py,sha256=F6uDG6Gj7RNKQJUDnd87QKqI16Us-t-B0wPF_4QMpWc,156
53
+ pip/_internal/commands/__init__.py,sha256=yoLAnmEXjoQgYfDuwsuWG3RzzD19oeHobGEhmpIYsB4,4100
54
+ pip/_internal/commands/__pycache__/__init__.cpython-39.pyc,,
55
+ pip/_internal/commands/__pycache__/cache.cpython-39.pyc,,
56
+ pip/_internal/commands/__pycache__/check.cpython-39.pyc,,
57
+ pip/_internal/commands/__pycache__/completion.cpython-39.pyc,,
58
+ pip/_internal/commands/__pycache__/configuration.cpython-39.pyc,,
59
+ pip/_internal/commands/__pycache__/debug.cpython-39.pyc,,
60
+ pip/_internal/commands/__pycache__/download.cpython-39.pyc,,
61
+ pip/_internal/commands/__pycache__/freeze.cpython-39.pyc,,
62
+ pip/_internal/commands/__pycache__/hash.cpython-39.pyc,,
63
+ pip/_internal/commands/__pycache__/help.cpython-39.pyc,,
64
+ pip/_internal/commands/__pycache__/install.cpython-39.pyc,,
65
+ pip/_internal/commands/__pycache__/list.cpython-39.pyc,,
66
+ pip/_internal/commands/__pycache__/search.cpython-39.pyc,,
67
+ pip/_internal/commands/__pycache__/show.cpython-39.pyc,,
68
+ pip/_internal/commands/__pycache__/uninstall.cpython-39.pyc,,
69
+ pip/_internal/commands/__pycache__/wheel.cpython-39.pyc,,
70
+ pip/_internal/commands/cache.py,sha256=U3rLjls0AMMO8PxnhXVwIp7Biyvns8-gBThKTH3tX7Y,5676
71
+ pip/_internal/commands/check.py,sha256=fqRrz2uKPC8Qsx2rgLygAD2Rbr-qxp1Q55zUoyZzB9Q,1677
72
+ pip/_internal/commands/completion.py,sha256=ObssM77quf61qvbuSE6XLwUBdm_WcWIvXFI-Hy1RBsI,3081
73
+ pip/_internal/commands/configuration.py,sha256=IN2QBF653sRiRU7-pHTpnZ6_gyiXNKUQkLiLaNRLKNw,9344
74
+ pip/_internal/commands/debug.py,sha256=otBZnpnostX2kmYyOl6g6CeCLmk6H00Tsj2CDsCtFXw,7314
75
+ pip/_internal/commands/download.py,sha256=EKFlj_ceGUEJj6yCDw7P6w7yUoB16IcNHhT2qnCFDNQ,4918
76
+ pip/_internal/commands/freeze.py,sha256=vLBBP1d8wgEXrmlh06hbz_x_Q1mWHUdiWDa9NP2eKLE,3452
77
+ pip/_internal/commands/hash.py,sha256=v2nYCiEsEI9nEam1p6GwdG8xyj5gFv-4WrqvNexKmeY,1843
78
+ pip/_internal/commands/help.py,sha256=ryuMDt2tc7ic3NJYMjjoNRH5r6LrB2yQVZvehAm8bLs,1270
79
+ pip/_internal/commands/install.py,sha256=OXjZCNSioJRfP7YMkJyAWLl7X7-8f6DkhWlhPhG6fXk,27995
80
+ pip/_internal/commands/list.py,sha256=2o3rYw37ECrhe4-Bu5s_2C0bwhYgghh4833MxcWAEug,11312
81
+ pip/_internal/commands/search.py,sha256=1HPAFU-tmgKrHhr4xNuk3xMoPeSzD_oDvDDiUFZZ15E,5756
82
+ pip/_internal/commands/show.py,sha256=r69-G8HIepDKm4SeyeHj0Ez1P9xoihrpVUyXm6NmXYY,6996
83
+ pip/_internal/commands/uninstall.py,sha256=Ys8hwFsg0kvvGtLGYG3ibL5BKvURhlSlCX50ZQ-hsHk,3311
84
+ pip/_internal/commands/wheel.py,sha256=-HSISE5AV29I752Aqw4DdmulrGd8rB_ZTOdpbJ6T8iM,6419
85
+ pip/_internal/configuration.py,sha256=-Gxz2J-KuvxiqWIJ9F-XnYVZ5lKhNk7VO6ondEbH4EM,14115
86
+ pip/_internal/distributions/__init__.py,sha256=ECBUW5Gtu9TjJwyFLvim-i6kUMYVuikNh9I5asL6tbA,959
87
+ pip/_internal/distributions/__pycache__/__init__.cpython-39.pyc,,
88
+ pip/_internal/distributions/__pycache__/base.cpython-39.pyc,,
89
+ pip/_internal/distributions/__pycache__/installed.cpython-39.pyc,,
90
+ pip/_internal/distributions/__pycache__/sdist.cpython-39.pyc,,
91
+ pip/_internal/distributions/__pycache__/wheel.cpython-39.pyc,,
92
+ pip/_internal/distributions/base.py,sha256=ruprpM_L2T2HNi3KLUHlbHimZ1sWVw-3Q0Lb8O7TDAI,1425
93
+ pip/_internal/distributions/installed.py,sha256=YqlkBKr6TVP1MAYS6SG8ojud21wVOYLMZ8jMLJe9MSU,760
94
+ pip/_internal/distributions/sdist.py,sha256=D4XTMlCwgPlK69l62GLYkNSVTVe99fR5iAcVt2EbGok,4086
95
+ pip/_internal/distributions/wheel.py,sha256=95uD-TfaYoq3KiKBdzk9YMN4RRqJ28LNoSTS2K46gek,1294
96
+ pip/_internal/exceptions.py,sha256=ZVpArxQrSlm4qAMtHaY3nHvG_t5eSi3WCnMowdm_m8I,12637
97
+ pip/_internal/index/__init__.py,sha256=vpt-JeTZefh8a-FC22ZeBSXFVbuBcXSGiILhQZJaNpQ,30
98
+ pip/_internal/index/__pycache__/__init__.cpython-39.pyc,,
99
+ pip/_internal/index/__pycache__/collector.cpython-39.pyc,,
100
+ pip/_internal/index/__pycache__/package_finder.cpython-39.pyc,,
101
+ pip/_internal/index/collector.py,sha256=rMdGdAABOrvIl0DYlCMWXr7mIoqrU2VGeQpCuWiPu1Q,22838
102
+ pip/_internal/index/package_finder.py,sha256=ISieDd20dOSndMNybafCu3pO2JR3BKOfHv92Bes0j0Q,37364
103
+ pip/_internal/locations.py,sha256=7YjzJy2CroQD8GBMemnHWRl9448BSIt0lfH98B-Dkd8,6732
104
+ pip/_internal/main.py,sha256=IVBnUQ-FG7DK6617uEXRB5_QJqspAsBFmTmTesYkbdQ,437
105
+ pip/_internal/models/__init__.py,sha256=3DHUd_qxpPozfzouoqa9g9ts1Czr5qaHfFxbnxriepM,63
106
+ pip/_internal/models/__pycache__/__init__.cpython-39.pyc,,
107
+ pip/_internal/models/__pycache__/candidate.cpython-39.pyc,,
108
+ pip/_internal/models/__pycache__/direct_url.cpython-39.pyc,,
109
+ pip/_internal/models/__pycache__/format_control.cpython-39.pyc,,
110
+ pip/_internal/models/__pycache__/index.cpython-39.pyc,,
111
+ pip/_internal/models/__pycache__/link.cpython-39.pyc,,
112
+ pip/_internal/models/__pycache__/scheme.cpython-39.pyc,,
113
+ pip/_internal/models/__pycache__/search_scope.cpython-39.pyc,,
114
+ pip/_internal/models/__pycache__/selection_prefs.cpython-39.pyc,,
115
+ pip/_internal/models/__pycache__/target_python.cpython-39.pyc,,
116
+ pip/_internal/models/__pycache__/wheel.cpython-39.pyc,,
117
+ pip/_internal/models/candidate.py,sha256=gACeCSHTIaWuB6RAeLmGJnbFFbKfp_47UERDoC_ldOU,1195
118
+ pip/_internal/models/direct_url.py,sha256=MnBLPci1hE9Ndh6d3m0LAqB7hX3ci80CCJTE5eerFaQ,6900
119
+ pip/_internal/models/format_control.py,sha256=RdnnmXxVJppCZWzWEmFTr-zD_m3G0izPLqJi6Iop75M,2823
120
+ pip/_internal/models/index.py,sha256=carvxxaT7mJyoEkptaECHUZiNaA6R5NrsGF55zawNn8,1161
121
+ pip/_internal/models/link.py,sha256=FMlxvqKmLoj7xTQSgKqfO2ehE1WcgD4C5DmEBuC_Qos,7470
122
+ pip/_internal/models/scheme.py,sha256=EhPkT_6G0Md84JTLSVopYsp5H_K6BREYmFvU8H6wMK8,778
123
+ pip/_internal/models/search_scope.py,sha256=Lum0mY4_pdR9DDBy6HV5xHGIMPp_kU8vMsqYKFHZip4,4751
124
+ pip/_internal/models/selection_prefs.py,sha256=pgNjTfgePPiX1R5S2S8Yc6odOfU9NzG7YP_m_gnS0kw,2044
125
+ pip/_internal/models/target_python.py,sha256=R7tAXI15B_cgw7Fgnq5cI9F-44goUZncH9JMtE8pXRw,4034
126
+ pip/_internal/models/wheel.py,sha256=FTfzVb4WIbfIehxhdlAVvCil_MQ0-W44oyN56cE6NHc,2772
127
+ pip/_internal/network/__init__.py,sha256=jf6Tt5nV_7zkARBrKojIXItgejvoegVJVKUbhAa5Ioc,50
128
+ pip/_internal/network/__pycache__/__init__.cpython-39.pyc,,
129
+ pip/_internal/network/__pycache__/auth.cpython-39.pyc,,
130
+ pip/_internal/network/__pycache__/cache.cpython-39.pyc,,
131
+ pip/_internal/network/__pycache__/download.cpython-39.pyc,,
132
+ pip/_internal/network/__pycache__/lazy_wheel.cpython-39.pyc,,
133
+ pip/_internal/network/__pycache__/session.cpython-39.pyc,,
134
+ pip/_internal/network/__pycache__/utils.cpython-39.pyc,,
135
+ pip/_internal/network/__pycache__/xmlrpc.cpython-39.pyc,,
136
+ pip/_internal/network/auth.py,sha256=dt3NvTRJ8182S3VpdYFEZMPT0JhOKHyFtR-O-JMlJII,11652
137
+ pip/_internal/network/cache.py,sha256=6cCD7XNrqh1d1lOSY5U-0ZXOG1YwEgMYs-VhRZVyzMA,2329
138
+ pip/_internal/network/download.py,sha256=VTGDO01_nX-5MCdatd4Icv0F88_M8N3WnW6BevA6a0o,5151
139
+ pip/_internal/network/lazy_wheel.py,sha256=RXcQILT5v5UO6kxgv76CSncLTqRL29o-OXbaW2aK7t4,8138
140
+ pip/_internal/network/session.py,sha256=Zs0uiyPxTpfpgSv-ZI9hK9TjasmTplBuBivOTcUiJME,15208
141
+ pip/_internal/network/utils.py,sha256=ZPHg7u6DEcg2EvILIdPECnvPLp21OPHxNVmeXfMy-n0,4172
142
+ pip/_internal/network/xmlrpc.py,sha256=PFCiX_nnwYxC8SFIf7J3trP40ECGjA6fl2-IVNhbkPM,1882
143
+ pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
144
+ pip/_internal/operations/__pycache__/__init__.cpython-39.pyc,,
145
+ pip/_internal/operations/__pycache__/check.cpython-39.pyc,,
146
+ pip/_internal/operations/__pycache__/freeze.cpython-39.pyc,,
147
+ pip/_internal/operations/__pycache__/prepare.cpython-39.pyc,,
148
+ pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
149
+ pip/_internal/operations/build/__pycache__/__init__.cpython-39.pyc,,
150
+ pip/_internal/operations/build/__pycache__/metadata.cpython-39.pyc,,
151
+ pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-39.pyc,,
152
+ pip/_internal/operations/build/__pycache__/wheel.cpython-39.pyc,,
153
+ pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-39.pyc,,
154
+ pip/_internal/operations/build/metadata.py,sha256=2aILgWCQTF1aIhWuCH8TTSjv_kYmA3x1262fT2FQ6pQ,1254
155
+ pip/_internal/operations/build/metadata_legacy.py,sha256=VgzBTk8naIO8-8N_ifEYF7ZAxWUDhphWVIaVlZ2FqYM,2011
156
+ pip/_internal/operations/build/wheel.py,sha256=33vdkxTO-gNqrtWH1eNL_uZo4Irax85moDx2o9zae3M,1465
157
+ pip/_internal/operations/build/wheel_legacy.py,sha256=N1aqNZyGURBX0Bj6wPmB0t4866oMbxoHUpC9pz6FyT0,3356
158
+ pip/_internal/operations/check.py,sha256=JYDsVLvpFyJuJq0ttStgg8TRKbc0myYFAMnfnnQOREM,5215
159
+ pip/_internal/operations/freeze.py,sha256=_vJSZwHBNzBV0GpRUSXhUJz3BrGFdcT2aTcWxH1L4P0,10373
160
+ pip/_internal/operations/install/__init__.py,sha256=mX7hyD2GNBO2mFGokDQ30r_GXv7Y_PLdtxcUv144e-s,51
161
+ pip/_internal/operations/install/__pycache__/__init__.cpython-39.pyc,,
162
+ pip/_internal/operations/install/__pycache__/editable_legacy.cpython-39.pyc,,
163
+ pip/_internal/operations/install/__pycache__/legacy.cpython-39.pyc,,
164
+ pip/_internal/operations/install/__pycache__/wheel.cpython-39.pyc,,
165
+ pip/_internal/operations/install/editable_legacy.py,sha256=rJ_xs2qtDUjpY2-n6eYlVyZiNoKbOtZXZrYrcnIELt4,1488
166
+ pip/_internal/operations/install/legacy.py,sha256=zu3Gw54dgHtluyW5n8j5qKcAScidQXJvqB8fb0oLB-4,4281
167
+ pip/_internal/operations/install/wheel.py,sha256=nJmOSOYY3keksXd_3GFuhAWeeoKvGOyoSGbjXABjZ40,31310
168
+ pip/_internal/operations/prepare.py,sha256=Rt7Yh7w10_Q-vI3b7R1wkt2R6XPX8YVUdODk-TaGI9c,19903
169
+ pip/_internal/pyproject.py,sha256=VJKsrXORGiGoDPVKCQhuu4tWlQSTOhoiRlVLRNu4rx4,7400
170
+ pip/_internal/req/__init__.py,sha256=s-E5Vxxqqpcs7xfY5gY69oHogsWJ4sLbnUiDoWmkHOU,3133
171
+ pip/_internal/req/__pycache__/__init__.cpython-39.pyc,,
172
+ pip/_internal/req/__pycache__/constructors.cpython-39.pyc,,
173
+ pip/_internal/req/__pycache__/req_file.cpython-39.pyc,,
174
+ pip/_internal/req/__pycache__/req_install.cpython-39.pyc,,
175
+ pip/_internal/req/__pycache__/req_set.cpython-39.pyc,,
176
+ pip/_internal/req/__pycache__/req_tracker.cpython-39.pyc,,
177
+ pip/_internal/req/__pycache__/req_uninstall.cpython-39.pyc,,
178
+ pip/_internal/req/constructors.py,sha256=LrSHbRHu52-h6HM1qJKG68o1Jw5q8MvJGfr4As6j2uU,16387
179
+ pip/_internal/req/req_file.py,sha256=p7n3Y0q275Eisqfxd0vtfnxYvlT6TCCY0tj75p-yiOY,19448
180
+ pip/_internal/req/req_install.py,sha256=5IYle0AaLivlkZo6mhU9sj30CbzPqLe92csBnAfJq8U,33610
181
+ pip/_internal/req/req_set.py,sha256=dxcfbieWYfYkTJNE07U8xaO40zLxl8BhWOcIHVFTmoo,7886
182
+ pip/_internal/req/req_tracker.py,sha256=qWaiejNK6o6cqeyTOIGKIU1CoyrXCcqgMHYi3cqelOA,4690
183
+ pip/_internal/req/req_uninstall.py,sha256=opMGDGb7ZaFippRbaarJaljtzl2CNZmBGEUSnTubE-A,23706
184
+ pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
185
+ pip/_internal/resolution/__pycache__/__init__.cpython-39.pyc,,
186
+ pip/_internal/resolution/__pycache__/base.cpython-39.pyc,,
187
+ pip/_internal/resolution/base.py,sha256=xi72YmIS-lEjyK13PN_3qkGGthA4yGoK0C6qWynyHrE,682
188
+ pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
189
+ pip/_internal/resolution/legacy/__pycache__/__init__.cpython-39.pyc,,
190
+ pip/_internal/resolution/legacy/__pycache__/resolver.cpython-39.pyc,,
191
+ pip/_internal/resolution/legacy/resolver.py,sha256=d-qW6UUxbZqKyXmX2bqnW5C8UtnO0ZcsQuKw_QXualc,18755
192
+ pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
+ pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-39.pyc,,
194
+ pip/_internal/resolution/resolvelib/__pycache__/base.cpython-39.pyc,,
195
+ pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-39.pyc,,
196
+ pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-39.pyc,,
197
+ pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-39.pyc,,
198
+ pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-39.pyc,,
199
+ pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-39.pyc,,
200
+ pip/_internal/resolution/resolvelib/base.py,sha256=n8Rilea9jCzhlbtFiJKwCwIQSPW0ATjEKsCc0Vpm894,2342
201
+ pip/_internal/resolution/resolvelib/candidates.py,sha256=RHo9r9g25FWzufKv93Ti9nS4hvAPUrhAjSDL7GCZFNQ,20339
202
+ pip/_internal/resolution/resolvelib/factory.py,sha256=--ahYsr-r9zIhdyJJ1ZuETgaQrWiPIqwILWiMDn1IIU,17169
203
+ pip/_internal/resolution/resolvelib/provider.py,sha256=BP8nh07Z1FlcT-Iaw4FblRM-DjUeUkiItKdKARYeM6M,6134
204
+ pip/_internal/resolution/resolvelib/requirements.py,sha256=lGvoHRhkusRfaz4cFxYBoQNqxS6TeuO3K68qlui6g-0,4511
205
+ pip/_internal/resolution/resolvelib/resolver.py,sha256=kI8g0NVlYIsDMRmDplWQdox6WO-0H7CI2wN-1ixnaew,10149
206
+ pip/_internal/self_outdated_check.py,sha256=q6_nqUHPpt-DScwD97h7FCSqd4nI1s-xkpOI4I5Za3Y,6779
207
+ pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
208
+ pip/_internal/utils/__pycache__/__init__.cpython-39.pyc,,
209
+ pip/_internal/utils/__pycache__/appdirs.cpython-39.pyc,,
210
+ pip/_internal/utils/__pycache__/compat.cpython-39.pyc,,
211
+ pip/_internal/utils/__pycache__/compatibility_tags.cpython-39.pyc,,
212
+ pip/_internal/utils/__pycache__/datetime.cpython-39.pyc,,
213
+ pip/_internal/utils/__pycache__/deprecation.cpython-39.pyc,,
214
+ pip/_internal/utils/__pycache__/direct_url_helpers.cpython-39.pyc,,
215
+ pip/_internal/utils/__pycache__/distutils_args.cpython-39.pyc,,
216
+ pip/_internal/utils/__pycache__/encoding.cpython-39.pyc,,
217
+ pip/_internal/utils/__pycache__/entrypoints.cpython-39.pyc,,
218
+ pip/_internal/utils/__pycache__/filesystem.cpython-39.pyc,,
219
+ pip/_internal/utils/__pycache__/filetypes.cpython-39.pyc,,
220
+ pip/_internal/utils/__pycache__/glibc.cpython-39.pyc,,
221
+ pip/_internal/utils/__pycache__/hashes.cpython-39.pyc,,
222
+ pip/_internal/utils/__pycache__/inject_securetransport.cpython-39.pyc,,
223
+ pip/_internal/utils/__pycache__/logging.cpython-39.pyc,,
224
+ pip/_internal/utils/__pycache__/misc.cpython-39.pyc,,
225
+ pip/_internal/utils/__pycache__/models.cpython-39.pyc,,
226
+ pip/_internal/utils/__pycache__/packaging.cpython-39.pyc,,
227
+ pip/_internal/utils/__pycache__/parallel.cpython-39.pyc,,
228
+ pip/_internal/utils/__pycache__/pkg_resources.cpython-39.pyc,,
229
+ pip/_internal/utils/__pycache__/setuptools_build.cpython-39.pyc,,
230
+ pip/_internal/utils/__pycache__/subprocess.cpython-39.pyc,,
231
+ pip/_internal/utils/__pycache__/temp_dir.cpython-39.pyc,,
232
+ pip/_internal/utils/__pycache__/typing.cpython-39.pyc,,
233
+ pip/_internal/utils/__pycache__/unpacking.cpython-39.pyc,,
234
+ pip/_internal/utils/__pycache__/urls.cpython-39.pyc,,
235
+ pip/_internal/utils/__pycache__/virtualenv.cpython-39.pyc,,
236
+ pip/_internal/utils/__pycache__/wheel.cpython-39.pyc,,
237
+ pip/_internal/utils/appdirs.py,sha256=RZzUG-Bkh2b-miX0DSZ3v703_-bgK-v0PfWCCjwVE9g,1349
238
+ pip/_internal/utils/compat.py,sha256=GoCSUMoUmTGeg5irQGLDZ7v12As87yHrMzBXEke-njg,8865
239
+ pip/_internal/utils/compatibility_tags.py,sha256=EtBJj-pstj_U0STUZ8FjlG7YDTjuRZUy6GY1cM86yv8,5439
240
+ pip/_internal/utils/datetime.py,sha256=KL-vIdGU9JIpGB5NYkmwXWkH-G_2mvvABlmRtoSZsao,295
241
+ pip/_internal/utils/deprecation.py,sha256=pBnNogoA4UGTxa_JDnPXBRRYpKMbExAhXpBwAwklOBs,3318
242
+ pip/_internal/utils/direct_url_helpers.py,sha256=bZCBNwPQVyZpYGjX_VcomvVvRHvKw-9JzEV-Ft09LQc,4359
243
+ pip/_internal/utils/distutils_args.py,sha256=a56mblNxk9BGifbpEETG61mmBrqhjtjRkJ4HYn-oOEE,1350
244
+ pip/_internal/utils/encoding.py,sha256=wHDJ25yCT_T4ySscCL3P978OpLrfDCpitg8D64IEXMY,1284
245
+ pip/_internal/utils/entrypoints.py,sha256=vHcNpnksCv6mllihU6hfifdsKPEjwcaJ1aLIXEaynaU,1152
246
+ pip/_internal/utils/filesystem.py,sha256=-fU3XteCAIJwf_9FvCZU7vhywvt3nuf_cqkCdwgy1Y8,6943
247
+ pip/_internal/utils/filetypes.py,sha256=R2FwzoeX7b-rZALOXx5cuO8VPPMhUQ4ne7wm3n3IcWA,571
248
+ pip/_internal/utils/glibc.py,sha256=LOeNGgawCKS-4ke9fii78fwXD73dtNav3uxz1Bf-Ab8,3297
249
+ pip/_internal/utils/hashes.py,sha256=xHmrqNwC1eBN0oY0R_RXLJLXGvFdo5gwmbz_pas94k8,4358
250
+ pip/_internal/utils/inject_securetransport.py,sha256=M17ZlFVY66ApgeASVjKKLKNz0LAfk-SyU0HZ4ZB6MmI,810
251
+ pip/_internal/utils/logging.py,sha256=YIfuDUEkmdn9cIRQ_Ec8rgXs1m5nOwDECtZqM4CBH5U,13093
252
+ pip/_internal/utils/misc.py,sha256=QQZWMJkKKADPSWQYmrwlasc8b03eCcghn0yDNprYgrI,28001
253
+ pip/_internal/utils/models.py,sha256=HqiBVtTbW_b_Umvj2fjhDWOHo2RKhPwSz4iAYkQZ688,1201
254
+ pip/_internal/utils/packaging.py,sha256=VtiwcAAL7LBi7tGL2je7LeW4bE11KMHGCsJ1NZY5XtM,3035
255
+ pip/_internal/utils/parallel.py,sha256=7az3aaTMCkqpaLFbpYYOvk0rj7Hu5YH1NPXXomqjgf4,3404
256
+ pip/_internal/utils/pkg_resources.py,sha256=ZX-k7V5q_aNWyDse92nN7orN1aCpRLsaxzpkBZ1XKzU,1254
257
+ pip/_internal/utils/setuptools_build.py,sha256=E1KswI7wfNnCDE5R6G8c9ZbByENpu7NqocjY26PCQDw,5058
258
+ pip/_internal/utils/subprocess.py,sha256=UkPe89gcjxBMx73uutoeJXgD3kwdlL6YO16BkjDdVSI,9924
259
+ pip/_internal/utils/temp_dir.py,sha256=blmG0jEvEgdxbYUt_V15bgcTIJIrxZwAw8QZlCTJYDE,8378
260
+ pip/_internal/utils/typing.py,sha256=xkYwOeHlf4zsHXBDC4310HtEqwhQcYXFPq2h35Tcrl0,1401
261
+ pip/_internal/utils/unpacking.py,sha256=YFAckhqqvmehA8Kan5vd3b1kN_9TafqmOk4b-yz4fho,9488
262
+ pip/_internal/utils/urls.py,sha256=q2rw1kMiiig_XZcoyJSsWMJQqYw-2wUmrMoST4mCW_I,1527
263
+ pip/_internal/utils/virtualenv.py,sha256=fNGrRp-8QmNL5OzXajBd-z7PbwOsx1XY6G-AVMAhfso,3706
264
+ pip/_internal/utils/wheel.py,sha256=wFzn3h8GqYvgsyWPZtUyn0Rb3MJzmtyP3owMOhKnmL0,7303
265
+ pip/_internal/vcs/__init__.py,sha256=viJxJRqRE_mVScum85bgQIXAd6o0ozFt18VpC-qIJrM,617
266
+ pip/_internal/vcs/__pycache__/__init__.cpython-39.pyc,,
267
+ pip/_internal/vcs/__pycache__/bazaar.cpython-39.pyc,,
268
+ pip/_internal/vcs/__pycache__/git.cpython-39.pyc,,
269
+ pip/_internal/vcs/__pycache__/mercurial.cpython-39.pyc,,
270
+ pip/_internal/vcs/__pycache__/subversion.cpython-39.pyc,,
271
+ pip/_internal/vcs/__pycache__/versioncontrol.cpython-39.pyc,,
272
+ pip/_internal/vcs/bazaar.py,sha256=5rRR02uDZTLaxQT-R5Obd8FZDOMlShqYds-pwVSJJs8,3887
273
+ pip/_internal/vcs/git.py,sha256=kvB729wrKY0OWMSgOS1pUly4LosZp8utrd3kOQsWalA,13985
274
+ pip/_internal/vcs/mercurial.py,sha256=FzCGmYzVZvB-vyM73fKcQk2B4jMNXGnXlQ2bJ7nmglM,5162
275
+ pip/_internal/vcs/subversion.py,sha256=rldcn9ZDt5twjNPzFn_FKRn4qdfkjlxHMJEsR2MFfoA,12399
276
+ pip/_internal/vcs/versioncontrol.py,sha256=WpxeTRC0NoGB2uXJdmfq4pPxY-p7sk1rV_WkxMxgzQA,25966
277
+ pip/_internal/wheel_builder.py,sha256=6w1VPXrpUvCCPlV0cI1wNaCqNz4laF6B6whvaxl9cns,9522
278
+ pip/_vendor/__init__.py,sha256=CsxnpYPbi_2agrDI79iQrCmQeZRcwwIF0C6cm_1RynU,4588
279
+ pip/_vendor/__pycache__/__init__.cpython-39.pyc,,
280
+ pip/_vendor/__pycache__/appdirs.cpython-39.pyc,,
281
+ pip/_vendor/__pycache__/contextlib2.cpython-39.pyc,,
282
+ pip/_vendor/__pycache__/distro.cpython-39.pyc,,
283
+ pip/_vendor/__pycache__/ipaddress.cpython-39.pyc,,
284
+ pip/_vendor/__pycache__/pyparsing.cpython-39.pyc,,
285
+ pip/_vendor/__pycache__/retrying.cpython-39.pyc,,
286
+ pip/_vendor/__pycache__/six.cpython-39.pyc,,
287
+ pip/_vendor/appdirs.py,sha256=M6IYRJtdZgmSPCXCSMBRB0VT3P8MdFbWCDbSLrB2Ebg,25907
288
+ pip/_vendor/cachecontrol/__init__.py,sha256=pJtAaUxOsMPnytI1A3juAJkXYDr8krdSnsg4Yg3OBEg,302
289
+ pip/_vendor/cachecontrol/__pycache__/__init__.cpython-39.pyc,,
290
+ pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-39.pyc,,
291
+ pip/_vendor/cachecontrol/__pycache__/adapter.cpython-39.pyc,,
292
+ pip/_vendor/cachecontrol/__pycache__/cache.cpython-39.pyc,,
293
+ pip/_vendor/cachecontrol/__pycache__/compat.cpython-39.pyc,,
294
+ pip/_vendor/cachecontrol/__pycache__/controller.cpython-39.pyc,,
295
+ pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-39.pyc,,
296
+ pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-39.pyc,,
297
+ pip/_vendor/cachecontrol/__pycache__/serialize.cpython-39.pyc,,
298
+ pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-39.pyc,,
299
+ pip/_vendor/cachecontrol/_cmd.py,sha256=URGE0KrA87QekCG3SGPatlSPT571dZTDjNa-ZXX3pDc,1295
300
+ pip/_vendor/cachecontrol/adapter.py,sha256=sSwaSYd93IIfCFU4tOMgSo6b2LCt_gBSaQUj8ktJFOA,4882
301
+ pip/_vendor/cachecontrol/cache.py,sha256=1fc4wJP8HYt1ycnJXeEw5pCpeBL2Cqxx6g9Fb0AYDWQ,805
302
+ pip/_vendor/cachecontrol/caches/__init__.py,sha256=-gHNKYvaeD0kOk5M74eOrsSgIKUtC6i6GfbmugGweEo,86
303
+ pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-39.pyc,,
304
+ pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-39.pyc,,
305
+ pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-39.pyc,,
306
+ pip/_vendor/cachecontrol/caches/file_cache.py,sha256=nYVKsJtXh6gJXvdn1iWyrhxvkwpQrK-eKoMRzuiwkKk,4153
307
+ pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=HxelMpNCo-dYr2fiJDwM3hhhRmxUYtB5tXm1GpAAT4Y,856
308
+ pip/_vendor/cachecontrol/compat.py,sha256=kHNvMRdt6s_Xwqq_9qJmr9ou3wYMOMUMxPPcwNxT8Mc,695
309
+ pip/_vendor/cachecontrol/controller.py,sha256=CWEX3pedIM9s60suf4zZPtm_JvVgnvogMGK_OiBG5F8,14149
310
+ pip/_vendor/cachecontrol/filewrapper.py,sha256=vACKO8Llzu_ZWyjV1Fxn1MA4TGU60N5N3GSrAFdAY2Q,2533
311
+ pip/_vendor/cachecontrol/heuristics.py,sha256=BFGHJ3yQcxvZizfo90LLZ04T_Z5XSCXvFotrp7Us0sc,4070
312
+ pip/_vendor/cachecontrol/serialize.py,sha256=vIa4jvq4x_KSOLdEIedoknX2aXYHQujLDFV4-F21Dno,7091
313
+ pip/_vendor/cachecontrol/wrapper.py,sha256=5LX0uJwkNQUtYSEw3aGmGu9WY8wGipd81mJ8lG0d0M4,690
314
+ pip/_vendor/certifi/__init__.py,sha256=u1E_DrSGj_nnEkK5VglvEqP8D80KpghLVWL0A_pq41A,62
315
+ pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
316
+ pip/_vendor/certifi/__pycache__/__init__.cpython-39.pyc,,
317
+ pip/_vendor/certifi/__pycache__/__main__.cpython-39.pyc,,
318
+ pip/_vendor/certifi/__pycache__/core.cpython-39.pyc,,
319
+ pip/_vendor/certifi/cacert.pem,sha256=GhT24f0R7_9y4YY_hkXwkO7BthZhRGDCEMO348E9S14,282394
320
+ pip/_vendor/certifi/core.py,sha256=jBrwKEWpG0IKcuozK0BQ2HHGp8adXAOyBPC7ddgR6vM,2315
321
+ pip/_vendor/chardet/__init__.py,sha256=YsP5wQlsHJ2auF1RZJfypiSrCA7_bQiRm3ES_NI76-Y,1559
322
+ pip/_vendor/chardet/__pycache__/__init__.cpython-39.pyc,,
323
+ pip/_vendor/chardet/__pycache__/big5freq.cpython-39.pyc,,
324
+ pip/_vendor/chardet/__pycache__/big5prober.cpython-39.pyc,,
325
+ pip/_vendor/chardet/__pycache__/chardistribution.cpython-39.pyc,,
326
+ pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-39.pyc,,
327
+ pip/_vendor/chardet/__pycache__/charsetprober.cpython-39.pyc,,
328
+ pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-39.pyc,,
329
+ pip/_vendor/chardet/__pycache__/compat.cpython-39.pyc,,
330
+ pip/_vendor/chardet/__pycache__/cp949prober.cpython-39.pyc,,
331
+ pip/_vendor/chardet/__pycache__/enums.cpython-39.pyc,,
332
+ pip/_vendor/chardet/__pycache__/escprober.cpython-39.pyc,,
333
+ pip/_vendor/chardet/__pycache__/escsm.cpython-39.pyc,,
334
+ pip/_vendor/chardet/__pycache__/eucjpprober.cpython-39.pyc,,
335
+ pip/_vendor/chardet/__pycache__/euckrfreq.cpython-39.pyc,,
336
+ pip/_vendor/chardet/__pycache__/euckrprober.cpython-39.pyc,,
337
+ pip/_vendor/chardet/__pycache__/euctwfreq.cpython-39.pyc,,
338
+ pip/_vendor/chardet/__pycache__/euctwprober.cpython-39.pyc,,
339
+ pip/_vendor/chardet/__pycache__/gb2312freq.cpython-39.pyc,,
340
+ pip/_vendor/chardet/__pycache__/gb2312prober.cpython-39.pyc,,
341
+ pip/_vendor/chardet/__pycache__/hebrewprober.cpython-39.pyc,,
342
+ pip/_vendor/chardet/__pycache__/jisfreq.cpython-39.pyc,,
343
+ pip/_vendor/chardet/__pycache__/jpcntx.cpython-39.pyc,,
344
+ pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-39.pyc,,
345
+ pip/_vendor/chardet/__pycache__/langcyrillicmodel.cpython-39.pyc,,
346
+ pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-39.pyc,,
347
+ pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-39.pyc,,
348
+ pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-39.pyc,,
349
+ pip/_vendor/chardet/__pycache__/langthaimodel.cpython-39.pyc,,
350
+ pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-39.pyc,,
351
+ pip/_vendor/chardet/__pycache__/latin1prober.cpython-39.pyc,,
352
+ pip/_vendor/chardet/__pycache__/mbcharsetprober.cpython-39.pyc,,
353
+ pip/_vendor/chardet/__pycache__/mbcsgroupprober.cpython-39.pyc,,
354
+ pip/_vendor/chardet/__pycache__/mbcssm.cpython-39.pyc,,
355
+ pip/_vendor/chardet/__pycache__/sbcharsetprober.cpython-39.pyc,,
356
+ pip/_vendor/chardet/__pycache__/sbcsgroupprober.cpython-39.pyc,,
357
+ pip/_vendor/chardet/__pycache__/sjisprober.cpython-39.pyc,,
358
+ pip/_vendor/chardet/__pycache__/universaldetector.cpython-39.pyc,,
359
+ pip/_vendor/chardet/__pycache__/utf8prober.cpython-39.pyc,,
360
+ pip/_vendor/chardet/__pycache__/version.cpython-39.pyc,,
361
+ pip/_vendor/chardet/big5freq.py,sha256=D_zK5GyzoVsRes0HkLJziltFQX0bKCLOrFe9_xDvO_8,31254
362
+ pip/_vendor/chardet/big5prober.py,sha256=kBxHbdetBpPe7xrlb-e990iot64g_eGSLd32lB7_h3M,1757
363
+ pip/_vendor/chardet/chardistribution.py,sha256=3woWS62KrGooKyqz4zQSnjFbJpa6V7g02daAibTwcl8,9411
364
+ pip/_vendor/chardet/charsetgroupprober.py,sha256=6bDu8YIiRuScX4ca9Igb0U69TA2PGXXDej6Cc4_9kO4,3787
365
+ pip/_vendor/chardet/charsetprober.py,sha256=KSmwJErjypyj0bRZmC5F5eM7c8YQgLYIjZXintZNstg,5110
366
+ pip/_vendor/chardet/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
367
+ pip/_vendor/chardet/cli/__pycache__/__init__.cpython-39.pyc,,
368
+ pip/_vendor/chardet/cli/__pycache__/chardetect.cpython-39.pyc,,
369
+ pip/_vendor/chardet/cli/chardetect.py,sha256=DI8dlV3FBD0c0XA_y3sQ78z754DUv1J8n34RtDjOXNw,2774
370
+ pip/_vendor/chardet/codingstatemachine.py,sha256=VYp_6cyyki5sHgXDSZnXW4q1oelHc3cu9AyQTX7uug8,3590
371
+ pip/_vendor/chardet/compat.py,sha256=PKTzHkSbtbHDqS9PyujMbX74q1a8mMpeQTDVsQhZMRw,1134
372
+ pip/_vendor/chardet/cp949prober.py,sha256=TZ434QX8zzBsnUvL_8wm4AQVTZ2ZkqEEQL_lNw9f9ow,1855
373
+ pip/_vendor/chardet/enums.py,sha256=Aimwdb9as1dJKZaFNUH2OhWIVBVd6ZkJJ_WK5sNY8cU,1661
374
+ pip/_vendor/chardet/escprober.py,sha256=kkyqVg1Yw3DIOAMJ2bdlyQgUFQhuHAW8dUGskToNWSc,3950
375
+ pip/_vendor/chardet/escsm.py,sha256=RuXlgNvTIDarndvllNCk5WZBIpdCxQ0kcd9EAuxUh84,10510
376
+ pip/_vendor/chardet/eucjpprober.py,sha256=iD8Jdp0ISRjgjiVN7f0e8xGeQJ5GM2oeZ1dA8nbSeUw,3749
377
+ pip/_vendor/chardet/euckrfreq.py,sha256=-7GdmvgWez4-eO4SuXpa7tBiDi5vRXQ8WvdFAzVaSfo,13546
378
+ pip/_vendor/chardet/euckrprober.py,sha256=MqFMTQXxW4HbzIpZ9lKDHB3GN8SP4yiHenTmf8g_PxY,1748
379
+ pip/_vendor/chardet/euctwfreq.py,sha256=No1WyduFOgB5VITUA7PLyC5oJRNzRyMbBxaKI1l16MA,31621
380
+ pip/_vendor/chardet/euctwprober.py,sha256=13p6EP4yRaxqnP4iHtxHOJ6R2zxHq1_m8hTRjzVZ95c,1747
381
+ pip/_vendor/chardet/gb2312freq.py,sha256=JX8lsweKLmnCwmk8UHEQsLgkr_rP_kEbvivC4qPOrlc,20715
382
+ pip/_vendor/chardet/gb2312prober.py,sha256=gGvIWi9WhDjE-xQXHvNIyrnLvEbMAYgyUSZ65HUfylw,1754
383
+ pip/_vendor/chardet/hebrewprober.py,sha256=c3SZ-K7hvyzGY6JRAZxJgwJ_sUS9k0WYkvMY00YBYFo,13838
384
+ pip/_vendor/chardet/jisfreq.py,sha256=vpmJv2Bu0J8gnMVRPHMFefTRvo_ha1mryLig8CBwgOg,25777
385
+ pip/_vendor/chardet/jpcntx.py,sha256=PYlNqRUQT8LM3cT5FmHGP0iiscFlTWED92MALvBungo,19643
386
+ pip/_vendor/chardet/langbulgarianmodel.py,sha256=1HqQS9Pbtnj1xQgxitJMvw8X6kKr5OockNCZWfEQrPE,12839
387
+ pip/_vendor/chardet/langcyrillicmodel.py,sha256=LODajvsetH87yYDDQKA2CULXUH87tI223dhfjh9Zx9c,17948
388
+ pip/_vendor/chardet/langgreekmodel.py,sha256=8YAW7bU8YwSJap0kIJSbPMw1BEqzGjWzqcqf0WgUKAA,12688
389
+ pip/_vendor/chardet/langhebrewmodel.py,sha256=JSnqmE5E62tDLTPTvLpQsg5gOMO4PbdWRvV7Avkc0HA,11345
390
+ pip/_vendor/chardet/langhungarianmodel.py,sha256=RhapYSG5l0ZaO-VV4Fan5sW0WRGQqhwBM61yx3yxyOA,12592
391
+ pip/_vendor/chardet/langthaimodel.py,sha256=8l0173Gu_W6G8mxmQOTEF4ls2YdE7FxWf3QkSxEGXJQ,11290
392
+ pip/_vendor/chardet/langturkishmodel.py,sha256=W22eRNJsqI6uWAfwXSKVWWnCerYqrI8dZQTm_M0lRFk,11102
393
+ pip/_vendor/chardet/latin1prober.py,sha256=S2IoORhFk39FEFOlSFWtgVybRiP6h7BlLldHVclNkU8,5370
394
+ pip/_vendor/chardet/mbcharsetprober.py,sha256=AR95eFH9vuqSfvLQZN-L5ijea25NOBCoXqw8s5O9xLQ,3413
395
+ pip/_vendor/chardet/mbcsgroupprober.py,sha256=h6TRnnYq2OxG1WdD5JOyxcdVpn7dG0q-vB8nWr5mbh4,2012
396
+ pip/_vendor/chardet/mbcssm.py,sha256=SY32wVIF3HzcjY3BaEspy9metbNSKxIIB0RKPn7tjpI,25481
397
+ pip/_vendor/chardet/sbcharsetprober.py,sha256=LDSpCldDCFlYwUkGkwD2oFxLlPWIWXT09akH_2PiY74,5657
398
+ pip/_vendor/chardet/sbcsgroupprober.py,sha256=1IprcCB_k1qfmnxGC6MBbxELlKqD3scW6S8YIwdeyXA,3546
399
+ pip/_vendor/chardet/sjisprober.py,sha256=IIt-lZj0WJqK4rmUZzKZP4GJlE8KUEtFYVuY96ek5MQ,3774
400
+ pip/_vendor/chardet/universaldetector.py,sha256=qL0174lSZE442eB21nnktT9_VcAye07laFWUeUrjttY,12485
401
+ pip/_vendor/chardet/utf8prober.py,sha256=IdD8v3zWOsB8OLiyPi-y_fqwipRFxV9Nc1eKBLSuIEw,2766
402
+ pip/_vendor/chardet/version.py,sha256=sp3B08mrDXB-pf3K9fqJ_zeDHOCLC8RrngQyDFap_7g,242
403
+ pip/_vendor/colorama/__init__.py,sha256=DqjXH9URVP3IJwmMt7peYw50ns1RNAymIB9-XdPEFV8,239
404
+ pip/_vendor/colorama/__pycache__/__init__.cpython-39.pyc,,
405
+ pip/_vendor/colorama/__pycache__/ansi.cpython-39.pyc,,
406
+ pip/_vendor/colorama/__pycache__/ansitowin32.cpython-39.pyc,,
407
+ pip/_vendor/colorama/__pycache__/initialise.cpython-39.pyc,,
408
+ pip/_vendor/colorama/__pycache__/win32.cpython-39.pyc,,
409
+ pip/_vendor/colorama/__pycache__/winterm.cpython-39.pyc,,
410
+ pip/_vendor/colorama/ansi.py,sha256=Fi0un-QLqRm-v7o_nKiOqyC8PapBJK7DLV_q9LKtTO0,2524
411
+ pip/_vendor/colorama/ansitowin32.py,sha256=u8QaqdqS_xYSfNkPM1eRJLHz6JMWPodaJaP0mxgHCDc,10462
412
+ pip/_vendor/colorama/initialise.py,sha256=PprovDNxMTrvoNHFcL2NZjpH2XzDc8BLxLxiErfUl4k,1915
413
+ pip/_vendor/colorama/win32.py,sha256=bJ8Il9jwaBN5BJ8bmN6FoYZ1QYuMKv2j8fGrXh7TJjw,5404
414
+ pip/_vendor/colorama/winterm.py,sha256=2y_2b7Zsv34feAsP67mLOVc-Bgq51mdYGo571VprlrM,6438
415
+ pip/_vendor/contextlib2.py,sha256=5HjGflUzwWAUfcILhSmC2GqvoYdZZzFzVfIDztHigUs,16915
416
+ pip/_vendor/distlib/__init__.py,sha256=3veAk2rPznOB2gsK6tjbbh0TQMmGE5P82eE9wXq6NIk,581
417
+ pip/_vendor/distlib/__pycache__/__init__.cpython-39.pyc,,
418
+ pip/_vendor/distlib/__pycache__/compat.cpython-39.pyc,,
419
+ pip/_vendor/distlib/__pycache__/database.cpython-39.pyc,,
420
+ pip/_vendor/distlib/__pycache__/index.cpython-39.pyc,,
421
+ pip/_vendor/distlib/__pycache__/locators.cpython-39.pyc,,
422
+ pip/_vendor/distlib/__pycache__/manifest.cpython-39.pyc,,
423
+ pip/_vendor/distlib/__pycache__/markers.cpython-39.pyc,,
424
+ pip/_vendor/distlib/__pycache__/metadata.cpython-39.pyc,,
425
+ pip/_vendor/distlib/__pycache__/resources.cpython-39.pyc,,
426
+ pip/_vendor/distlib/__pycache__/scripts.cpython-39.pyc,,
427
+ pip/_vendor/distlib/__pycache__/util.cpython-39.pyc,,
428
+ pip/_vendor/distlib/__pycache__/version.cpython-39.pyc,,
429
+ pip/_vendor/distlib/__pycache__/wheel.cpython-39.pyc,,
430
+ pip/_vendor/distlib/_backport/__init__.py,sha256=bqS_dTOH6uW9iGgd0uzfpPjo6vZ4xpPZ7kyfZJ2vNaw,274
431
+ pip/_vendor/distlib/_backport/__pycache__/__init__.cpython-39.pyc,,
432
+ pip/_vendor/distlib/_backport/__pycache__/misc.cpython-39.pyc,,
433
+ pip/_vendor/distlib/_backport/__pycache__/shutil.cpython-39.pyc,,
434
+ pip/_vendor/distlib/_backport/__pycache__/sysconfig.cpython-39.pyc,,
435
+ pip/_vendor/distlib/_backport/__pycache__/tarfile.cpython-39.pyc,,
436
+ pip/_vendor/distlib/_backport/misc.py,sha256=KWecINdbFNOxSOP1fGF680CJnaC6S4fBRgEtaYTw0ig,971
437
+ pip/_vendor/distlib/_backport/shutil.py,sha256=IX_G2NPqwecJibkIDje04bqu0xpHkfSQ2GaGdEVqM5Y,25707
438
+ pip/_vendor/distlib/_backport/sysconfig.cfg,sha256=swZKxq9RY5e9r3PXCrlvQPMsvOdiWZBTHLEbqS8LJLU,2617
439
+ pip/_vendor/distlib/_backport/sysconfig.py,sha256=BQHFlb6pubCl_dvT1NjtzIthylofjKisox239stDg0U,26854
440
+ pip/_vendor/distlib/_backport/tarfile.py,sha256=Ihp7rXRcjbIKw8COm9wSePV9ARGXbSF9gGXAMn2Q-KU,92628
441
+ pip/_vendor/distlib/compat.py,sha256=ADA56xiAxar3mU6qemlBhNbsrFPosXRhO44RzsbJPqk,41408
442
+ pip/_vendor/distlib/database.py,sha256=Kl0YvPQKc4OcpVi7k5cFziydM1xOK8iqdxLGXgbZHV4,51059
443
+ pip/_vendor/distlib/index.py,sha256=SXKzpQCERctxYDMp_OLee2f0J0e19ZhGdCIoMlUfUQM,21066
444
+ pip/_vendor/distlib/locators.py,sha256=c9E4cDEacJ_uKbuE5BqAVocoWp6rsuBGTkiNDQq3zV4,52100
445
+ pip/_vendor/distlib/manifest.py,sha256=nQEhYmgoreaBZzyFzwYsXxJARu3fo4EkunU163U16iE,14811
446
+ pip/_vendor/distlib/markers.py,sha256=6Ac3cCfFBERexiESWIOXmg-apIP8l2esafNSX3KMy-8,4387
447
+ pip/_vendor/distlib/metadata.py,sha256=z2KPy3h3tcDnb9Xs7nAqQ5Oz0bqjWAUFmKWcFKRoodg,38962
448
+ pip/_vendor/distlib/resources.py,sha256=2FGv0ZHF14KXjLIlL0R991lyQQGcewOS4mJ-5n-JVnc,10766
449
+ pip/_vendor/distlib/scripts.py,sha256=_MAj3sMuv56kuM8FsiIWXqbT0gmumPGaOR_atOzn4a4,17180
450
+ pip/_vendor/distlib/t32.exe,sha256=NS3xBCVAld35JVFNmb-1QRyVtThukMrwZVeXn4LhaEQ,96768
451
+ pip/_vendor/distlib/t64.exe,sha256=oAqHes78rUWVM0OtVqIhUvequl_PKhAhXYQWnUf7zR0,105984
452
+ pip/_vendor/distlib/util.py,sha256=f2jZCPrcLCt6LcnC0gUy-Fur60tXD8reA7k4rDpHMDw,59845
453
+ pip/_vendor/distlib/version.py,sha256=_n7F6juvQGAcn769E_SHa7fOcf5ERlEVymJ_EjPRwGw,23391
454
+ pip/_vendor/distlib/w32.exe,sha256=lJtnZdeUxTZWya_EW5DZos_K5rswRECGspIl8ZJCIXs,90112
455
+ pip/_vendor/distlib/w64.exe,sha256=0aRzoN2BO9NWW4ENy4_4vHkHR4qZTFZNVSAJJYlODTI,99840
456
+ pip/_vendor/distlib/wheel.py,sha256=v6DnwTqhNHwrEVFr8_YeiTW6G4ftP_evsywNgrmdb2o,41144
457
+ pip/_vendor/distro.py,sha256=xxMIh2a3KmippeWEHzynTdHT3_jZM0o-pos0dAWJROM,43628
458
+ pip/_vendor/html5lib/__init__.py,sha256=BYzcKCqeEii52xDrqBFruhnmtmkiuHXFyFh-cglQ8mk,1160
459
+ pip/_vendor/html5lib/__pycache__/__init__.cpython-39.pyc,,
460
+ pip/_vendor/html5lib/__pycache__/_ihatexml.cpython-39.pyc,,
461
+ pip/_vendor/html5lib/__pycache__/_inputstream.cpython-39.pyc,,
462
+ pip/_vendor/html5lib/__pycache__/_tokenizer.cpython-39.pyc,,
463
+ pip/_vendor/html5lib/__pycache__/_utils.cpython-39.pyc,,
464
+ pip/_vendor/html5lib/__pycache__/constants.cpython-39.pyc,,
465
+ pip/_vendor/html5lib/__pycache__/html5parser.cpython-39.pyc,,
466
+ pip/_vendor/html5lib/__pycache__/serializer.cpython-39.pyc,,
467
+ pip/_vendor/html5lib/_ihatexml.py,sha256=ifOwF7pXqmyThIXc3boWc96s4MDezqRrRVp7FwDYUFs,16728
468
+ pip/_vendor/html5lib/_inputstream.py,sha256=jErNASMlkgs7MpOM9Ve_VdLDJyFFweAjLuhVutZz33U,32353
469
+ pip/_vendor/html5lib/_tokenizer.py,sha256=04mgA2sNTniutl2fxFv-ei5bns4iRaPxVXXHh_HrV_4,77040
470
+ pip/_vendor/html5lib/_trie/__init__.py,sha256=nqfgO910329BEVJ5T4psVwQtjd2iJyEXQ2-X8c1YxwU,109
471
+ pip/_vendor/html5lib/_trie/__pycache__/__init__.cpython-39.pyc,,
472
+ pip/_vendor/html5lib/_trie/__pycache__/_base.cpython-39.pyc,,
473
+ pip/_vendor/html5lib/_trie/__pycache__/py.cpython-39.pyc,,
474
+ pip/_vendor/html5lib/_trie/_base.py,sha256=CaybYyMro8uERQYjby2tTeSUatnWDfWroUN9N7ety5w,1013
475
+ pip/_vendor/html5lib/_trie/py.py,sha256=wXmQLrZRf4MyWNyg0m3h81m9InhLR7GJ002mIIZh-8o,1775
476
+ pip/_vendor/html5lib/_utils.py,sha256=Dx9AKntksRjFT1veBj7I362pf5OgIaT0zglwq43RnfU,4931
477
+ pip/_vendor/html5lib/constants.py,sha256=Ll-yzLU_jcjyAI_h57zkqZ7aQWE5t5xA4y_jQgoUUhw,83464
478
+ pip/_vendor/html5lib/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
479
+ pip/_vendor/html5lib/filters/__pycache__/__init__.cpython-39.pyc,,
480
+ pip/_vendor/html5lib/filters/__pycache__/alphabeticalattributes.cpython-39.pyc,,
481
+ pip/_vendor/html5lib/filters/__pycache__/base.cpython-39.pyc,,
482
+ pip/_vendor/html5lib/filters/__pycache__/inject_meta_charset.cpython-39.pyc,,
483
+ pip/_vendor/html5lib/filters/__pycache__/lint.cpython-39.pyc,,
484
+ pip/_vendor/html5lib/filters/__pycache__/optionaltags.cpython-39.pyc,,
485
+ pip/_vendor/html5lib/filters/__pycache__/sanitizer.cpython-39.pyc,,
486
+ pip/_vendor/html5lib/filters/__pycache__/whitespace.cpython-39.pyc,,
487
+ pip/_vendor/html5lib/filters/alphabeticalattributes.py,sha256=lViZc2JMCclXi_5gduvmdzrRxtO5Xo9ONnbHBVCsykU,919
488
+ pip/_vendor/html5lib/filters/base.py,sha256=z-IU9ZAYjpsVsqmVt7kuWC63jR11hDMr6CVrvuao8W0,286
489
+ pip/_vendor/html5lib/filters/inject_meta_charset.py,sha256=egDXUEHXmAG9504xz0K6ALDgYkvUrC2q15YUVeNlVQg,2945
490
+ pip/_vendor/html5lib/filters/lint.py,sha256=jk6q56xY0ojiYfvpdP-OZSm9eTqcAdRqhCoPItemPYA,3643
491
+ pip/_vendor/html5lib/filters/optionaltags.py,sha256=8lWT75J0aBOHmPgfmqTHSfPpPMp01T84NKu0CRedxcE,10588
492
+ pip/_vendor/html5lib/filters/sanitizer.py,sha256=m6oGmkBhkGAnn2nV6D4hE78SCZ6WEnK9rKdZB3uXBIc,26897
493
+ pip/_vendor/html5lib/filters/whitespace.py,sha256=8eWqZxd4UC4zlFGW6iyY6f-2uuT8pOCSALc3IZt7_t4,1214
494
+ pip/_vendor/html5lib/html5parser.py,sha256=anr-aXre_ImfrkQ35c_rftKXxC80vJCREKe06Tq15HA,117186
495
+ pip/_vendor/html5lib/serializer.py,sha256=_PpvcZF07cwE7xr9uKkZqh5f4UEaI8ltCU2xPJzaTpk,15759
496
+ pip/_vendor/html5lib/treeadapters/__init__.py,sha256=A0rY5gXIe4bJOiSGRO_j_tFhngRBO8QZPzPtPw5dFzo,679
497
+ pip/_vendor/html5lib/treeadapters/__pycache__/__init__.cpython-39.pyc,,
498
+ pip/_vendor/html5lib/treeadapters/__pycache__/genshi.cpython-39.pyc,,
499
+ pip/_vendor/html5lib/treeadapters/__pycache__/sax.cpython-39.pyc,,
500
+ pip/_vendor/html5lib/treeadapters/genshi.py,sha256=CH27pAsDKmu4ZGkAUrwty7u0KauGLCZRLPMzaO3M5vo,1715
501
+ pip/_vendor/html5lib/treeadapters/sax.py,sha256=BKS8woQTnKiqeffHsxChUqL4q2ZR_wb5fc9MJ3zQC8s,1776
502
+ pip/_vendor/html5lib/treebuilders/__init__.py,sha256=AysSJyvPfikCMMsTVvaxwkgDieELD5dfR8FJIAuq7hY,3592
503
+ pip/_vendor/html5lib/treebuilders/__pycache__/__init__.cpython-39.pyc,,
504
+ pip/_vendor/html5lib/treebuilders/__pycache__/base.cpython-39.pyc,,
505
+ pip/_vendor/html5lib/treebuilders/__pycache__/dom.cpython-39.pyc,,
506
+ pip/_vendor/html5lib/treebuilders/__pycache__/etree.cpython-39.pyc,,
507
+ pip/_vendor/html5lib/treebuilders/__pycache__/etree_lxml.cpython-39.pyc,,
508
+ pip/_vendor/html5lib/treebuilders/base.py,sha256=z-o51vt9r_l2IDG5IioTOKGzZne4Fy3_Fc-7ztrOh4I,14565
509
+ pip/_vendor/html5lib/treebuilders/dom.py,sha256=22whb0C71zXIsai5mamg6qzBEiigcBIvaDy4Asw3at0,8925
510
+ pip/_vendor/html5lib/treebuilders/etree.py,sha256=w5ZFpKk6bAxnrwD2_BrF5EVC7vzz0L3LMi9Sxrbc_8w,12836
511
+ pip/_vendor/html5lib/treebuilders/etree_lxml.py,sha256=9gqDjs-IxsPhBYa5cpvv2FZ1KZlG83Giusy2lFmvIkE,14766
512
+ pip/_vendor/html5lib/treewalkers/__init__.py,sha256=OBPtc1TU5mGyy18QDMxKEyYEz0wxFUUNj5v0-XgmYhY,5719
513
+ pip/_vendor/html5lib/treewalkers/__pycache__/__init__.cpython-39.pyc,,
514
+ pip/_vendor/html5lib/treewalkers/__pycache__/base.cpython-39.pyc,,
515
+ pip/_vendor/html5lib/treewalkers/__pycache__/dom.cpython-39.pyc,,
516
+ pip/_vendor/html5lib/treewalkers/__pycache__/etree.cpython-39.pyc,,
517
+ pip/_vendor/html5lib/treewalkers/__pycache__/etree_lxml.cpython-39.pyc,,
518
+ pip/_vendor/html5lib/treewalkers/__pycache__/genshi.cpython-39.pyc,,
519
+ pip/_vendor/html5lib/treewalkers/base.py,sha256=ouiOsuSzvI0KgzdWP8PlxIaSNs9falhbiinAEc_UIJY,7476
520
+ pip/_vendor/html5lib/treewalkers/dom.py,sha256=EHyFR8D8lYNnyDU9lx_IKigVJRyecUGua0mOi7HBukc,1413
521
+ pip/_vendor/html5lib/treewalkers/etree.py,sha256=xo1L5m9VtkfpFJK0pFmkLVajhqYYVisVZn3k9kYpPkI,4551
522
+ pip/_vendor/html5lib/treewalkers/etree_lxml.py,sha256=_b0LAVWLcVu9WaU_-w3D8f0IRSpCbjf667V-3NRdhTw,6357
523
+ pip/_vendor/html5lib/treewalkers/genshi.py,sha256=4D2PECZ5n3ZN3qu3jMl9yY7B81jnQApBQSVlfaIuYbA,2309
524
+ pip/_vendor/idna/__init__.py,sha256=9Nt7xpyet3DmOrPUGooDdAwmHZZu1qUAy2EaJ93kGiQ,58
525
+ pip/_vendor/idna/__pycache__/__init__.cpython-39.pyc,,
526
+ pip/_vendor/idna/__pycache__/codec.cpython-39.pyc,,
527
+ pip/_vendor/idna/__pycache__/compat.cpython-39.pyc,,
528
+ pip/_vendor/idna/__pycache__/core.cpython-39.pyc,,
529
+ pip/_vendor/idna/__pycache__/idnadata.cpython-39.pyc,,
530
+ pip/_vendor/idna/__pycache__/intranges.cpython-39.pyc,,
531
+ pip/_vendor/idna/__pycache__/package_data.cpython-39.pyc,,
532
+ pip/_vendor/idna/__pycache__/uts46data.cpython-39.pyc,,
533
+ pip/_vendor/idna/codec.py,sha256=lvYb7yu7PhAqFaAIAdWcwgaWI2UmgseUua-1c0AsG0A,3299
534
+ pip/_vendor/idna/compat.py,sha256=R-h29D-6mrnJzbXxymrWUW7iZUvy-26TQwZ0ij57i4U,232
535
+ pip/_vendor/idna/core.py,sha256=jCoaLb3bA2tS_DDx9PpGuNTEZZN2jAzB369aP-IHYRE,11951
536
+ pip/_vendor/idna/idnadata.py,sha256=gmzFwZWjdms3kKZ_M_vwz7-LP_SCgYfSeE03B21Qpsk,42350
537
+ pip/_vendor/idna/intranges.py,sha256=TY1lpxZIQWEP6tNqjZkFA5hgoMWOj1OBmnUG8ihT87E,1749
538
+ pip/_vendor/idna/package_data.py,sha256=bxBjpLnE06_1jSYKEy5svOMu1zM3OMztXVUb1tPlcp0,22
539
+ pip/_vendor/idna/uts46data.py,sha256=lMdw2zdjkH1JUWXPPEfFUSYT3Fyj60bBmfLvvy5m7ko,202084
540
+ pip/_vendor/ipaddress.py,sha256=-0RmurI31XgAaN20WCi0zrcuoat90nNA70_6yGlx2PU,79875
541
+ pip/_vendor/msgpack/__init__.py,sha256=2gJwcsTIaAtCM0GMi2rU-_Y6kILeeQuqRkrQ22jSANc,1118
542
+ pip/_vendor/msgpack/__pycache__/__init__.cpython-39.pyc,,
543
+ pip/_vendor/msgpack/__pycache__/_version.cpython-39.pyc,,
544
+ pip/_vendor/msgpack/__pycache__/exceptions.cpython-39.pyc,,
545
+ pip/_vendor/msgpack/__pycache__/ext.cpython-39.pyc,,
546
+ pip/_vendor/msgpack/__pycache__/fallback.cpython-39.pyc,,
547
+ pip/_vendor/msgpack/_version.py,sha256=hu7lzmZ_ClOaOOmRsWb4xomhzQ4UIsLsvv8KY6UysHE,20
548
+ pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
549
+ pip/_vendor/msgpack/ext.py,sha256=nV19BzE9Be8SJHrxxYJHFbvEHJaXcP3avRkHVp5wovM,6034
550
+ pip/_vendor/msgpack/fallback.py,sha256=Z8V3iYUUPqKVy4WWTk64Vq3G0PylQIOmlWvgnMhmkdU,37133
551
+ pip/_vendor/packaging/__about__.py,sha256=PNMsaZn4UcCHyubgROH1bl6CluduPjI5kFrSp_Zgklo,736
552
+ pip/_vendor/packaging/__init__.py,sha256=6enbp5XgRfjBjsI9-bn00HjHf5TH21PDMOKkJW8xw-w,562
553
+ pip/_vendor/packaging/__pycache__/__about__.cpython-39.pyc,,
554
+ pip/_vendor/packaging/__pycache__/__init__.cpython-39.pyc,,
555
+ pip/_vendor/packaging/__pycache__/_compat.cpython-39.pyc,,
556
+ pip/_vendor/packaging/__pycache__/_structures.cpython-39.pyc,,
557
+ pip/_vendor/packaging/__pycache__/_typing.cpython-39.pyc,,
558
+ pip/_vendor/packaging/__pycache__/markers.cpython-39.pyc,,
559
+ pip/_vendor/packaging/__pycache__/requirements.cpython-39.pyc,,
560
+ pip/_vendor/packaging/__pycache__/specifiers.cpython-39.pyc,,
561
+ pip/_vendor/packaging/__pycache__/tags.cpython-39.pyc,,
562
+ pip/_vendor/packaging/__pycache__/utils.cpython-39.pyc,,
563
+ pip/_vendor/packaging/__pycache__/version.cpython-39.pyc,,
564
+ pip/_vendor/packaging/_compat.py,sha256=MXdsGpSE_W-ZrHoC87andI4LV2FAwU7HLL-eHe_CjhU,1128
565
+ pip/_vendor/packaging/_structures.py,sha256=ozkCX8Q8f2qE1Eic3YiQ4buDVfgz2iYevY9e7R2y3iY,2022
566
+ pip/_vendor/packaging/_typing.py,sha256=VgA0AAvsc97KB5nF89zoudOyCMEsV7FlaXzZbYqEkzA,1824
567
+ pip/_vendor/packaging/markers.py,sha256=V_RdoQqOUbSfy7y9o2vRk7BkzAh3yneC82cuWpKrqOg,9491
568
+ pip/_vendor/packaging/requirements.py,sha256=F93hkn7i8NKRZP-FtdTIlhz1PUsRjhe6eRbsBXX0Uh4,4903
569
+ pip/_vendor/packaging/specifiers.py,sha256=uYp9l13F0LcknS6d4N60ytiBgFmIhKideOq9AnsxTco,31944
570
+ pip/_vendor/packaging/tags.py,sha256=NKMS37Zo_nWrZxgsD6zbXsXgc9edn9m160cBiLmHJdE,24067
571
+ pip/_vendor/packaging/utils.py,sha256=RShlvnjO2CtYSD8uri32frMMFMTmB-3ihsq1-ghzLEw,1811
572
+ pip/_vendor/packaging/version.py,sha256=Cnbm-OO9D_qd8ZTFxzFcjSavexSYFZmyeaoPvMsjgPc,15470
573
+ pip/_vendor/pep517/__init__.py,sha256=r5uA106NGJa3slspaD2m32aFpFUiZX-mZ9vIlzAEOp4,84
574
+ pip/_vendor/pep517/__pycache__/__init__.cpython-39.pyc,,
575
+ pip/_vendor/pep517/__pycache__/_in_process.cpython-39.pyc,,
576
+ pip/_vendor/pep517/__pycache__/build.cpython-39.pyc,,
577
+ pip/_vendor/pep517/__pycache__/check.cpython-39.pyc,,
578
+ pip/_vendor/pep517/__pycache__/colorlog.cpython-39.pyc,,
579
+ pip/_vendor/pep517/__pycache__/compat.cpython-39.pyc,,
580
+ pip/_vendor/pep517/__pycache__/dirtools.cpython-39.pyc,,
581
+ pip/_vendor/pep517/__pycache__/envbuild.cpython-39.pyc,,
582
+ pip/_vendor/pep517/__pycache__/meta.cpython-39.pyc,,
583
+ pip/_vendor/pep517/__pycache__/wrappers.cpython-39.pyc,,
584
+ pip/_vendor/pep517/_in_process.py,sha256=XrKOTURJdia5R7i3i_OQmS89LASFXE3HQXfX63qZBIE,8438
585
+ pip/_vendor/pep517/build.py,sha256=DN4ouyj_bd00knOKqv0KHRtN0-JezJoNNZQmcDi4juk,3335
586
+ pip/_vendor/pep517/check.py,sha256=YoaNE3poJGpz96biVCYwtcDshwEGE2HRU5KKya9yfpY,5961
587
+ pip/_vendor/pep517/colorlog.py,sha256=Tk9AuYm_cLF3BKTBoSTJt9bRryn0aFojIQOwbfVUTxQ,4098
588
+ pip/_vendor/pep517/compat.py,sha256=M-5s4VNp8rjyT76ZZ_ibnPD44DYVzSQlyCEHayjtDPw,780
589
+ pip/_vendor/pep517/dirtools.py,sha256=2mkAkAL0mRz_elYFjRKuekTJVipH1zTn4tbf1EDev84,1129
590
+ pip/_vendor/pep517/envbuild.py,sha256=szKUFlO50X1ahQfXwz4hD9V2VE_bz9MLVPIeidsFo4w,6041
591
+ pip/_vendor/pep517/meta.py,sha256=8mnM5lDnT4zXQpBTliJbRGfesH7iioHwozbDxALPS9Y,2463
592
+ pip/_vendor/pep517/wrappers.py,sha256=yFU4Lp7TIYbmuVOTY-pXnlyGZ3F_grIi-JlLkpGN8Gk,10783
593
+ pip/_vendor/pkg_resources/__init__.py,sha256=XpGBfvS9fafA6bm5rx7vnxdxs7yqyoc_NnpzKApkJ64,108277
594
+ pip/_vendor/pkg_resources/__pycache__/__init__.cpython-39.pyc,,
595
+ pip/_vendor/pkg_resources/__pycache__/py31compat.cpython-39.pyc,,
596
+ pip/_vendor/pkg_resources/py31compat.py,sha256=CRk8fkiPRDLsbi5pZcKsHI__Pbmh_94L8mr9Qy9Ab2U,562
597
+ pip/_vendor/progress/__init__.py,sha256=fcbQQXo5np2CoQyhSH5XprkicwLZNLePR3uIahznSO0,4857
598
+ pip/_vendor/progress/__pycache__/__init__.cpython-39.pyc,,
599
+ pip/_vendor/progress/__pycache__/bar.cpython-39.pyc,,
600
+ pip/_vendor/progress/__pycache__/counter.cpython-39.pyc,,
601
+ pip/_vendor/progress/__pycache__/spinner.cpython-39.pyc,,
602
+ pip/_vendor/progress/bar.py,sha256=QuDuVNcmXgpxtNtxO0Fq72xKigxABaVmxYGBw4J3Z_E,2854
603
+ pip/_vendor/progress/counter.py,sha256=MznyBrvPWrOlGe4MZAlGUb9q3aODe6_aNYeAE_VNoYA,1372
604
+ pip/_vendor/progress/spinner.py,sha256=k8JbDW94T0-WXuXfxZIFhdoNPYp3jfnpXqBnfRv5fGs,1380
605
+ pip/_vendor/pyparsing.py,sha256=J1b4z3S_KwyJW7hKGnoN-hXW9pgMIzIP6QThyY5yJq4,273394
606
+ pip/_vendor/requests/__init__.py,sha256=orzv4-1uejMDc2v3LnTVneINGXiwqXSfrASoFBsYblE,4465
607
+ pip/_vendor/requests/__pycache__/__init__.cpython-39.pyc,,
608
+ pip/_vendor/requests/__pycache__/__version__.cpython-39.pyc,,
609
+ pip/_vendor/requests/__pycache__/_internal_utils.cpython-39.pyc,,
610
+ pip/_vendor/requests/__pycache__/adapters.cpython-39.pyc,,
611
+ pip/_vendor/requests/__pycache__/api.cpython-39.pyc,,
612
+ pip/_vendor/requests/__pycache__/auth.cpython-39.pyc,,
613
+ pip/_vendor/requests/__pycache__/certs.cpython-39.pyc,,
614
+ pip/_vendor/requests/__pycache__/compat.cpython-39.pyc,,
615
+ pip/_vendor/requests/__pycache__/cookies.cpython-39.pyc,,
616
+ pip/_vendor/requests/__pycache__/exceptions.cpython-39.pyc,,
617
+ pip/_vendor/requests/__pycache__/help.cpython-39.pyc,,
618
+ pip/_vendor/requests/__pycache__/hooks.cpython-39.pyc,,
619
+ pip/_vendor/requests/__pycache__/models.cpython-39.pyc,,
620
+ pip/_vendor/requests/__pycache__/packages.cpython-39.pyc,,
621
+ pip/_vendor/requests/__pycache__/sessions.cpython-39.pyc,,
622
+ pip/_vendor/requests/__pycache__/status_codes.cpython-39.pyc,,
623
+ pip/_vendor/requests/__pycache__/structures.cpython-39.pyc,,
624
+ pip/_vendor/requests/__pycache__/utils.cpython-39.pyc,,
625
+ pip/_vendor/requests/__version__.py,sha256=Xwky1FMlMkJJGidBM50JC7FKcosWzkjIW-WhQGrBdFM,441
626
+ pip/_vendor/requests/_internal_utils.py,sha256=Zx3PnEUccyfsB-ie11nZVAW8qClJy0gx1qNME7rgT18,1096
627
+ pip/_vendor/requests/adapters.py,sha256=e-bmKEApNVqFdylxuMJJfiaHdlmS_zhWhIMEzlHvGuc,21548
628
+ pip/_vendor/requests/api.py,sha256=PlHM-HT3PQ5lyufoeGmV-nJxRi7UnUyGVh7OV7B9XV4,6496
629
+ pip/_vendor/requests/auth.py,sha256=OMoJIVKyRLy9THr91y8rxysZuclwPB-K1Xg1zBomUhQ,10207
630
+ pip/_vendor/requests/certs.py,sha256=nXRVq9DtGmv_1AYbwjTu9UrgAcdJv05ZvkNeaoLOZxY,465
631
+ pip/_vendor/requests/compat.py,sha256=LQWuCR4qXk6w7-qQopXyz0WNHUdAD40k0mKnaAEf1-g,2045
632
+ pip/_vendor/requests/cookies.py,sha256=Y-bKX6TvW3FnYlE6Au0SXtVVWcaNdFvuAwQxw-G0iTI,18430
633
+ pip/_vendor/requests/exceptions.py,sha256=d9fJJw8YFBB9VzG9qhvxLuOx6be3c_Dwbck-dVUEAcs,3173
634
+ pip/_vendor/requests/help.py,sha256=SJPVcoXeo7KfK4AxJN5eFVQCjr0im87tU2n7ubLsksU,3578
635
+ pip/_vendor/requests/hooks.py,sha256=QReGyy0bRcr5rkwCuObNakbYsc7EkiKeBwG4qHekr2Q,757
636
+ pip/_vendor/requests/models.py,sha256=_tKIbrscbGvaTdX1UHCwRaiYmPF9VBIuBeydr4Qx1Tg,34287
637
+ pip/_vendor/requests/packages.py,sha256=njJmVifY4aSctuW3PP5EFRCxjEwMRDO6J_feG2dKWsI,695
638
+ pip/_vendor/requests/sessions.py,sha256=OBtwQs1vjkB1xamFdi_p5y8BVeX16BJoQcwSwx_Y3fI,29316
639
+ pip/_vendor/requests/status_codes.py,sha256=gT79Pbs_cQjBgp-fvrUgg1dn2DQO32bDj4TInjnMPSc,4188
640
+ pip/_vendor/requests/structures.py,sha256=msAtr9mq1JxHd-JRyiILfdFlpbJwvvFuP3rfUQT_QxE,3005
641
+ pip/_vendor/requests/utils.py,sha256=VBs99cvV8Z29WGXeWZqHzZ80_nu1AwwjYzJfe0wQIvs,30176
642
+ pip/_vendor/resolvelib/__init__.py,sha256=sqMOy4CbVJQiaG9bCPj0oAntGAVy-RWdPfVaC9XDIEQ,537
643
+ pip/_vendor/resolvelib/__pycache__/__init__.cpython-39.pyc,,
644
+ pip/_vendor/resolvelib/__pycache__/providers.cpython-39.pyc,,
645
+ pip/_vendor/resolvelib/__pycache__/reporters.cpython-39.pyc,,
646
+ pip/_vendor/resolvelib/__pycache__/resolvers.cpython-39.pyc,,
647
+ pip/_vendor/resolvelib/__pycache__/structs.cpython-39.pyc,,
648
+ pip/_vendor/resolvelib/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
649
+ pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-39.pyc,,
650
+ pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-39.pyc,,
651
+ pip/_vendor/resolvelib/compat/collections_abc.py,sha256=mtTkpr3Gf3OGvU1PD8YuvrJRhVbioxV82T-niFPoX3o,127
652
+ pip/_vendor/resolvelib/providers.py,sha256=TZDCmL-Ic-R5JRIZY8G4FLG5xB2343B0DfuK7aw2Yqw,4547
653
+ pip/_vendor/resolvelib/reporters.py,sha256=ZPSJnVfK8WvXTbX8jE0Nren0-_Hg9ym4epCUPtU8Y0U,1405
654
+ pip/_vendor/resolvelib/resolvers.py,sha256=lQTGcc-2fgHbmdiLzeNDUxVmGc5ZFjkAL6JrVqnqJIw,15018
655
+ pip/_vendor/resolvelib/structs.py,sha256=yrdhd-n7DercimPGclXe20rgqhlxw8PnxC0wmcXO19Y,2016
656
+ pip/_vendor/retrying.py,sha256=k3fflf5_Mm0XcIJYhB7Tj34bqCCPhUDkYbx1NvW2FPE,9972
657
+ pip/_vendor/six.py,sha256=U4Z_yv534W5CNyjY9i8V1OXY2SjAny8y2L5vDLhhThM,34159
658
+ pip/_vendor/toml/__init__.py,sha256=rJ1pu933HgUtyeeNiusoPd5jJOPNhaKHhSSld3o8AQo,747
659
+ pip/_vendor/toml/__pycache__/__init__.cpython-39.pyc,,
660
+ pip/_vendor/toml/__pycache__/common.cpython-39.pyc,,
661
+ pip/_vendor/toml/__pycache__/decoder.cpython-39.pyc,,
662
+ pip/_vendor/toml/__pycache__/encoder.cpython-39.pyc,,
663
+ pip/_vendor/toml/__pycache__/ordered.cpython-39.pyc,,
664
+ pip/_vendor/toml/__pycache__/tz.cpython-39.pyc,,
665
+ pip/_vendor/toml/common.py,sha256=ViBccAduP6eZNJAb1POhRhjOAi56TDsNgWJ1TjgXAug,242
666
+ pip/_vendor/toml/decoder.py,sha256=atpXmyFCzNGiqhkcYLySBuJQkPeSHDzBz47sEaX1amw,38696
667
+ pip/_vendor/toml/encoder.py,sha256=fPqLyFdPAam17X9SELz2TMp9affkfHCmgWZxRKcmzhY,9955
668
+ pip/_vendor/toml/ordered.py,sha256=UWt5Eka90IWVBYdvLgY5PXnkBcVYpHjnw9T67rM85T8,378
669
+ pip/_vendor/toml/tz.py,sha256=DrAgI3wZxZiGcLuV_l8ueA_nPrYoxQ3hZA9tJSjWRsQ,618
670
+ pip/_vendor/urllib3/__init__.py,sha256=rdFZCO1L7e8861ZTvo8AiSKwxCe9SnWQUQwJ599YV9c,2683
671
+ pip/_vendor/urllib3/__pycache__/__init__.cpython-39.pyc,,
672
+ pip/_vendor/urllib3/__pycache__/_collections.cpython-39.pyc,,
673
+ pip/_vendor/urllib3/__pycache__/connection.cpython-39.pyc,,
674
+ pip/_vendor/urllib3/__pycache__/connectionpool.cpython-39.pyc,,
675
+ pip/_vendor/urllib3/__pycache__/exceptions.cpython-39.pyc,,
676
+ pip/_vendor/urllib3/__pycache__/fields.cpython-39.pyc,,
677
+ pip/_vendor/urllib3/__pycache__/filepost.cpython-39.pyc,,
678
+ pip/_vendor/urllib3/__pycache__/poolmanager.cpython-39.pyc,,
679
+ pip/_vendor/urllib3/__pycache__/request.cpython-39.pyc,,
680
+ pip/_vendor/urllib3/__pycache__/response.cpython-39.pyc,,
681
+ pip/_vendor/urllib3/_collections.py,sha256=GouVsNzwg6jADZTmimMI6oqmwKSswnMo9dh5tGNVWO4,10792
682
+ pip/_vendor/urllib3/connection.py,sha256=Fln8a_bkegdNMkFoSOwyI0PJvL1OqzVUO6ifihKOTpc,14461
683
+ pip/_vendor/urllib3/connectionpool.py,sha256=egdaX-Db_LVXifDxv3JY0dHIpQqDv0wC0_9Eeh8FkPM,35725
684
+ pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
685
+ pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-39.pyc,,
686
+ pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-39.pyc,,
687
+ pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-39.pyc,,
688
+ pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-39.pyc,,
689
+ pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-39.pyc,,
690
+ pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-39.pyc,,
691
+ pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-39.pyc,,
692
+ pip/_vendor/urllib3/contrib/_appengine_environ.py,sha256=bDbyOEhW2CKLJcQqAKAyrEHN-aklsyHFKq6vF8ZFsmk,957
693
+ pip/_vendor/urllib3/contrib/_securetransport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
694
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-39.pyc,,
695
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-39.pyc,,
696
+ pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-39.pyc,,
697
+ pip/_vendor/urllib3/contrib/_securetransport/bindings.py,sha256=mullWYFaghBdRWla6HYU-TBgFRTPLBEfxj3jplbeJmQ,16886
698
+ pip/_vendor/urllib3/contrib/_securetransport/low_level.py,sha256=V7GnujxnWZh2N2sMsV5N4d9Imymokkm3zBwgt77_bSE,11956
699
+ pip/_vendor/urllib3/contrib/appengine.py,sha256=gfdK4T7CRin7v9HRhHDbDh-Hbk66hHDWeoz7nV3PJo8,11034
700
+ pip/_vendor/urllib3/contrib/ntlmpool.py,sha256=a402AwGN_Ll3N-4ur_AS6UrU-ycUtlnYqoBF76lORg8,4160
701
+ pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=9gm5kpC0ScbDCWobeCrh5LDqS8HgU8FNhmk5v8qQ5Bs,16582
702
+ pip/_vendor/urllib3/contrib/securetransport.py,sha256=vBDFjSnH2gWa-ztMKVaiwW46K1mlDZKqvo_VAonfdcY,32401
703
+ pip/_vendor/urllib3/contrib/socks.py,sha256=nzDMgDIFJWVubKHqvIn2-SKCO91hhJInP92WgHChGzA,7036
704
+ pip/_vendor/urllib3/exceptions.py,sha256=D2Jvab7M7m_n0rnmBmq481paoVT32VvVeB6VeQM0y-w,7172
705
+ pip/_vendor/urllib3/fields.py,sha256=kroD76QK-GdHHW7f_AUN4XxDC3OQPI2FFrS9eSL4BCs,8553
706
+ pip/_vendor/urllib3/filepost.py,sha256=vj0qbrpT1AFzvvW4SuC8M5kJiw7wftHcSr-7b8UpPpw,2440
707
+ pip/_vendor/urllib3/packages/__init__.py,sha256=h4BLhD4tLaBx1adaDtKXfupsgqY0wWLXb_f1_yVlV6A,108
708
+ pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-39.pyc,,
709
+ pip/_vendor/urllib3/packages/__pycache__/six.cpython-39.pyc,,
710
+ pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
711
+ pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-39.pyc,,
712
+ pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-39.pyc,,
713
+ pip/_vendor/urllib3/packages/backports/makefile.py,sha256=005wrvH-_pWSnTFqQ2sdzzh4zVCtQUUQ4mR2Yyxwc0A,1418
714
+ pip/_vendor/urllib3/packages/six.py,sha256=adx4z-eM_D0Vvu0IIqVzFACQ_ux9l64y7DkSEfbxCDs,32536
715
+ pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py,sha256=ywgKMtfHi1-DrXlzPfVAhzsLzzqcK7GT6eLgdode1Fg,688
716
+ pip/_vendor/urllib3/packages/ssl_match_hostname/__pycache__/__init__.cpython-39.pyc,,
717
+ pip/_vendor/urllib3/packages/ssl_match_hostname/__pycache__/_implementation.cpython-39.pyc,,
718
+ pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py,sha256=rvQDQviqQLtPJB6MfEgABnBFj3nXft7ZJ3Dx-BC0AQY,5696
719
+ pip/_vendor/urllib3/poolmanager.py,sha256=iWEAIGrVNGoOmQyfiFwCqG-IyYy6GIQ-jJ9QCsX9li4,17861
720
+ pip/_vendor/urllib3/request.py,sha256=hhoHvEEatyd9Tn5EbGjQ0emn-ENMCyY591yNWTneINA,6018
721
+ pip/_vendor/urllib3/response.py,sha256=eo1Sfkn2x44FtjgP3qwwDsG9ak84spQAxEGy7Ovd4Pc,28221
722
+ pip/_vendor/urllib3/util/__init__.py,sha256=bWNaav_OT-1L7-sxm59cGb59rDORlbhb_4noduM5m0U,1038
723
+ pip/_vendor/urllib3/util/__pycache__/__init__.cpython-39.pyc,,
724
+ pip/_vendor/urllib3/util/__pycache__/connection.cpython-39.pyc,,
725
+ pip/_vendor/urllib3/util/__pycache__/queue.cpython-39.pyc,,
726
+ pip/_vendor/urllib3/util/__pycache__/request.cpython-39.pyc,,
727
+ pip/_vendor/urllib3/util/__pycache__/response.cpython-39.pyc,,
728
+ pip/_vendor/urllib3/util/__pycache__/retry.cpython-39.pyc,,
729
+ pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-39.pyc,,
730
+ pip/_vendor/urllib3/util/__pycache__/timeout.cpython-39.pyc,,
731
+ pip/_vendor/urllib3/util/__pycache__/url.cpython-39.pyc,,
732
+ pip/_vendor/urllib3/util/__pycache__/wait.cpython-39.pyc,,
733
+ pip/_vendor/urllib3/util/connection.py,sha256=NsxUAKQ98GKywta--zg57CdVpeTCI6N-GElCq78Dl8U,4637
734
+ pip/_vendor/urllib3/util/queue.py,sha256=myTX3JDHntglKQNBf3b6dasHH-uF-W59vzGSQiFdAfI,497
735
+ pip/_vendor/urllib3/util/request.py,sha256=C-6-AWffxZG03AdRGoY59uqsn4CVItKU6gjxz7Hc3Mc,3815
736
+ pip/_vendor/urllib3/util/response.py,sha256=_WbTQr8xRQuJuY2rTIZxVdJD6mnEOtQupjaK_bF_Vj8,2573
737
+ pip/_vendor/urllib3/util/retry.py,sha256=3wbv7SdzYNOxPcBiFkPCubTbK1_6vWSepznOXirhUfA,15543
738
+ pip/_vendor/urllib3/util/ssl_.py,sha256=N7gqt2iqzKBsWGmc61YeKNSPri6Ns2iZ_MD5hV2y8tU,14523
739
+ pip/_vendor/urllib3/util/timeout.py,sha256=3qawUo-TZq4q7tyeRToMIOdNGEOBjOOQVq7nHnLryP4,9947
740
+ pip/_vendor/urllib3/util/url.py,sha256=S4YyAwWKJPjFFECC7l9Vp9EKqRH1XAb-uQFANn1Tak0,13981
741
+ pip/_vendor/urllib3/util/wait.py,sha256=k46KzqIYu3Vnzla5YW3EvtInNlU_QycFqQAghIOxoAg,5406
742
+ pip/_vendor/vendor.txt,sha256=bWUiaRjMJhuUsqFZHEJkBH_6lJ_Avl9cOyszcI74IHs,437
743
+ pip/_vendor/webencodings/__init__.py,sha256=qOBJIuPy_4ByYH6W_bNgJF-qYQ2DoU-dKsDu5yRWCXg,10579
744
+ pip/_vendor/webencodings/__pycache__/__init__.cpython-39.pyc,,
745
+ pip/_vendor/webencodings/__pycache__/labels.cpython-39.pyc,,
746
+ pip/_vendor/webencodings/__pycache__/mklabels.cpython-39.pyc,,
747
+ pip/_vendor/webencodings/__pycache__/tests.cpython-39.pyc,,
748
+ pip/_vendor/webencodings/__pycache__/x_user_defined.cpython-39.pyc,,
749
+ pip/_vendor/webencodings/labels.py,sha256=4AO_KxTddqGtrL9ns7kAPjb0CcN6xsCIxbK37HY9r3E,8979
750
+ pip/_vendor/webencodings/mklabels.py,sha256=GYIeywnpaLnP0GSic8LFWgd0UVvO_l1Nc6YoF-87R_4,1305
751
+ pip/_vendor/webencodings/tests.py,sha256=OtGLyjhNY1fvkW1GvLJ_FV9ZoqC9Anyjr7q3kxTbzNs,6563
752
+ pip/_vendor/webencodings/x_user_defined.py,sha256=yOqWSdmpytGfUgh_Z6JYgDNhoc-BAHyyeeT15Fr42tM,4307
.env/Lib/site-packages/pip-20.2.3.dist-info/REQUESTED ADDED
File without changes
.env/Lib/site-packages/pip-20.2.3.dist-info/WHEEL ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.35.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py2-none-any
5
+ Tag: py3-none-any
6
+
.env/Lib/site-packages/pip-20.2.3.dist-info/entry_points.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ [console_scripts]
2
+ pip = pip._internal.cli.main:main
3
+ pip3 = pip._internal.cli.main:main
4
+ pip3.8 = pip._internal.cli.main:main
5
+
.env/Lib/site-packages/pip-20.2.3.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
.env/Lib/site-packages/pip/__init__.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
2
+
3
+ if MYPY_CHECK_RUNNING:
4
+ from typing import List, Optional
5
+
6
+
7
+ __version__ = "20.2.3"
8
+
9
+
10
+ def main(args=None):
11
+ # type: (Optional[List[str]]) -> int
12
+ """This is an internal API only meant for use by pip's own console scripts.
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)
.env/Lib/site-packages/pip/__main__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import absolute_import
2
+
3
+ import os
4
+ import sys
5
+
6
+ # Remove '' and current working directory from the first entry
7
+ # of sys.path, if present to avoid using current directory
8
+ # in pip commands check, freeze, install, list and show,
9
+ # when invoked as python -m pip <command>
10
+ if sys.path[0] in ('', os.getcwd()):
11
+ sys.path.pop(0)
12
+
13
+ # If we are running from a wheel, add the wheel to sys.path
14
+ # This allows the usage python pip-*.whl/pip install pip-*.whl
15
+ if __package__ == '':
16
+ # __file__ is pip-*.whl/pip/__main__.py
17
+ # first dirname call strips of '/__main__.py', second strips off '/pip'
18
+ # Resulting path is the name of the wheel itself
19
+ # Add that to sys.path so we can import pip
20
+ path = os.path.dirname(os.path.dirname(__file__))
21
+ sys.path.insert(0, path)
22
+
23
+ from pip._internal.cli.main import main as _main # isort:skip # noqa
24
+
25
+ if __name__ == '__main__':
26
+ sys.exit(_main())
.env/Lib/site-packages/pip/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (678 Bytes). View file
 
.env/Lib/site-packages/pip/__pycache__/__main__.cpython-39.pyc ADDED
Binary file (522 Bytes). View file
 
.env/Lib/site-packages/pip/_internal/__init__.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pip._internal.utils.inject_securetransport # noqa
2
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
3
+
4
+ if MYPY_CHECK_RUNNING:
5
+ from typing import Optional, List
6
+
7
+
8
+ def main(args=None):
9
+ # type: (Optional[List[str]]) -> int
10
+ """This is preserved for old console scripts that may still be referencing
11
+ it.
12
+
13
+ For additional details, see https://github.com/pypa/pip/issues/7498.
14
+ """
15
+ from pip._internal.utils.entrypoints import _wrapper
16
+
17
+ return _wrapper(args)
.env/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (727 Bytes). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-39.pyc ADDED
Binary file (7.56 kB). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-39.pyc ADDED
Binary file (9.12 kB). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-39.pyc ADDED
Binary file (10.9 kB). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-39.pyc ADDED
Binary file (14.6 kB). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/locations.cpython-39.pyc ADDED
Binary file (4.5 kB). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/main.cpython-39.pyc ADDED
Binary file (664 Bytes). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-39.pyc ADDED
Binary file (3.77 kB). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc ADDED
Binary file (4.6 kB). View file
 
.env/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-39.pyc ADDED
Binary file (6.86 kB). View file
 
.env/Lib/site-packages/pip/_internal/build_env.py ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build Environment used for isolation during sdist building
2
+ """
3
+
4
+ import logging
5
+ import os
6
+ import sys
7
+ import textwrap
8
+ from collections import OrderedDict
9
+ from distutils.sysconfig import get_python_lib
10
+ from sysconfig import get_paths
11
+
12
+ from pip._vendor.pkg_resources import Requirement, VersionConflict, WorkingSet
13
+
14
+ from pip import __file__ as pip_location
15
+ from pip._internal.cli.spinners import open_spinner
16
+ from pip._internal.utils.subprocess import call_subprocess
17
+ from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
18
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
19
+
20
+ if MYPY_CHECK_RUNNING:
21
+ from types import TracebackType
22
+ from typing import Tuple, Set, Iterable, Optional, List, Type
23
+ from pip._internal.index.package_finder import PackageFinder
24
+
25
+ logger = logging.getLogger(__name__)
26
+
27
+
28
+ class _Prefix:
29
+
30
+ def __init__(self, path):
31
+ # type: (str) -> None
32
+ self.path = path
33
+ self.setup = False
34
+ self.bin_dir = get_paths(
35
+ 'nt' if os.name == 'nt' else 'posix_prefix',
36
+ vars={'base': path, 'platbase': path}
37
+ )['scripts']
38
+ # Note: prefer distutils' sysconfig to get the
39
+ # library paths so PyPy is correctly supported.
40
+ purelib = get_python_lib(plat_specific=False, prefix=path)
41
+ platlib = get_python_lib(plat_specific=True, prefix=path)
42
+ if purelib == platlib:
43
+ self.lib_dirs = [purelib]
44
+ else:
45
+ self.lib_dirs = [purelib, platlib]
46
+
47
+
48
+ class BuildEnvironment(object):
49
+ """Creates and manages an isolated environment to install build deps
50
+ """
51
+
52
+ def __init__(self):
53
+ # type: () -> None
54
+ temp_dir = TempDirectory(
55
+ kind=tempdir_kinds.BUILD_ENV, globally_managed=True
56
+ )
57
+
58
+ self._prefixes = OrderedDict((
59
+ (name, _Prefix(os.path.join(temp_dir.path, name)))
60
+ for name in ('normal', 'overlay')
61
+ ))
62
+
63
+ self._bin_dirs = [] # type: List[str]
64
+ self._lib_dirs = [] # type: List[str]
65
+ for prefix in reversed(list(self._prefixes.values())):
66
+ self._bin_dirs.append(prefix.bin_dir)
67
+ self._lib_dirs.extend(prefix.lib_dirs)
68
+
69
+ # Customize site to:
70
+ # - ensure .pth files are honored
71
+ # - prevent access to system site packages
72
+ system_sites = {
73
+ os.path.normcase(site) for site in (
74
+ get_python_lib(plat_specific=False),
75
+ get_python_lib(plat_specific=True),
76
+ )
77
+ }
78
+ self._site_dir = os.path.join(temp_dir.path, 'site')
79
+ if not os.path.exists(self._site_dir):
80
+ os.mkdir(self._site_dir)
81
+ with open(os.path.join(self._site_dir, 'sitecustomize.py'), 'w') as fp:
82
+ fp.write(textwrap.dedent(
83
+ '''
84
+ import os, site, sys
85
+
86
+ # First, drop system-sites related paths.
87
+ original_sys_path = sys.path[:]
88
+ known_paths = set()
89
+ for path in {system_sites!r}:
90
+ site.addsitedir(path, known_paths=known_paths)
91
+ system_paths = set(
92
+ os.path.normcase(path)
93
+ for path in sys.path[len(original_sys_path):]
94
+ )
95
+ original_sys_path = [
96
+ path for path in original_sys_path
97
+ if os.path.normcase(path) not in system_paths
98
+ ]
99
+ sys.path = original_sys_path
100
+
101
+ # Second, add lib directories.
102
+ # ensuring .pth file are processed.
103
+ for path in {lib_dirs!r}:
104
+ assert not path in sys.path
105
+ site.addsitedir(path)
106
+ '''
107
+ ).format(system_sites=system_sites, lib_dirs=self._lib_dirs))
108
+
109
+ def __enter__(self):
110
+ # type: () -> None
111
+ self._save_env = {
112
+ name: os.environ.get(name, None)
113
+ for name in ('PATH', 'PYTHONNOUSERSITE', 'PYTHONPATH')
114
+ }
115
+
116
+ path = self._bin_dirs[:]
117
+ old_path = self._save_env['PATH']
118
+ if old_path:
119
+ path.extend(old_path.split(os.pathsep))
120
+
121
+ pythonpath = [self._site_dir]
122
+
123
+ os.environ.update({
124
+ 'PATH': os.pathsep.join(path),
125
+ 'PYTHONNOUSERSITE': '1',
126
+ 'PYTHONPATH': os.pathsep.join(pythonpath),
127
+ })
128
+
129
+ def __exit__(
130
+ self,
131
+ exc_type, # type: Optional[Type[BaseException]]
132
+ exc_val, # type: Optional[BaseException]
133
+ exc_tb # type: Optional[TracebackType]
134
+ ):
135
+ # type: (...) -> None
136
+ for varname, old_value in self._save_env.items():
137
+ if old_value is None:
138
+ os.environ.pop(varname, None)
139
+ else:
140
+ os.environ[varname] = old_value
141
+
142
+ def check_requirements(self, reqs):
143
+ # type: (Iterable[str]) -> Tuple[Set[Tuple[str, str]], Set[str]]
144
+ """Return 2 sets:
145
+ - conflicting requirements: set of (installed, wanted) reqs tuples
146
+ - missing requirements: set of reqs
147
+ """
148
+ missing = set()
149
+ conflicting = set()
150
+ if reqs:
151
+ ws = WorkingSet(self._lib_dirs)
152
+ for req in reqs:
153
+ try:
154
+ if ws.find(Requirement.parse(req)) is None:
155
+ missing.add(req)
156
+ except VersionConflict as e:
157
+ conflicting.add((str(e.args[0].as_requirement()),
158
+ str(e.args[1])))
159
+ return conflicting, missing
160
+
161
+ def install_requirements(
162
+ self,
163
+ finder, # type: PackageFinder
164
+ requirements, # type: Iterable[str]
165
+ prefix_as_string, # type: str
166
+ message # type: str
167
+ ):
168
+ # type: (...) -> None
169
+ prefix = self._prefixes[prefix_as_string]
170
+ assert not prefix.setup
171
+ prefix.setup = True
172
+ if not requirements:
173
+ return
174
+ args = [
175
+ sys.executable, os.path.dirname(pip_location), 'install',
176
+ '--ignore-installed', '--no-user', '--prefix', prefix.path,
177
+ '--no-warn-script-location',
178
+ ] # type: List[str]
179
+ if logger.getEffectiveLevel() <= logging.DEBUG:
180
+ args.append('-v')
181
+ for format_control in ('no_binary', 'only_binary'):
182
+ formats = getattr(finder.format_control, format_control)
183
+ args.extend(('--' + format_control.replace('_', '-'),
184
+ ','.join(sorted(formats or {':none:'}))))
185
+
186
+ index_urls = finder.index_urls
187
+ if index_urls:
188
+ args.extend(['-i', index_urls[0]])
189
+ for extra_index in index_urls[1:]:
190
+ args.extend(['--extra-index-url', extra_index])
191
+ else:
192
+ args.append('--no-index')
193
+ for link in finder.find_links:
194
+ args.extend(['--find-links', link])
195
+
196
+ for host in finder.trusted_hosts:
197
+ args.extend(['--trusted-host', host])
198
+ if finder.allow_all_prereleases:
199
+ args.append('--pre')
200
+ if finder.prefer_binary:
201
+ args.append('--prefer-binary')
202
+ args.append('--')
203
+ args.extend(requirements)
204
+ with open_spinner(message) as spinner:
205
+ call_subprocess(args, spinner=spinner)
206
+
207
+
208
+ class NoOpBuildEnvironment(BuildEnvironment):
209
+ """A no-op drop-in replacement for BuildEnvironment
210
+ """
211
+
212
+ def __init__(self):
213
+ # type: () -> None
214
+ pass
215
+
216
+ def __enter__(self):
217
+ # type: () -> None
218
+ pass
219
+
220
+ def __exit__(
221
+ self,
222
+ exc_type, # type: Optional[Type[BaseException]]
223
+ exc_val, # type: Optional[BaseException]
224
+ exc_tb # type: Optional[TracebackType]
225
+ ):
226
+ # type: (...) -> None
227
+ pass
228
+
229
+ def cleanup(self):
230
+ # type: () -> None
231
+ pass
232
+
233
+ def install_requirements(
234
+ self,
235
+ finder, # type: PackageFinder
236
+ requirements, # type: Iterable[str]
237
+ prefix_as_string, # type: str
238
+ message # type: str
239
+ ):
240
+ # type: (...) -> None
241
+ raise NotImplementedError()
.env/Lib/site-packages/pip/_internal/cache.py ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Cache Management
2
+ """
3
+
4
+ import hashlib
5
+ import json
6
+ import logging
7
+ import os
8
+
9
+ from pip._vendor.packaging.tags import interpreter_name, interpreter_version
10
+ from pip._vendor.packaging.utils import canonicalize_name
11
+
12
+ from pip._internal.exceptions import InvalidWheelFilename
13
+ from pip._internal.models.link import Link
14
+ from pip._internal.models.wheel import Wheel
15
+ from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
16
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
17
+ from pip._internal.utils.urls import path_to_url
18
+
19
+ if MYPY_CHECK_RUNNING:
20
+ from typing import Optional, Set, List, Any, Dict
21
+
22
+ from pip._vendor.packaging.tags import Tag
23
+
24
+ from pip._internal.models.format_control import FormatControl
25
+
26
+ logger = logging.getLogger(__name__)
27
+
28
+
29
+ def _hash_dict(d):
30
+ # type: (Dict[str, str]) -> str
31
+ """Return a stable sha224 of a dictionary."""
32
+ s = json.dumps(d, sort_keys=True, separators=(",", ":"), ensure_ascii=True)
33
+ return hashlib.sha224(s.encode("ascii")).hexdigest()
34
+
35
+
36
+ class Cache(object):
37
+ """An abstract class - provides cache directories for data from links
38
+
39
+
40
+ :param cache_dir: The root of the cache.
41
+ :param format_control: An object of FormatControl class to limit
42
+ binaries being read from the cache.
43
+ :param allowed_formats: which formats of files the cache should store.
44
+ ('binary' and 'source' are the only allowed values)
45
+ """
46
+
47
+ def __init__(self, cache_dir, format_control, allowed_formats):
48
+ # type: (str, FormatControl, Set[str]) -> None
49
+ super(Cache, self).__init__()
50
+ assert not cache_dir or os.path.isabs(cache_dir)
51
+ self.cache_dir = cache_dir or None
52
+ self.format_control = format_control
53
+ self.allowed_formats = allowed_formats
54
+
55
+ _valid_formats = {"source", "binary"}
56
+ assert self.allowed_formats.union(_valid_formats) == _valid_formats
57
+
58
+ def _get_cache_path_parts_legacy(self, link):
59
+ # type: (Link) -> List[str]
60
+ """Get parts of part that must be os.path.joined with cache_dir
61
+
62
+ Legacy cache key (pip < 20) for compatibility with older caches.
63
+ """
64
+
65
+ # We want to generate an url to use as our cache key, we don't want to
66
+ # just re-use the URL because it might have other items in the fragment
67
+ # and we don't care about those.
68
+ key_parts = [link.url_without_fragment]
69
+ if link.hash_name is not None and link.hash is not None:
70
+ key_parts.append("=".join([link.hash_name, link.hash]))
71
+ key_url = "#".join(key_parts)
72
+
73
+ # Encode our key url with sha224, we'll use this because it has similar
74
+ # security properties to sha256, but with a shorter total output (and
75
+ # thus less secure). However the differences don't make a lot of
76
+ # difference for our use case here.
77
+ hashed = hashlib.sha224(key_url.encode()).hexdigest()
78
+
79
+ # We want to nest the directories some to prevent having a ton of top
80
+ # level directories where we might run out of sub directories on some
81
+ # FS.
82
+ parts = [hashed[:2], hashed[2:4], hashed[4:6], hashed[6:]]
83
+
84
+ return parts
85
+
86
+ def _get_cache_path_parts(self, link):
87
+ # type: (Link) -> List[str]
88
+ """Get parts of part that must be os.path.joined with cache_dir
89
+ """
90
+
91
+ # We want to generate an url to use as our cache key, we don't want to
92
+ # just re-use the URL because it might have other items in the fragment
93
+ # and we don't care about those.
94
+ key_parts = {"url": link.url_without_fragment}
95
+ if link.hash_name is not None and link.hash is not None:
96
+ key_parts[link.hash_name] = link.hash
97
+ if link.subdirectory_fragment:
98
+ key_parts["subdirectory"] = link.subdirectory_fragment
99
+
100
+ # Include interpreter name, major and minor version in cache key
101
+ # to cope with ill-behaved sdists that build a different wheel
102
+ # depending on the python version their setup.py is being run on,
103
+ # and don't encode the difference in compatibility tags.
104
+ # https://github.com/pypa/pip/issues/7296
105
+ key_parts["interpreter_name"] = interpreter_name()
106
+ key_parts["interpreter_version"] = interpreter_version()
107
+
108
+ # Encode our key url with sha224, we'll use this because it has similar
109
+ # security properties to sha256, but with a shorter total output (and
110
+ # thus less secure). However the differences don't make a lot of
111
+ # difference for our use case here.
112
+ hashed = _hash_dict(key_parts)
113
+
114
+ # We want to nest the directories some to prevent having a ton of top
115
+ # level directories where we might run out of sub directories on some
116
+ # FS.
117
+ parts = [hashed[:2], hashed[2:4], hashed[4:6], hashed[6:]]
118
+
119
+ return parts
120
+
121
+ def _get_candidates(self, link, canonical_package_name):
122
+ # type: (Link, str) -> List[Any]
123
+ can_not_cache = (
124
+ not self.cache_dir or
125
+ not canonical_package_name or
126
+ not link
127
+ )
128
+ if can_not_cache:
129
+ return []
130
+
131
+ formats = self.format_control.get_allowed_formats(
132
+ canonical_package_name
133
+ )
134
+ if not self.allowed_formats.intersection(formats):
135
+ return []
136
+
137
+ candidates = []
138
+ path = self.get_path_for_link(link)
139
+ if os.path.isdir(path):
140
+ for candidate in os.listdir(path):
141
+ candidates.append((candidate, path))
142
+ # TODO remove legacy path lookup in pip>=21
143
+ legacy_path = self.get_path_for_link_legacy(link)
144
+ if os.path.isdir(legacy_path):
145
+ for candidate in os.listdir(legacy_path):
146
+ candidates.append((candidate, legacy_path))
147
+ return candidates
148
+
149
+ def get_path_for_link_legacy(self, link):
150
+ # type: (Link) -> str
151
+ raise NotImplementedError()
152
+
153
+ def get_path_for_link(self, link):
154
+ # type: (Link) -> str
155
+ """Return a directory to store cached items in for link.
156
+ """
157
+ raise NotImplementedError()
158
+
159
+ def get(
160
+ self,
161
+ link, # type: Link
162
+ package_name, # type: Optional[str]
163
+ supported_tags, # type: List[Tag]
164
+ ):
165
+ # type: (...) -> Link
166
+ """Returns a link to a cached item if it exists, otherwise returns the
167
+ passed link.
168
+ """
169
+ raise NotImplementedError()
170
+
171
+
172
+ class SimpleWheelCache(Cache):
173
+ """A cache of wheels for future installs.
174
+ """
175
+
176
+ def __init__(self, cache_dir, format_control):
177
+ # type: (str, FormatControl) -> None
178
+ super(SimpleWheelCache, self).__init__(
179
+ cache_dir, format_control, {"binary"}
180
+ )
181
+
182
+ def get_path_for_link_legacy(self, link):
183
+ # type: (Link) -> str
184
+ parts = self._get_cache_path_parts_legacy(link)
185
+ assert self.cache_dir
186
+ return os.path.join(self.cache_dir, "wheels", *parts)
187
+
188
+ def get_path_for_link(self, link):
189
+ # type: (Link) -> str
190
+ """Return a directory to store cached wheels for link
191
+
192
+ Because there are M wheels for any one sdist, we provide a directory
193
+ to cache them in, and then consult that directory when looking up
194
+ cache hits.
195
+
196
+ We only insert things into the cache if they have plausible version
197
+ numbers, so that we don't contaminate the cache with things that were
198
+ not unique. E.g. ./package might have dozens of installs done for it
199
+ and build a version of 0.0...and if we built and cached a wheel, we'd
200
+ end up using the same wheel even if the source has been edited.
201
+
202
+ :param link: The link of the sdist for which this will cache wheels.
203
+ """
204
+ parts = self._get_cache_path_parts(link)
205
+ assert self.cache_dir
206
+ # Store wheels within the root cache_dir
207
+ return os.path.join(self.cache_dir, "wheels", *parts)
208
+
209
+ def get(
210
+ self,
211
+ link, # type: Link
212
+ package_name, # type: Optional[str]
213
+ supported_tags, # type: List[Tag]
214
+ ):
215
+ # type: (...) -> Link
216
+ candidates = []
217
+
218
+ if not package_name:
219
+ return link
220
+
221
+ canonical_package_name = canonicalize_name(package_name)
222
+ for wheel_name, wheel_dir in self._get_candidates(
223
+ link, canonical_package_name
224
+ ):
225
+ try:
226
+ wheel = Wheel(wheel_name)
227
+ except InvalidWheelFilename:
228
+ continue
229
+ if canonicalize_name(wheel.name) != canonical_package_name:
230
+ logger.debug(
231
+ "Ignoring cached wheel %s for %s as it "
232
+ "does not match the expected distribution name %s.",
233
+ wheel_name, link, package_name,
234
+ )
235
+ continue
236
+ if not wheel.supported(supported_tags):
237
+ # Built for a different python/arch/etc
238
+ continue
239
+ candidates.append(
240
+ (
241
+ wheel.support_index_min(supported_tags),
242
+ wheel_name,
243
+ wheel_dir,
244
+ )
245
+ )
246
+
247
+ if not candidates:
248
+ return link
249
+
250
+ _, wheel_name, wheel_dir = min(candidates)
251
+ return Link(path_to_url(os.path.join(wheel_dir, wheel_name)))
252
+
253
+
254
+ class EphemWheelCache(SimpleWheelCache):
255
+ """A SimpleWheelCache that creates it's own temporary cache directory
256
+ """
257
+
258
+ def __init__(self, format_control):
259
+ # type: (FormatControl) -> None
260
+ self._temp_dir = TempDirectory(
261
+ kind=tempdir_kinds.EPHEM_WHEEL_CACHE,
262
+ globally_managed=True,
263
+ )
264
+
265
+ super(EphemWheelCache, self).__init__(
266
+ self._temp_dir.path, format_control
267
+ )
268
+
269
+
270
+ class CacheEntry(object):
271
+ def __init__(
272
+ self,
273
+ link, # type: Link
274
+ persistent, # type: bool
275
+ ):
276
+ self.link = link
277
+ self.persistent = persistent
278
+
279
+
280
+ class WheelCache(Cache):
281
+ """Wraps EphemWheelCache and SimpleWheelCache into a single Cache
282
+
283
+ This Cache allows for gracefully degradation, using the ephem wheel cache
284
+ when a certain link is not found in the simple wheel cache first.
285
+ """
286
+
287
+ def __init__(self, cache_dir, format_control):
288
+ # type: (str, FormatControl) -> None
289
+ super(WheelCache, self).__init__(
290
+ cache_dir, format_control, {'binary'}
291
+ )
292
+ self._wheel_cache = SimpleWheelCache(cache_dir, format_control)
293
+ self._ephem_cache = EphemWheelCache(format_control)
294
+
295
+ def get_path_for_link_legacy(self, link):
296
+ # type: (Link) -> str
297
+ return self._wheel_cache.get_path_for_link_legacy(link)
298
+
299
+ def get_path_for_link(self, link):
300
+ # type: (Link) -> str
301
+ return self._wheel_cache.get_path_for_link(link)
302
+
303
+ def get_ephem_path_for_link(self, link):
304
+ # type: (Link) -> str
305
+ return self._ephem_cache.get_path_for_link(link)
306
+
307
+ def get(
308
+ self,
309
+ link, # type: Link
310
+ package_name, # type: Optional[str]
311
+ supported_tags, # type: List[Tag]
312
+ ):
313
+ # type: (...) -> Link
314
+ cache_entry = self.get_cache_entry(link, package_name, supported_tags)
315
+ if cache_entry is None:
316
+ return link
317
+ return cache_entry.link
318
+
319
+ def get_cache_entry(
320
+ self,
321
+ link, # type: Link
322
+ package_name, # type: Optional[str]
323
+ supported_tags, # type: List[Tag]
324
+ ):
325
+ # type: (...) -> Optional[CacheEntry]
326
+ """Returns a CacheEntry with a link to a cached item if it exists or
327
+ None. The cache entry indicates if the item was found in the persistent
328
+ or ephemeral cache.
329
+ """
330
+ retval = self._wheel_cache.get(
331
+ link=link,
332
+ package_name=package_name,
333
+ supported_tags=supported_tags,
334
+ )
335
+ if retval is not link:
336
+ return CacheEntry(retval, persistent=True)
337
+
338
+ retval = self._ephem_cache.get(
339
+ link=link,
340
+ package_name=package_name,
341
+ supported_tags=supported_tags,
342
+ )
343
+ if retval is not link:
344
+ return CacheEntry(retval, persistent=False)
345
+
346
+ return None
.env/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
.env/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-39.pyc ADDED
Binary file (285 Bytes). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc ADDED
Binary file (4.96 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-39.pyc ADDED
Binary file (6.8 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc ADDED
Binary file (20.8 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-39.pyc ADDED
Binary file (1.37 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-39.pyc ADDED
Binary file (1.47 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc ADDED
Binary file (2.26 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-39.pyc ADDED
Binary file (9 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc ADDED
Binary file (7.72 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-39.pyc ADDED
Binary file (9.93 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-39.pyc ADDED
Binary file (4.81 kB). View file
 
.env/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc ADDED
Binary file (414 Bytes). View file
 
.env/Lib/site-packages/pip/_internal/cli/autocompletion.py ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
9
+ from pip._internal.cli.main_parser import create_main_parser
10
+ from pip._internal.commands import commands_dict, create_command
11
+ from pip._internal.utils.misc import get_installed_distributions
12
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
13
+
14
+ if MYPY_CHECK_RUNNING:
15
+ from typing import Any, Iterable, List, Optional
16
+
17
+
18
+ def autocomplete():
19
+ # type: () -> None
20
+ """Entry Point for completion of main and subcommand options.
21
+ """
22
+ # Don't complete if user hasn't sourced bash_completion file.
23
+ if 'PIP_AUTO_COMPLETE' not in os.environ:
24
+ return
25
+ cwords = os.environ['COMP_WORDS'].split()[1:]
26
+ cword = int(os.environ['COMP_CWORD'])
27
+ try:
28
+ current = cwords[cword - 1]
29
+ except IndexError:
30
+ current = ''
31
+
32
+ parser = create_main_parser()
33
+ subcommands = list(commands_dict)
34
+ options = []
35
+
36
+ # subcommand
37
+ subcommand_name = None # type: Optional[str]
38
+ for word in cwords:
39
+ if word in subcommands:
40
+ subcommand_name = word
41
+ break
42
+ # subcommand options
43
+ if subcommand_name is not None:
44
+ # special case: 'help' subcommand has no options
45
+ if subcommand_name == 'help':
46
+ sys.exit(1)
47
+ # special case: list locally installed dists for show and uninstall
48
+ should_list_installed = (
49
+ subcommand_name in ['show', 'uninstall'] and
50
+ not current.startswith('-')
51
+ )
52
+ if should_list_installed:
53
+ installed = []
54
+ lc = current.lower()
55
+ for dist in get_installed_distributions(local_only=True):
56
+ if dist.key.startswith(lc) and dist.key not in cwords[1:]:
57
+ installed.append(dist.key)
58
+ # if there are no dists installed, fall back to option completion
59
+ if installed:
60
+ for dist in installed:
61
+ print(dist)
62
+ sys.exit(1)
63
+
64
+ subcommand = create_command(subcommand_name)
65
+
66
+ for opt in subcommand.parser.option_list_all:
67
+ if opt.help != optparse.SUPPRESS_HELP:
68
+ for opt_str in opt._long_opts + opt._short_opts:
69
+ options.append((opt_str, opt.nargs))
70
+
71
+ # filter out previously specified options from available options
72
+ prev_opts = [x.split('=')[0] for x in cwords[1:cword - 1]]
73
+ options = [(x, v) for (x, v) in options if x not in prev_opts]
74
+ # filter options by current input
75
+ options = [(k, v) for k, v in options if k.startswith(current)]
76
+ # get completion type given cwords and available subcommand options
77
+ completion_type = get_path_completion_type(
78
+ cwords, cword, subcommand.parser.option_list_all,
79
+ )
80
+ # get completion files and directories if ``completion_type`` is
81
+ # ``<file>``, ``<dir>`` or ``<path>``
82
+ if completion_type:
83
+ paths = auto_complete_paths(current, completion_type)
84
+ options = [(path, 0) for path in paths]
85
+ for option in options:
86
+ opt_label = option[0]
87
+ # append '=' to options which require args
88
+ if option[1] and option[0][:2] == "--":
89
+ opt_label += '='
90
+ print(opt_label)
91
+ else:
92
+ # show main parser options only when necessary
93
+
94
+ opts = [i.option_list for i in parser.option_groups]
95
+ opts.append(parser.option_list)
96
+ flattened_opts = chain.from_iterable(opts)
97
+ if current.startswith('-'):
98
+ for opt in flattened_opts:
99
+ if opt.help != optparse.SUPPRESS_HELP:
100
+ subcommands += opt._long_opts + opt._short_opts
101
+ else:
102
+ # get completion type given cwords and all available options
103
+ completion_type = get_path_completion_type(cwords, cword,
104
+ flattened_opts)
105
+ if completion_type:
106
+ subcommands = list(auto_complete_paths(current,
107
+ completion_type))
108
+
109
+ print(' '.join([x for x in subcommands if x.startswith(current)]))
110
+ sys.exit(1)
111
+
112
+
113
+ def get_path_completion_type(cwords, cword, opts):
114
+ # type: (List[str], int, Iterable[Any]) -> Optional[str]
115
+ """Get the type of path completion (``file``, ``dir``, ``path`` or None)
116
+
117
+ :param cwords: same as the environmental variable ``COMP_WORDS``
118
+ :param cword: same as the environmental variable ``COMP_CWORD``
119
+ :param opts: The available options to check
120
+ :return: path completion type (``file``, ``dir``, ``path`` or None)
121
+ """
122
+ if cword < 2 or not cwords[cword - 2].startswith('-'):
123
+ return None
124
+ for opt in opts:
125
+ if opt.help == optparse.SUPPRESS_HELP:
126
+ continue
127
+ for o in str(opt).split('/'):
128
+ if cwords[cword - 2].split('=')[0] == o:
129
+ if not opt.metavar or any(
130
+ x in ('path', 'file', 'dir')
131
+ for x in opt.metavar.split('/')):
132
+ return opt.metavar
133
+ return None
134
+
135
+
136
+ def auto_complete_paths(current, completion_type):
137
+ # type: (str, str) -> Iterable[str]
138
+ """If ``completion_type`` is ``file`` or ``path``, list all regular files
139
+ and directories starting with ``current``; otherwise only list directories
140
+ starting with ``current``.
141
+
142
+ :param current: The word to be completed
143
+ :param completion_type: path completion type(`file`, `path` or `dir`)i
144
+ :return: A generator of regular files and/or directories
145
+ """
146
+ directory, filename = os.path.split(current)
147
+ current_path = os.path.abspath(directory)
148
+ # Don't complete paths if they can't be accessed
149
+ if not os.access(current_path, os.R_OK):
150
+ return
151
+ filename = os.path.normcase(filename)
152
+ # list all files that start with ``filename``
153
+ file_list = (x for x in os.listdir(current_path)
154
+ if os.path.normcase(x).startswith(filename))
155
+ for f in file_list:
156
+ opt = os.path.join(current_path, f)
157
+ comp_file = os.path.normcase(os.path.join(directory, f))
158
+ # complete regular files when there is not ``<dir>`` after option
159
+ # complete directories when there is ``<file>``, ``<path>`` or
160
+ # ``<dir>``after option
161
+ if completion_type != 'dir' and os.path.isfile(opt):
162
+ yield comp_file
163
+ elif os.path.isdir(opt):
164
+ yield os.path.join(comp_file, '')
.env/Lib/site-packages/pip/_internal/cli/base_command.py ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Base Command class, and related routines"""
2
+
3
+ from __future__ import absolute_import, print_function
4
+
5
+ import logging
6
+ import logging.config
7
+ import optparse
8
+ import os
9
+ import platform
10
+ import sys
11
+ import traceback
12
+
13
+ from pip._internal.cli import cmdoptions
14
+ from pip._internal.cli.command_context import CommandContextMixIn
15
+ from pip._internal.cli.parser import (
16
+ ConfigOptionParser,
17
+ UpdatingDefaultsHelpFormatter,
18
+ )
19
+ from pip._internal.cli.status_codes import (
20
+ ERROR,
21
+ PREVIOUS_BUILD_DIR_ERROR,
22
+ UNKNOWN_ERROR,
23
+ VIRTUALENV_NOT_FOUND,
24
+ )
25
+ from pip._internal.exceptions import (
26
+ BadCommand,
27
+ CommandError,
28
+ InstallationError,
29
+ NetworkConnectionError,
30
+ PreviousBuildDirError,
31
+ SubProcessError,
32
+ UninstallationError,
33
+ )
34
+ from pip._internal.utils.deprecation import deprecated
35
+ from pip._internal.utils.filesystem import check_path_owner
36
+ from pip._internal.utils.logging import BrokenStdoutLoggingError, setup_logging
37
+ from pip._internal.utils.misc import get_prog, normalize_path
38
+ from pip._internal.utils.temp_dir import (
39
+ global_tempdir_manager,
40
+ tempdir_registry,
41
+ )
42
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
43
+ from pip._internal.utils.virtualenv import running_under_virtualenv
44
+
45
+ if MYPY_CHECK_RUNNING:
46
+ from typing import List, Optional, Tuple, Any
47
+ from optparse import Values
48
+
49
+ from pip._internal.utils.temp_dir import (
50
+ TempDirectoryTypeRegistry as TempDirRegistry
51
+ )
52
+
53
+ __all__ = ['Command']
54
+
55
+ logger = logging.getLogger(__name__)
56
+
57
+
58
+ class Command(CommandContextMixIn):
59
+ usage = None # type: str
60
+ ignore_require_venv = False # type: bool
61
+
62
+ def __init__(self, name, summary, isolated=False):
63
+ # type: (str, str, bool) -> None
64
+ super(Command, self).__init__()
65
+ parser_kw = {
66
+ 'usage': self.usage,
67
+ 'prog': '{} {}'.format(get_prog(), name),
68
+ 'formatter': UpdatingDefaultsHelpFormatter(),
69
+ 'add_help_option': False,
70
+ 'name': name,
71
+ 'description': self.__doc__,
72
+ 'isolated': isolated,
73
+ }
74
+
75
+ self.name = name
76
+ self.summary = summary
77
+ self.parser = ConfigOptionParser(**parser_kw)
78
+
79
+ self.tempdir_registry = None # type: Optional[TempDirRegistry]
80
+
81
+ # Commands should add options to this option group
82
+ optgroup_name = '{} Options'.format(self.name.capitalize())
83
+ self.cmd_opts = optparse.OptionGroup(self.parser, optgroup_name)
84
+
85
+ # Add the general options
86
+ gen_opts = cmdoptions.make_option_group(
87
+ cmdoptions.general_group,
88
+ self.parser,
89
+ )
90
+ self.parser.add_option_group(gen_opts)
91
+
92
+ self.add_options()
93
+
94
+ def add_options(self):
95
+ # type: () -> None
96
+ pass
97
+
98
+ def handle_pip_version_check(self, options):
99
+ # type: (Values) -> None
100
+ """
101
+ This is a no-op so that commands by default do not do the pip version
102
+ check.
103
+ """
104
+ # Make sure we do the pip version check if the index_group options
105
+ # are present.
106
+ assert not hasattr(options, 'no_index')
107
+
108
+ def run(self, options, args):
109
+ # type: (Values, List[Any]) -> int
110
+ raise NotImplementedError
111
+
112
+ def parse_args(self, args):
113
+ # type: (List[str]) -> Tuple[Any, Any]
114
+ # factored out for testability
115
+ return self.parser.parse_args(args)
116
+
117
+ def main(self, args):
118
+ # type: (List[str]) -> int
119
+ try:
120
+ with self.main_context():
121
+ return self._main(args)
122
+ finally:
123
+ logging.shutdown()
124
+
125
+ def _main(self, args):
126
+ # type: (List[str]) -> int
127
+ # We must initialize this before the tempdir manager, otherwise the
128
+ # configuration would not be accessible by the time we clean up the
129
+ # tempdir manager.
130
+ self.tempdir_registry = self.enter_context(tempdir_registry())
131
+ # Intentionally set as early as possible so globally-managed temporary
132
+ # directories are available to the rest of the code.
133
+ self.enter_context(global_tempdir_manager())
134
+
135
+ options, args = self.parse_args(args)
136
+
137
+ # Set verbosity so that it can be used elsewhere.
138
+ self.verbosity = options.verbose - options.quiet
139
+
140
+ level_number = setup_logging(
141
+ verbosity=self.verbosity,
142
+ no_color=options.no_color,
143
+ user_log_file=options.log,
144
+ )
145
+
146
+ if (
147
+ sys.version_info[:2] == (2, 7) and
148
+ not options.no_python_version_warning
149
+ ):
150
+ message = (
151
+ "pip 21.0 will drop support for Python 2.7 in January 2021. "
152
+ "More details about Python 2 support in pip can be found at "
153
+ "https://pip.pypa.io/en/latest/development/release-process/#python-2-support" # noqa
154
+ )
155
+ if platform.python_implementation() == "CPython":
156
+ message = (
157
+ "Python 2.7 reached the end of its life on January "
158
+ "1st, 2020. Please upgrade your Python as Python 2.7 "
159
+ "is no longer maintained. "
160
+ ) + message
161
+ deprecated(message, replacement=None, gone_in="21.0")
162
+
163
+ if (
164
+ sys.version_info[:2] == (3, 5) and
165
+ not options.no_python_version_warning
166
+ ):
167
+ message = (
168
+ "Python 3.5 reached the end of its life on September "
169
+ "13th, 2020. Please upgrade your Python as Python 3.5 "
170
+ "is no longer maintained. pip 21.0 will drop support "
171
+ "for Python 3.5 in January 2021."
172
+ )
173
+ deprecated(message, replacement=None, gone_in="21.0")
174
+
175
+ # TODO: Try to get these passing down from the command?
176
+ # without resorting to os.environ to hold these.
177
+ # This also affects isolated builds and it should.
178
+
179
+ if options.no_input:
180
+ os.environ['PIP_NO_INPUT'] = '1'
181
+
182
+ if options.exists_action:
183
+ os.environ['PIP_EXISTS_ACTION'] = ' '.join(options.exists_action)
184
+
185
+ if options.require_venv and not self.ignore_require_venv:
186
+ # If a venv is required check if it can really be found
187
+ if not running_under_virtualenv():
188
+ logger.critical(
189
+ 'Could not find an activated virtualenv (required).'
190
+ )
191
+ sys.exit(VIRTUALENV_NOT_FOUND)
192
+
193
+ if options.cache_dir:
194
+ options.cache_dir = normalize_path(options.cache_dir)
195
+ if not check_path_owner(options.cache_dir):
196
+ logger.warning(
197
+ "The directory '%s' or its parent directory is not owned "
198
+ "or is not writable by the current user. The cache "
199
+ "has been disabled. Check the permissions and owner of "
200
+ "that directory. If executing pip with sudo, you may want "
201
+ "sudo's -H flag.",
202
+ options.cache_dir,
203
+ )
204
+ options.cache_dir = None
205
+
206
+ if getattr(options, "build_dir", None):
207
+ deprecated(
208
+ reason=(
209
+ "The -b/--build/--build-dir/--build-directory "
210
+ "option is deprecated."
211
+ ),
212
+ replacement=(
213
+ "use the TMPDIR/TEMP/TMP environment variable, "
214
+ "possibly combined with --no-clean"
215
+ ),
216
+ gone_in="20.3",
217
+ issue=8333,
218
+ )
219
+
220
+ if 'resolver' in options.unstable_features:
221
+ logger.critical(
222
+ "--unstable-feature=resolver is no longer supported, and "
223
+ "has been replaced with --use-feature=2020-resolver instead."
224
+ )
225
+ sys.exit(ERROR)
226
+
227
+ try:
228
+ status = self.run(options, args)
229
+ assert isinstance(status, int)
230
+ return status
231
+ except PreviousBuildDirError as exc:
232
+ logger.critical(str(exc))
233
+ logger.debug('Exception information:', exc_info=True)
234
+
235
+ return PREVIOUS_BUILD_DIR_ERROR
236
+ except (InstallationError, UninstallationError, BadCommand,
237
+ SubProcessError, NetworkConnectionError) as exc:
238
+ logger.critical(str(exc))
239
+ logger.debug('Exception information:', exc_info=True)
240
+
241
+ return ERROR
242
+ except CommandError as exc:
243
+ logger.critical('%s', exc)
244
+ logger.debug('Exception information:', exc_info=True)
245
+
246
+ return ERROR
247
+ except BrokenStdoutLoggingError:
248
+ # Bypass our logger and write any remaining messages to stderr
249
+ # because stdout no longer works.
250
+ print('ERROR: Pipe to stdout was broken', file=sys.stderr)
251
+ if level_number <= logging.DEBUG:
252
+ traceback.print_exc(file=sys.stderr)
253
+
254
+ return ERROR
255
+ except KeyboardInterrupt:
256
+ logger.critical('Operation cancelled by user')
257
+ logger.debug('Exception information:', exc_info=True)
258
+
259
+ return ERROR
260
+ except BaseException:
261
+ logger.critical('Exception:', exc_info=True)
262
+
263
+ return UNKNOWN_ERROR
264
+ finally:
265
+ self.handle_pip_version_check(options)
.env/Lib/site-packages/pip/_internal/cli/cmdoptions.py ADDED
@@ -0,0 +1,975 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ from __future__ import absolute_import
14
+
15
+ import os
16
+ import textwrap
17
+ import warnings
18
+ from distutils.util import strtobool
19
+ from functools import partial
20
+ from optparse import SUPPRESS_HELP, Option, OptionGroup
21
+ from textwrap import dedent
22
+
23
+ from pip._internal.cli.progress_bars import BAR_TYPES
24
+ from pip._internal.exceptions import CommandError
25
+ from pip._internal.locations import USER_CACHE_DIR, get_src_prefix
26
+ from pip._internal.models.format_control import FormatControl
27
+ from pip._internal.models.index import PyPI
28
+ from pip._internal.models.target_python import TargetPython
29
+ from pip._internal.utils.hashes import STRONG_HASHES
30
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
31
+
32
+ if MYPY_CHECK_RUNNING:
33
+ from typing import Any, Callable, Dict, Optional, Tuple
34
+ from optparse import OptionParser, Values
35
+ from pip._internal.cli.parser import ConfigOptionParser
36
+
37
+
38
+ def raise_option_error(parser, option, msg):
39
+ # type: (OptionParser, Option, str) -> None
40
+ """
41
+ Raise an option parsing error using parser.error().
42
+
43
+ Args:
44
+ parser: an OptionParser instance.
45
+ option: an Option instance.
46
+ msg: the error text.
47
+ """
48
+ msg = '{} error: {}'.format(option, msg)
49
+ msg = textwrap.fill(' '.join(msg.split()))
50
+ parser.error(msg)
51
+
52
+
53
+ def make_option_group(group, parser):
54
+ # type: (Dict[str, Any], ConfigOptionParser) -> OptionGroup
55
+ """
56
+ Return an OptionGroup object
57
+ group -- assumed to be dict with 'name' and 'options' keys
58
+ parser -- an optparse Parser
59
+ """
60
+ option_group = OptionGroup(parser, group['name'])
61
+ for option in group['options']:
62
+ option_group.add_option(option())
63
+ return option_group
64
+
65
+
66
+ def check_install_build_global(options, check_options=None):
67
+ # type: (Values, Optional[Values]) -> None
68
+ """Disable wheels if per-setup.py call options are set.
69
+
70
+ :param options: The OptionParser options to update.
71
+ :param check_options: The options to check, if not supplied defaults to
72
+ options.
73
+ """
74
+ if check_options is None:
75
+ check_options = options
76
+
77
+ def getname(n):
78
+ # type: (str) -> Optional[Any]
79
+ return getattr(check_options, n, None)
80
+ names = ["build_options", "global_options", "install_options"]
81
+ if any(map(getname, names)):
82
+ control = options.format_control
83
+ control.disallow_binaries()
84
+ warnings.warn(
85
+ 'Disabling all use of wheels due to the use of --build-option '
86
+ '/ --global-option / --install-option.', stacklevel=2,
87
+ )
88
+
89
+
90
+ def check_dist_restriction(options, check_target=False):
91
+ # type: (Values, bool) -> None
92
+ """Function for determining if custom platform options are allowed.
93
+
94
+ :param options: The OptionParser options.
95
+ :param check_target: Whether or not to check if --target is being used.
96
+ """
97
+ dist_restriction_set = any([
98
+ options.python_version,
99
+ options.platform,
100
+ options.abi,
101
+ options.implementation,
102
+ ])
103
+
104
+ binary_only = FormatControl(set(), {':all:'})
105
+ sdist_dependencies_allowed = (
106
+ options.format_control != binary_only and
107
+ not options.ignore_dependencies
108
+ )
109
+
110
+ # Installations or downloads using dist restrictions must not combine
111
+ # source distributions and dist-specific wheels, as they are not
112
+ # guaranteed to be locally compatible.
113
+ if dist_restriction_set and sdist_dependencies_allowed:
114
+ raise CommandError(
115
+ "When restricting platform and interpreter constraints using "
116
+ "--python-version, --platform, --abi, or --implementation, "
117
+ "either --no-deps must be set, or --only-binary=:all: must be "
118
+ "set and --no-binary must not be set (or must be set to "
119
+ ":none:)."
120
+ )
121
+
122
+ if check_target:
123
+ if dist_restriction_set and not options.target_dir:
124
+ raise CommandError(
125
+ "Can not use any platform or abi specific options unless "
126
+ "installing via '--target'"
127
+ )
128
+
129
+
130
+ def _path_option_check(option, opt, value):
131
+ # type: (Option, str, str) -> str
132
+ return os.path.expanduser(value)
133
+
134
+
135
+ class PipOption(Option):
136
+ TYPES = Option.TYPES + ("path",)
137
+ TYPE_CHECKER = Option.TYPE_CHECKER.copy()
138
+ TYPE_CHECKER["path"] = _path_option_check
139
+
140
+
141
+ ###########
142
+ # options #
143
+ ###########
144
+
145
+ help_ = partial(
146
+ Option,
147
+ '-h', '--help',
148
+ dest='help',
149
+ action='help',
150
+ help='Show help.',
151
+ ) # type: Callable[..., Option]
152
+
153
+ isolated_mode = partial(
154
+ Option,
155
+ "--isolated",
156
+ dest="isolated_mode",
157
+ action="store_true",
158
+ default=False,
159
+ help=(
160
+ "Run pip in an isolated mode, ignoring environment variables and user "
161
+ "configuration."
162
+ ),
163
+ ) # type: Callable[..., Option]
164
+
165
+ require_virtualenv = partial(
166
+ Option,
167
+ # Run only if inside a virtualenv, bail if not.
168
+ '--require-virtualenv', '--require-venv',
169
+ dest='require_venv',
170
+ action='store_true',
171
+ default=False,
172
+ help=SUPPRESS_HELP
173
+ ) # type: Callable[..., Option]
174
+
175
+ verbose = partial(
176
+ Option,
177
+ '-v', '--verbose',
178
+ dest='verbose',
179
+ action='count',
180
+ default=0,
181
+ help='Give more output. Option is additive, and can be used up to 3 times.'
182
+ ) # type: Callable[..., Option]
183
+
184
+ no_color = partial(
185
+ Option,
186
+ '--no-color',
187
+ dest='no_color',
188
+ action='store_true',
189
+ default=False,
190
+ help="Suppress colored output",
191
+ ) # type: Callable[..., Option]
192
+
193
+ version = partial(
194
+ Option,
195
+ '-V', '--version',
196
+ dest='version',
197
+ action='store_true',
198
+ help='Show version and exit.',
199
+ ) # type: Callable[..., Option]
200
+
201
+ quiet = partial(
202
+ Option,
203
+ '-q', '--quiet',
204
+ dest='quiet',
205
+ action='count',
206
+ default=0,
207
+ help=(
208
+ 'Give less output. Option is additive, and can be used up to 3'
209
+ ' times (corresponding to WARNING, ERROR, and CRITICAL logging'
210
+ ' levels).'
211
+ ),
212
+ ) # type: Callable[..., Option]
213
+
214
+ progress_bar = partial(
215
+ Option,
216
+ '--progress-bar',
217
+ dest='progress_bar',
218
+ type='choice',
219
+ choices=list(BAR_TYPES.keys()),
220
+ default='on',
221
+ help=(
222
+ 'Specify type of progress to be displayed [' +
223
+ '|'.join(BAR_TYPES.keys()) + '] (default: %default)'
224
+ ),
225
+ ) # type: Callable[..., Option]
226
+
227
+ log = partial(
228
+ PipOption,
229
+ "--log", "--log-file", "--local-log",
230
+ dest="log",
231
+ metavar="path",
232
+ type="path",
233
+ help="Path to a verbose appending log."
234
+ ) # type: Callable[..., Option]
235
+
236
+ no_input = partial(
237
+ Option,
238
+ # Don't ask for input
239
+ '--no-input',
240
+ dest='no_input',
241
+ action='store_true',
242
+ default=False,
243
+ help="Disable prompting for input."
244
+ ) # type: Callable[..., Option]
245
+
246
+ proxy = partial(
247
+ Option,
248
+ '--proxy',
249
+ dest='proxy',
250
+ type='str',
251
+ default='',
252
+ help="Specify a proxy in the form [user:passwd@]proxy.server:port."
253
+ ) # type: Callable[..., Option]
254
+
255
+ retries = partial(
256
+ Option,
257
+ '--retries',
258
+ dest='retries',
259
+ type='int',
260
+ default=5,
261
+ help="Maximum number of retries each connection should attempt "
262
+ "(default %default times).",
263
+ ) # type: Callable[..., Option]
264
+
265
+ timeout = partial(
266
+ Option,
267
+ '--timeout', '--default-timeout',
268
+ metavar='sec',
269
+ dest='timeout',
270
+ type='float',
271
+ default=15,
272
+ help='Set the socket timeout (default %default seconds).',
273
+ ) # type: Callable[..., Option]
274
+
275
+
276
+ def exists_action():
277
+ # type: () -> Option
278
+ return Option(
279
+ # Option when path already exist
280
+ '--exists-action',
281
+ dest='exists_action',
282
+ type='choice',
283
+ choices=['s', 'i', 'w', 'b', 'a'],
284
+ default=[],
285
+ action='append',
286
+ metavar='action',
287
+ help="Default action when a path already exists: "
288
+ "(s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.",
289
+ )
290
+
291
+
292
+ cert = partial(
293
+ PipOption,
294
+ '--cert',
295
+ dest='cert',
296
+ type='path',
297
+ metavar='path',
298
+ help="Path to alternate CA bundle.",
299
+ ) # type: Callable[..., Option]
300
+
301
+ client_cert = partial(
302
+ PipOption,
303
+ '--client-cert',
304
+ dest='client_cert',
305
+ type='path',
306
+ default=None,
307
+ metavar='path',
308
+ help="Path to SSL client certificate, a single file containing the "
309
+ "private key and the certificate in PEM format.",
310
+ ) # type: Callable[..., Option]
311
+
312
+ index_url = partial(
313
+ Option,
314
+ '-i', '--index-url', '--pypi-url',
315
+ dest='index_url',
316
+ metavar='URL',
317
+ default=PyPI.simple_url,
318
+ help="Base URL of the Python Package Index (default %default). "
319
+ "This should point to a repository compliant with PEP 503 "
320
+ "(the simple repository API) or a local directory laid out "
321
+ "in the same format.",
322
+ ) # type: Callable[..., Option]
323
+
324
+
325
+ def extra_index_url():
326
+ # type: () -> Option
327
+ return Option(
328
+ '--extra-index-url',
329
+ dest='extra_index_urls',
330
+ metavar='URL',
331
+ action='append',
332
+ default=[],
333
+ help="Extra URLs of package indexes to use in addition to "
334
+ "--index-url. Should follow the same rules as "
335
+ "--index-url.",
336
+ )
337
+
338
+
339
+ no_index = partial(
340
+ Option,
341
+ '--no-index',
342
+ dest='no_index',
343
+ action='store_true',
344
+ default=False,
345
+ help='Ignore package index (only looking at --find-links URLs instead).',
346
+ ) # type: Callable[..., Option]
347
+
348
+
349
+ def find_links():
350
+ # type: () -> Option
351
+ return Option(
352
+ '-f', '--find-links',
353
+ dest='find_links',
354
+ action='append',
355
+ default=[],
356
+ metavar='url',
357
+ help="If a URL or path to an html file, then parse for links to "
358
+ "archives such as sdist (.tar.gz) or wheel (.whl) files. "
359
+ "If a local path or file:// URL that's a directory, "
360
+ "then look for archives in the directory listing. "
361
+ "Links to VCS project URLs are not supported.",
362
+ )
363
+
364
+
365
+ def trusted_host():
366
+ # type: () -> Option
367
+ return Option(
368
+ "--trusted-host",
369
+ dest="trusted_hosts",
370
+ action="append",
371
+ metavar="HOSTNAME",
372
+ default=[],
373
+ help="Mark this host or host:port pair as trusted, even though it "
374
+ "does not have valid or any HTTPS.",
375
+ )
376
+
377
+
378
+ def constraints():
379
+ # type: () -> Option
380
+ return Option(
381
+ '-c', '--constraint',
382
+ dest='constraints',
383
+ action='append',
384
+ default=[],
385
+ metavar='file',
386
+ help='Constrain versions using the given constraints file. '
387
+ 'This option can be used multiple times.'
388
+ )
389
+
390
+
391
+ def requirements():
392
+ # type: () -> Option
393
+ return Option(
394
+ '-r', '--requirement',
395
+ dest='requirements',
396
+ action='append',
397
+ default=[],
398
+ metavar='file',
399
+ help='Install from the given requirements file. '
400
+ 'This option can be used multiple times.'
401
+ )
402
+
403
+
404
+ def editable():
405
+ # type: () -> Option
406
+ return Option(
407
+ '-e', '--editable',
408
+ dest='editables',
409
+ action='append',
410
+ default=[],
411
+ metavar='path/url',
412
+ help=('Install a project in editable mode (i.e. setuptools '
413
+ '"develop mode") from a local project path or a VCS url.'),
414
+ )
415
+
416
+
417
+ def _handle_src(option, opt_str, value, parser):
418
+ # type: (Option, str, str, OptionParser) -> None
419
+ value = os.path.abspath(value)
420
+ setattr(parser.values, option.dest, value)
421
+
422
+
423
+ src = partial(
424
+ PipOption,
425
+ '--src', '--source', '--source-dir', '--source-directory',
426
+ dest='src_dir',
427
+ type='path',
428
+ metavar='dir',
429
+ default=get_src_prefix(),
430
+ action='callback',
431
+ callback=_handle_src,
432
+ help='Directory to check out editable projects into. '
433
+ 'The default in a virtualenv is "<venv path>/src". '
434
+ 'The default for global installs is "<current dir>/src".'
435
+ ) # type: Callable[..., Option]
436
+
437
+
438
+ def _get_format_control(values, option):
439
+ # type: (Values, Option) -> Any
440
+ """Get a format_control object."""
441
+ return getattr(values, option.dest)
442
+
443
+
444
+ def _handle_no_binary(option, opt_str, value, parser):
445
+ # type: (Option, str, str, OptionParser) -> None
446
+ existing = _get_format_control(parser.values, option)
447
+ FormatControl.handle_mutual_excludes(
448
+ value, existing.no_binary, existing.only_binary,
449
+ )
450
+
451
+
452
+ def _handle_only_binary(option, opt_str, value, parser):
453
+ # type: (Option, str, str, OptionParser) -> None
454
+ existing = _get_format_control(parser.values, option)
455
+ FormatControl.handle_mutual_excludes(
456
+ value, existing.only_binary, existing.no_binary,
457
+ )
458
+
459
+
460
+ def no_binary():
461
+ # type: () -> Option
462
+ format_control = FormatControl(set(), set())
463
+ return Option(
464
+ "--no-binary", dest="format_control", action="callback",
465
+ callback=_handle_no_binary, type="str",
466
+ default=format_control,
467
+ help='Do not use binary packages. Can be supplied multiple times, and '
468
+ 'each time adds to the existing value. Accepts either ":all:" to '
469
+ 'disable all binary packages, ":none:" to empty the set (notice '
470
+ 'the colons), or one or more package names with commas between '
471
+ 'them (no colons). Note that some packages are tricky to compile '
472
+ 'and may fail to install when this option is used on them.',
473
+ )
474
+
475
+
476
+ def only_binary():
477
+ # type: () -> Option
478
+ format_control = FormatControl(set(), set())
479
+ return Option(
480
+ "--only-binary", dest="format_control", action="callback",
481
+ callback=_handle_only_binary, type="str",
482
+ default=format_control,
483
+ help='Do not use source packages. Can be supplied multiple times, and '
484
+ 'each time adds to the existing value. Accepts either ":all:" to '
485
+ 'disable all source packages, ":none:" to empty the set, or one '
486
+ 'or more package names with commas between them. Packages '
487
+ 'without binary distributions will fail to install when this '
488
+ 'option is used on them.',
489
+ )
490
+
491
+
492
+ platform = partial(
493
+ Option,
494
+ '--platform',
495
+ dest='platform',
496
+ metavar='platform',
497
+ default=None,
498
+ help=("Only use wheels compatible with <platform>. "
499
+ "Defaults to the platform of the running system."),
500
+ ) # type: Callable[..., Option]
501
+
502
+
503
+ # This was made a separate function for unit-testing purposes.
504
+ def _convert_python_version(value):
505
+ # type: (str) -> Tuple[Tuple[int, ...], Optional[str]]
506
+ """
507
+ Convert a version string like "3", "37", or "3.7.3" into a tuple of ints.
508
+
509
+ :return: A 2-tuple (version_info, error_msg), where `error_msg` is
510
+ non-None if and only if there was a parsing error.
511
+ """
512
+ if not value:
513
+ # The empty string is the same as not providing a value.
514
+ return (None, None)
515
+
516
+ parts = value.split('.')
517
+ if len(parts) > 3:
518
+ return ((), 'at most three version parts are allowed')
519
+
520
+ if len(parts) == 1:
521
+ # Then we are in the case of "3" or "37".
522
+ value = parts[0]
523
+ if len(value) > 1:
524
+ parts = [value[0], value[1:]]
525
+
526
+ try:
527
+ version_info = tuple(int(part) for part in parts)
528
+ except ValueError:
529
+ return ((), 'each version part must be an integer')
530
+
531
+ return (version_info, None)
532
+
533
+
534
+ def _handle_python_version(option, opt_str, value, parser):
535
+ # type: (Option, str, str, OptionParser) -> None
536
+ """
537
+ Handle a provided --python-version value.
538
+ """
539
+ version_info, error_msg = _convert_python_version(value)
540
+ if error_msg is not None:
541
+ msg = (
542
+ 'invalid --python-version value: {!r}: {}'.format(
543
+ value, error_msg,
544
+ )
545
+ )
546
+ raise_option_error(parser, option=option, msg=msg)
547
+
548
+ parser.values.python_version = version_info
549
+
550
+
551
+ python_version = partial(
552
+ Option,
553
+ '--python-version',
554
+ dest='python_version',
555
+ metavar='python_version',
556
+ action='callback',
557
+ callback=_handle_python_version, type='str',
558
+ default=None,
559
+ help=dedent("""\
560
+ The Python interpreter version to use for wheel and "Requires-Python"
561
+ compatibility checks. Defaults to a version derived from the running
562
+ interpreter. The version can be specified using up to three dot-separated
563
+ integers (e.g. "3" for 3.0.0, "3.7" for 3.7.0, or "3.7.3"). A major-minor
564
+ version can also be given as a string without dots (e.g. "37" for 3.7.0).
565
+ """),
566
+ ) # type: Callable[..., Option]
567
+
568
+
569
+ implementation = partial(
570
+ Option,
571
+ '--implementation',
572
+ dest='implementation',
573
+ metavar='implementation',
574
+ default=None,
575
+ help=("Only use wheels compatible with Python "
576
+ "implementation <implementation>, e.g. 'pp', 'jy', 'cp', "
577
+ " or 'ip'. If not specified, then the current "
578
+ "interpreter implementation is used. Use 'py' to force "
579
+ "implementation-agnostic wheels."),
580
+ ) # type: Callable[..., Option]
581
+
582
+
583
+ abi = partial(
584
+ Option,
585
+ '--abi',
586
+ dest='abi',
587
+ metavar='abi',
588
+ default=None,
589
+ help=("Only use wheels compatible with Python "
590
+ "abi <abi>, e.g. 'pypy_41'. If not specified, then the "
591
+ "current interpreter abi tag is used. Generally "
592
+ "you will need to specify --implementation, "
593
+ "--platform, and --python-version when using "
594
+ "this option."),
595
+ ) # type: Callable[..., Option]
596
+
597
+
598
+ def add_target_python_options(cmd_opts):
599
+ # type: (OptionGroup) -> None
600
+ cmd_opts.add_option(platform())
601
+ cmd_opts.add_option(python_version())
602
+ cmd_opts.add_option(implementation())
603
+ cmd_opts.add_option(abi())
604
+
605
+
606
+ def make_target_python(options):
607
+ # type: (Values) -> TargetPython
608
+ target_python = TargetPython(
609
+ platform=options.platform,
610
+ py_version_info=options.python_version,
611
+ abi=options.abi,
612
+ implementation=options.implementation,
613
+ )
614
+
615
+ return target_python
616
+
617
+
618
+ def prefer_binary():
619
+ # type: () -> Option
620
+ return Option(
621
+ "--prefer-binary",
622
+ dest="prefer_binary",
623
+ action="store_true",
624
+ default=False,
625
+ help="Prefer older binary packages over newer source packages."
626
+ )
627
+
628
+
629
+ cache_dir = partial(
630
+ PipOption,
631
+ "--cache-dir",
632
+ dest="cache_dir",
633
+ default=USER_CACHE_DIR,
634
+ metavar="dir",
635
+ type='path',
636
+ help="Store the cache data in <dir>."
637
+ ) # type: Callable[..., Option]
638
+
639
+
640
+ def _handle_no_cache_dir(option, opt, value, parser):
641
+ # type: (Option, str, str, OptionParser) -> None
642
+ """
643
+ Process a value provided for the --no-cache-dir option.
644
+
645
+ This is an optparse.Option callback for the --no-cache-dir option.
646
+ """
647
+ # The value argument will be None if --no-cache-dir is passed via the
648
+ # command-line, since the option doesn't accept arguments. However,
649
+ # the value can be non-None if the option is triggered e.g. by an
650
+ # environment variable, like PIP_NO_CACHE_DIR=true.
651
+ if value is not None:
652
+ # Then parse the string value to get argument error-checking.
653
+ try:
654
+ strtobool(value)
655
+ except ValueError as exc:
656
+ raise_option_error(parser, option=option, msg=str(exc))
657
+
658
+ # Originally, setting PIP_NO_CACHE_DIR to a value that strtobool()
659
+ # converted to 0 (like "false" or "no") caused cache_dir to be disabled
660
+ # rather than enabled (logic would say the latter). Thus, we disable
661
+ # the cache directory not just on values that parse to True, but (for
662
+ # backwards compatibility reasons) also on values that parse to False.
663
+ # In other words, always set it to False if the option is provided in
664
+ # some (valid) form.
665
+ parser.values.cache_dir = False
666
+
667
+
668
+ no_cache = partial(
669
+ Option,
670
+ "--no-cache-dir",
671
+ dest="cache_dir",
672
+ action="callback",
673
+ callback=_handle_no_cache_dir,
674
+ help="Disable the cache.",
675
+ ) # type: Callable[..., Option]
676
+
677
+ no_deps = partial(
678
+ Option,
679
+ '--no-deps', '--no-dependencies',
680
+ dest='ignore_dependencies',
681
+ action='store_true',
682
+ default=False,
683
+ help="Don't install package dependencies.",
684
+ ) # type: Callable[..., Option]
685
+
686
+
687
+ def _handle_build_dir(option, opt, value, parser):
688
+ # type: (Option, str, str, OptionParser) -> None
689
+ if value:
690
+ value = os.path.abspath(value)
691
+ setattr(parser.values, option.dest, value)
692
+
693
+
694
+ build_dir = partial(
695
+ PipOption,
696
+ '-b', '--build', '--build-dir', '--build-directory',
697
+ dest='build_dir',
698
+ type='path',
699
+ metavar='dir',
700
+ action='callback',
701
+ callback=_handle_build_dir,
702
+ help='(DEPRECATED) '
703
+ 'Directory to unpack packages into and build in. Note that '
704
+ 'an initial build still takes place in a temporary directory. '
705
+ 'The location of temporary directories can be controlled by setting '
706
+ 'the TMPDIR environment variable (TEMP on Windows) appropriately. '
707
+ 'When passed, build directories are not cleaned in case of failures.'
708
+ ) # type: Callable[..., Option]
709
+
710
+ ignore_requires_python = partial(
711
+ Option,
712
+ '--ignore-requires-python',
713
+ dest='ignore_requires_python',
714
+ action='store_true',
715
+ help='Ignore the Requires-Python information.'
716
+ ) # type: Callable[..., Option]
717
+
718
+ no_build_isolation = partial(
719
+ Option,
720
+ '--no-build-isolation',
721
+ dest='build_isolation',
722
+ action='store_false',
723
+ default=True,
724
+ help='Disable isolation when building a modern source distribution. '
725
+ 'Build dependencies specified by PEP 518 must be already installed '
726
+ 'if this option is used.'
727
+ ) # type: Callable[..., Option]
728
+
729
+
730
+ def _handle_no_use_pep517(option, opt, value, parser):
731
+ # type: (Option, str, str, OptionParser) -> None
732
+ """
733
+ Process a value provided for the --no-use-pep517 option.
734
+
735
+ This is an optparse.Option callback for the no_use_pep517 option.
736
+ """
737
+ # Since --no-use-pep517 doesn't accept arguments, the value argument
738
+ # will be None if --no-use-pep517 is passed via the command-line.
739
+ # However, the value can be non-None if the option is triggered e.g.
740
+ # by an environment variable, for example "PIP_NO_USE_PEP517=true".
741
+ if value is not None:
742
+ msg = """A value was passed for --no-use-pep517,
743
+ probably using either the PIP_NO_USE_PEP517 environment variable
744
+ or the "no-use-pep517" config file option. Use an appropriate value
745
+ of the PIP_USE_PEP517 environment variable or the "use-pep517"
746
+ config file option instead.
747
+ """
748
+ raise_option_error(parser, option=option, msg=msg)
749
+
750
+ # Otherwise, --no-use-pep517 was passed via the command-line.
751
+ parser.values.use_pep517 = False
752
+
753
+
754
+ use_pep517 = partial(
755
+ Option,
756
+ '--use-pep517',
757
+ dest='use_pep517',
758
+ action='store_true',
759
+ default=None,
760
+ help='Use PEP 517 for building source distributions '
761
+ '(use --no-use-pep517 to force legacy behaviour).'
762
+ ) # type: Any
763
+
764
+ no_use_pep517 = partial(
765
+ Option,
766
+ '--no-use-pep517',
767
+ dest='use_pep517',
768
+ action='callback',
769
+ callback=_handle_no_use_pep517,
770
+ default=None,
771
+ help=SUPPRESS_HELP
772
+ ) # type: Any
773
+
774
+ install_options = partial(
775
+ Option,
776
+ '--install-option',
777
+ dest='install_options',
778
+ action='append',
779
+ metavar='options',
780
+ help="Extra arguments to be supplied to the setup.py install "
781
+ "command (use like --install-option=\"--install-scripts=/usr/local/"
782
+ "bin\"). Use multiple --install-option options to pass multiple "
783
+ "options to setup.py install. If you are using an option with a "
784
+ "directory path, be sure to use absolute path.",
785
+ ) # type: Callable[..., Option]
786
+
787
+ global_options = partial(
788
+ Option,
789
+ '--global-option',
790
+ dest='global_options',
791
+ action='append',
792
+ metavar='options',
793
+ help="Extra global options to be supplied to the setup.py "
794
+ "call before the install command.",
795
+ ) # type: Callable[..., Option]
796
+
797
+ no_clean = partial(
798
+ Option,
799
+ '--no-clean',
800
+ action='store_true',
801
+ default=False,
802
+ help="Don't clean up build directories."
803
+ ) # type: Callable[..., Option]
804
+
805
+ pre = partial(
806
+ Option,
807
+ '--pre',
808
+ action='store_true',
809
+ default=False,
810
+ help="Include pre-release and development versions. By default, "
811
+ "pip only finds stable versions.",
812
+ ) # type: Callable[..., Option]
813
+
814
+ disable_pip_version_check = partial(
815
+ Option,
816
+ "--disable-pip-version-check",
817
+ dest="disable_pip_version_check",
818
+ action="store_true",
819
+ default=False,
820
+ help="Don't periodically check PyPI to determine whether a new version "
821
+ "of pip is available for download. Implied with --no-index.",
822
+ ) # type: Callable[..., Option]
823
+
824
+
825
+ def _handle_merge_hash(option, opt_str, value, parser):
826
+ # type: (Option, str, str, OptionParser) -> None
827
+ """Given a value spelled "algo:digest", append the digest to a list
828
+ pointed to in a dict by the algo name."""
829
+ if not parser.values.hashes:
830
+ parser.values.hashes = {}
831
+ try:
832
+ algo, digest = value.split(':', 1)
833
+ except ValueError:
834
+ parser.error('Arguments to {} must be a hash name ' # noqa
835
+ 'followed by a value, like --hash=sha256:'
836
+ 'abcde...'.format(opt_str))
837
+ if algo not in STRONG_HASHES:
838
+ parser.error('Allowed hash algorithms for {} are {}.'.format( # noqa
839
+ opt_str, ', '.join(STRONG_HASHES)))
840
+ parser.values.hashes.setdefault(algo, []).append(digest)
841
+
842
+
843
+ hash = partial(
844
+ Option,
845
+ '--hash',
846
+ # Hash values eventually end up in InstallRequirement.hashes due to
847
+ # __dict__ copying in process_line().
848
+ dest='hashes',
849
+ action='callback',
850
+ callback=_handle_merge_hash,
851
+ type='string',
852
+ help="Verify that the package's archive matches this "
853
+ 'hash before installing. Example: --hash=sha256:abcdef...',
854
+ ) # type: Callable[..., Option]
855
+
856
+
857
+ require_hashes = partial(
858
+ Option,
859
+ '--require-hashes',
860
+ dest='require_hashes',
861
+ action='store_true',
862
+ default=False,
863
+ help='Require a hash to check each requirement against, for '
864
+ 'repeatable installs. This option is implied when any package in a '
865
+ 'requirements file has a --hash option.',
866
+ ) # type: Callable[..., Option]
867
+
868
+
869
+ list_path = partial(
870
+ PipOption,
871
+ '--path',
872
+ dest='path',
873
+ type='path',
874
+ action='append',
875
+ help='Restrict to the specified installation path for listing '
876
+ 'packages (can be used multiple times).'
877
+ ) # type: Callable[..., Option]
878
+
879
+
880
+ def check_list_path_option(options):
881
+ # type: (Values) -> None
882
+ if options.path and (options.user or options.local):
883
+ raise CommandError(
884
+ "Cannot combine '--path' with '--user' or '--local'"
885
+ )
886
+
887
+
888
+ no_python_version_warning = partial(
889
+ Option,
890
+ '--no-python-version-warning',
891
+ dest='no_python_version_warning',
892
+ action='store_true',
893
+ default=False,
894
+ help='Silence deprecation warnings for upcoming unsupported Pythons.',
895
+ ) # type: Callable[..., Option]
896
+
897
+
898
+ unstable_feature = partial(
899
+ Option,
900
+ '--unstable-feature',
901
+ dest='unstable_features',
902
+ metavar='feature',
903
+ action='append',
904
+ default=[],
905
+ choices=['resolver'],
906
+ help=SUPPRESS_HELP, # TODO: drop this in pip 20.3
907
+ ) # type: Callable[..., Option]
908
+
909
+ use_new_feature = partial(
910
+ Option,
911
+ '--use-feature',
912
+ dest='features_enabled',
913
+ metavar='feature',
914
+ action='append',
915
+ default=[],
916
+ choices=['2020-resolver', 'fast-deps'],
917
+ help='Enable new functionality, that may be backward incompatible.',
918
+ ) # type: Callable[..., Option]
919
+
920
+ use_deprecated_feature = partial(
921
+ Option,
922
+ '--use-deprecated',
923
+ dest='deprecated_features_enabled',
924
+ metavar='feature',
925
+ action='append',
926
+ default=[],
927
+ choices=[],
928
+ help=(
929
+ 'Enable deprecated functionality, that will be removed in the future.'
930
+ ),
931
+ ) # type: Callable[..., Option]
932
+
933
+
934
+ ##########
935
+ # groups #
936
+ ##########
937
+
938
+ general_group = {
939
+ 'name': 'General Options',
940
+ 'options': [
941
+ help_,
942
+ isolated_mode,
943
+ require_virtualenv,
944
+ verbose,
945
+ version,
946
+ quiet,
947
+ log,
948
+ no_input,
949
+ proxy,
950
+ retries,
951
+ timeout,
952
+ exists_action,
953
+ trusted_host,
954
+ cert,
955
+ client_cert,
956
+ cache_dir,
957
+ no_cache,
958
+ disable_pip_version_check,
959
+ no_color,
960
+ no_python_version_warning,
961
+ unstable_feature,
962
+ use_new_feature,
963
+ use_deprecated_feature,
964
+ ]
965
+ } # type: Dict[str, Any]
966
+
967
+ index_group = {
968
+ 'name': 'Package Index Options',
969
+ 'options': [
970
+ index_url,
971
+ extra_index_url,
972
+ no_index,
973
+ find_links,
974
+ ]
975
+ } # type: Dict[str, Any]
.env/Lib/site-packages/pip/_internal/cli/command_context.py ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from contextlib import contextmanager
2
+
3
+ from pip._vendor.contextlib2 import ExitStack
4
+
5
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
6
+
7
+ if MYPY_CHECK_RUNNING:
8
+ from typing import Iterator, ContextManager, TypeVar
9
+
10
+ _T = TypeVar('_T', covariant=True)
11
+
12
+
13
+ class CommandContextMixIn(object):
14
+ def __init__(self):
15
+ # type: () -> None
16
+ super(CommandContextMixIn, self).__init__()
17
+ self._in_main_context = False
18
+ self._main_context = ExitStack()
19
+
20
+ @contextmanager
21
+ def main_context(self):
22
+ # type: () -> Iterator[None]
23
+ assert not self._in_main_context
24
+
25
+ self._in_main_context = True
26
+ try:
27
+ with self._main_context:
28
+ yield
29
+ finally:
30
+ self._in_main_context = False
31
+
32
+ def enter_context(self, context_provider):
33
+ # type: (ContextManager[_T]) -> _T
34
+ assert self._in_main_context
35
+
36
+ return self._main_context.enter_context(context_provider)
.env/Lib/site-packages/pip/_internal/cli/main.py ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Primary application entrypoint.
2
+ """
3
+ from __future__ import absolute_import
4
+
5
+ import locale
6
+ import logging
7
+ import os
8
+ import sys
9
+
10
+ from pip._internal.cli.autocompletion import autocomplete
11
+ from pip._internal.cli.main_parser import parse_command
12
+ from pip._internal.commands import create_command
13
+ from pip._internal.exceptions import PipError
14
+ from pip._internal.utils import deprecation
15
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
16
+
17
+ if MYPY_CHECK_RUNNING:
18
+ from typing import List, Optional
19
+
20
+ logger = logging.getLogger(__name__)
21
+
22
+
23
+ # Do not import and use main() directly! Using it directly is actively
24
+ # discouraged by pip's maintainers. The name, location and behavior of
25
+ # this function is subject to change, so calling it directly is not
26
+ # portable across different pip versions.
27
+
28
+ # In addition, running pip in-process is unsupported and unsafe. This is
29
+ # elaborated in detail at
30
+ # https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program.
31
+ # That document also provides suggestions that should work for nearly
32
+ # all users that are considering importing and using main() directly.
33
+
34
+ # However, we know that certain users will still want to invoke pip
35
+ # in-process. If you understand and accept the implications of using pip
36
+ # in an unsupported manner, the best approach is to use runpy to avoid
37
+ # depending on the exact location of this entry point.
38
+
39
+ # The following example shows how to use runpy to invoke pip in that
40
+ # case:
41
+ #
42
+ # sys.argv = ["pip", your, args, here]
43
+ # runpy.run_module("pip", run_name="__main__")
44
+ #
45
+ # Note that this will exit the process after running, unlike a direct
46
+ # call to main. As it is not safe to do any processing after calling
47
+ # main, this should not be an issue in practice.
48
+
49
+ def main(args=None):
50
+ # type: (Optional[List[str]]) -> int
51
+ if args is None:
52
+ args = sys.argv[1:]
53
+
54
+ # Configure our deprecation warnings to be sent through loggers
55
+ deprecation.install_warning_logger()
56
+
57
+ autocomplete()
58
+
59
+ try:
60
+ cmd_name, cmd_args = parse_command(args)
61
+ except PipError as exc:
62
+ sys.stderr.write("ERROR: {}".format(exc))
63
+ sys.stderr.write(os.linesep)
64
+ sys.exit(1)
65
+
66
+ # Needed for locale.getpreferredencoding(False) to work
67
+ # in pip._internal.utils.encoding.auto_decode
68
+ try:
69
+ locale.setlocale(locale.LC_ALL, '')
70
+ except locale.Error as e:
71
+ # setlocale can apparently crash if locale are uninitialized
72
+ logger.debug("Ignoring error %s when setting locale", e)
73
+ command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
74
+
75
+ return command.main(cmd_args)
.env/Lib/site-packages/pip/_internal/cli/main_parser.py ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A single place for constructing and exposing the main parser
2
+ """
3
+
4
+ import os
5
+ import sys
6
+
7
+ from pip._internal.cli import cmdoptions
8
+ from pip._internal.cli.parser import (
9
+ ConfigOptionParser,
10
+ UpdatingDefaultsHelpFormatter,
11
+ )
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
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
16
+
17
+ if MYPY_CHECK_RUNNING:
18
+ from typing import Tuple, List
19
+
20
+
21
+ __all__ = ["create_main_parser", "parse_command"]
22
+
23
+
24
+ def create_main_parser():
25
+ # type: () -> ConfigOptionParser
26
+ """Creates and returns the main parser for pip's CLI
27
+ """
28
+
29
+ parser_kw = {
30
+ 'usage': '\n%prog <command> [options]',
31
+ 'add_help_option': False,
32
+ 'formatter': UpdatingDefaultsHelpFormatter(),
33
+ 'name': 'global',
34
+ 'prog': get_prog(),
35
+ }
36
+
37
+ parser = ConfigOptionParser(**parser_kw)
38
+ parser.disable_interspersed_args()
39
+
40
+ parser.version = get_pip_version()
41
+
42
+ # add the general options
43
+ gen_opts = cmdoptions.make_option_group(cmdoptions.general_group, parser)
44
+ parser.add_option_group(gen_opts)
45
+
46
+ # so the help formatter knows
47
+ parser.main = True # type: ignore
48
+
49
+ # create command listing for description
50
+ description = [''] + [
51
+ '{name:27} {command_info.summary}'.format(**locals())
52
+ for name, command_info in commands_dict.items()
53
+ ]
54
+ parser.description = '\n'.join(description)
55
+
56
+ return parser
57
+
58
+
59
+ def parse_command(args):
60
+ # type: (List[str]) -> Tuple[str, List[str]]
61
+ parser = create_main_parser()
62
+
63
+ # Note: parser calls disable_interspersed_args(), so the result of this
64
+ # call is to split the initial args into the general options before the
65
+ # subcommand and everything else.
66
+ # For example:
67
+ # args: ['--timeout=5', 'install', '--user', 'INITools']
68
+ # general_options: ['--timeout==5']
69
+ # args_else: ['install', '--user', 'INITools']
70
+ general_options, args_else = parser.parse_args(args)
71
+
72
+ # --version
73
+ if general_options.version:
74
+ sys.stdout.write(parser.version) # type: ignore
75
+ sys.stdout.write(os.linesep)
76
+ sys.exit()
77
+
78
+ # pip || pip help -> print_help()
79
+ if not args_else or (args_else[0] == 'help' and len(args_else) == 1):
80
+ parser.print_help()
81
+ sys.exit()
82
+
83
+ # the subcommand name
84
+ cmd_name = args_else[0]
85
+
86
+ if cmd_name not in commands_dict:
87
+ guess = get_similar_commands(cmd_name)
88
+
89
+ msg = ['unknown command "{}"'.format(cmd_name)]
90
+ if guess:
91
+ msg.append('maybe you meant "{}"'.format(guess))
92
+
93
+ raise CommandError(' - '.join(msg))
94
+
95
+ # all the args without the subcommand
96
+ cmd_args = args[:]
97
+ cmd_args.remove(cmd_name)
98
+
99
+ return cmd_name, cmd_args
.env/Lib/site-packages/pip/_internal/cli/parser.py ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Base option parser setup"""
2
+
3
+ # The following comment should be removed at some point in the future.
4
+ # mypy: disallow-untyped-defs=False
5
+
6
+ from __future__ import absolute_import
7
+
8
+ import logging
9
+ import optparse
10
+ import sys
11
+ import textwrap
12
+ from distutils.util import strtobool
13
+
14
+ from pip._vendor.six import string_types
15
+
16
+ from pip._internal.cli.status_codes import UNKNOWN_ERROR
17
+ from pip._internal.configuration import Configuration, ConfigurationError
18
+ from pip._internal.utils.compat import get_terminal_size
19
+
20
+ logger = logging.getLogger(__name__)
21
+
22
+
23
+ class PrettyHelpFormatter(optparse.IndentedHelpFormatter):
24
+ """A prettier/less verbose help formatter for optparse."""
25
+
26
+ def __init__(self, *args, **kwargs):
27
+ # help position must be aligned with __init__.parseopts.description
28
+ kwargs['max_help_position'] = 30
29
+ kwargs['indent_increment'] = 1
30
+ kwargs['width'] = get_terminal_size()[0] - 2
31
+ optparse.IndentedHelpFormatter.__init__(self, *args, **kwargs)
32
+
33
+ def format_option_strings(self, option):
34
+ return self._format_option_strings(option)
35
+
36
+ def _format_option_strings(self, option, mvarfmt=' <{}>', optsep=', '):
37
+ """
38
+ Return a comma-separated list of option strings and metavars.
39
+
40
+ :param option: tuple of (short opt, long opt), e.g: ('-f', '--format')
41
+ :param mvarfmt: metavar format string
42
+ :param optsep: separator
43
+ """
44
+ opts = []
45
+
46
+ if option._short_opts:
47
+ opts.append(option._short_opts[0])
48
+ if option._long_opts:
49
+ opts.append(option._long_opts[0])
50
+ if len(opts) > 1:
51
+ opts.insert(1, optsep)
52
+
53
+ if option.takes_value():
54
+ metavar = option.metavar or option.dest.lower()
55
+ opts.append(mvarfmt.format(metavar.lower()))
56
+
57
+ return ''.join(opts)
58
+
59
+ def format_heading(self, heading):
60
+ if heading == 'Options':
61
+ return ''
62
+ return heading + ':\n'
63
+
64
+ def format_usage(self, usage):
65
+ """
66
+ Ensure there is only one newline between usage and the first heading
67
+ if there is no description.
68
+ """
69
+ msg = '\nUsage: {}\n'.format(
70
+ self.indent_lines(textwrap.dedent(usage), " "))
71
+ return msg
72
+
73
+ def format_description(self, description):
74
+ # leave full control over description to us
75
+ if description:
76
+ if hasattr(self.parser, 'main'):
77
+ label = 'Commands'
78
+ else:
79
+ label = 'Description'
80
+ # some doc strings have initial newlines, some don't
81
+ description = description.lstrip('\n')
82
+ # some doc strings have final newlines and spaces, some don't
83
+ description = description.rstrip()
84
+ # dedent, then reindent
85
+ description = self.indent_lines(textwrap.dedent(description), " ")
86
+ description = '{}:\n{}\n'.format(label, description)
87
+ return description
88
+ else:
89
+ return ''
90
+
91
+ def format_epilog(self, epilog):
92
+ # leave full control over epilog to us
93
+ if epilog:
94
+ return epilog
95
+ else:
96
+ return ''
97
+
98
+ def indent_lines(self, text, indent):
99
+ new_lines = [indent + line for line in text.split('\n')]
100
+ return "\n".join(new_lines)
101
+
102
+
103
+ class UpdatingDefaultsHelpFormatter(PrettyHelpFormatter):
104
+ """Custom help formatter for use in ConfigOptionParser.
105
+
106
+ This is updates the defaults before expanding them, allowing
107
+ them to show up correctly in the help listing.
108
+ """
109
+
110
+ def expand_default(self, option):
111
+ if self.parser is not None:
112
+ self.parser._update_defaults(self.parser.defaults)
113
+ return optparse.IndentedHelpFormatter.expand_default(self, option)
114
+
115
+
116
+ class CustomOptionParser(optparse.OptionParser):
117
+
118
+ def insert_option_group(self, idx, *args, **kwargs):
119
+ """Insert an OptionGroup at a given position."""
120
+ group = self.add_option_group(*args, **kwargs)
121
+
122
+ self.option_groups.pop()
123
+ self.option_groups.insert(idx, group)
124
+
125
+ return group
126
+
127
+ @property
128
+ def option_list_all(self):
129
+ """Get a list of all options, including those in option groups."""
130
+ res = self.option_list[:]
131
+ for i in self.option_groups:
132
+ res.extend(i.option_list)
133
+
134
+ return res
135
+
136
+
137
+ class ConfigOptionParser(CustomOptionParser):
138
+ """Custom option parser which updates its defaults by checking the
139
+ configuration files and environmental variables"""
140
+
141
+ def __init__(self, *args, **kwargs):
142
+ self.name = kwargs.pop('name')
143
+
144
+ isolated = kwargs.pop("isolated", False)
145
+ self.config = Configuration(isolated)
146
+
147
+ assert self.name
148
+ optparse.OptionParser.__init__(self, *args, **kwargs)
149
+
150
+ def check_default(self, option, key, val):
151
+ try:
152
+ return option.check_value(key, val)
153
+ except optparse.OptionValueError as exc:
154
+ print("An error occurred during configuration: {}".format(exc))
155
+ sys.exit(3)
156
+
157
+ def _get_ordered_configuration_items(self):
158
+ # Configuration gives keys in an unordered manner. Order them.
159
+ override_order = ["global", self.name, ":env:"]
160
+
161
+ # Pool the options into different groups
162
+ section_items = {name: [] for name in override_order}
163
+ for section_key, val in self.config.items():
164
+ # ignore empty values
165
+ if not val:
166
+ logger.debug(
167
+ "Ignoring configuration key '%s' as it's value is empty.",
168
+ section_key
169
+ )
170
+ continue
171
+
172
+ section, key = section_key.split(".", 1)
173
+ if section in override_order:
174
+ section_items[section].append((key, val))
175
+
176
+ # Yield each group in their override order
177
+ for section in override_order:
178
+ for key, val in section_items[section]:
179
+ yield key, val
180
+
181
+ def _update_defaults(self, defaults):
182
+ """Updates the given defaults with values from the config files and
183
+ the environ. Does a little special handling for certain types of
184
+ options (lists)."""
185
+
186
+ # Accumulate complex default state.
187
+ self.values = optparse.Values(self.defaults)
188
+ late_eval = set()
189
+ # Then set the options with those values
190
+ for key, val in self._get_ordered_configuration_items():
191
+ # '--' because configuration supports only long names
192
+ option = self.get_option('--' + key)
193
+
194
+ # Ignore options not present in this parser. E.g. non-globals put
195
+ # in [global] by users that want them to apply to all applicable
196
+ # commands.
197
+ if option is None:
198
+ continue
199
+
200
+ if option.action in ('store_true', 'store_false', 'count'):
201
+ try:
202
+ val = strtobool(val)
203
+ except ValueError:
204
+ error_msg = invalid_config_error_message(
205
+ option.action, key, val
206
+ )
207
+ self.error(error_msg)
208
+
209
+ elif option.action == 'append':
210
+ val = val.split()
211
+ val = [self.check_default(option, key, v) for v in val]
212
+ elif option.action == 'callback':
213
+ late_eval.add(option.dest)
214
+ opt_str = option.get_opt_string()
215
+ val = option.convert_value(opt_str, val)
216
+ # From take_action
217
+ args = option.callback_args or ()
218
+ kwargs = option.callback_kwargs or {}
219
+ option.callback(option, opt_str, val, self, *args, **kwargs)
220
+ else:
221
+ val = self.check_default(option, key, val)
222
+
223
+ defaults[option.dest] = val
224
+
225
+ for key in late_eval:
226
+ defaults[key] = getattr(self.values, key)
227
+ self.values = None
228
+ return defaults
229
+
230
+ def get_default_values(self):
231
+ """Overriding to make updating the defaults after instantiation of
232
+ the option parser possible, _update_defaults() does the dirty work."""
233
+ if not self.process_default_values:
234
+ # Old, pre-Optik 1.5 behaviour.
235
+ return optparse.Values(self.defaults)
236
+
237
+ # Load the configuration, or error out in case of an error
238
+ try:
239
+ self.config.load()
240
+ except ConfigurationError as err:
241
+ self.exit(UNKNOWN_ERROR, str(err))
242
+
243
+ defaults = self._update_defaults(self.defaults.copy()) # ours
244
+ for option in self._get_all_options():
245
+ default = defaults.get(option.dest)
246
+ if isinstance(default, string_types):
247
+ opt_str = option.get_opt_string()
248
+ defaults[option.dest] = option.check_value(opt_str, default)
249
+ return optparse.Values(defaults)
250
+
251
+ def error(self, msg):
252
+ self.print_usage(sys.stderr)
253
+ self.exit(UNKNOWN_ERROR, "{}\n".format(msg))
254
+
255
+
256
+ def invalid_config_error_message(action, key, val):
257
+ """Returns a better error message when invalid configuration option
258
+ is provided."""
259
+ if action in ('store_true', 'store_false'):
260
+ return ("{0} is not a valid value for {1} option, "
261
+ "please specify a boolean value like yes/no, "
262
+ "true/false or 1/0 instead.").format(val, key)
263
+
264
+ return ("{0} is not a valid value for {1} option, "
265
+ "please specify a numerical value like 1/0 "
266
+ "instead.").format(val, key)
.env/Lib/site-packages/pip/_internal/cli/progress_bars.py ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import division
2
+
3
+ import itertools
4
+ import sys
5
+ from signal import SIGINT, default_int_handler, signal
6
+
7
+ from pip._vendor import six
8
+ from pip._vendor.progress.bar import Bar, FillingCirclesBar, IncrementalBar
9
+ from pip._vendor.progress.spinner import Spinner
10
+
11
+ from pip._internal.utils.compat import WINDOWS
12
+ from pip._internal.utils.logging import get_indentation
13
+ from pip._internal.utils.misc import format_size
14
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
15
+
16
+ if MYPY_CHECK_RUNNING:
17
+ from typing import Any, Dict, List
18
+
19
+ try:
20
+ from pip._vendor import colorama
21
+ # Lots of different errors can come from this, including SystemError and
22
+ # ImportError.
23
+ except Exception:
24
+ colorama = None
25
+
26
+
27
+ def _select_progress_class(preferred, fallback):
28
+ # type: (Bar, Bar) -> Bar
29
+ encoding = getattr(preferred.file, "encoding", None)
30
+
31
+ # If we don't know what encoding this file is in, then we'll just assume
32
+ # that it doesn't support unicode and use the ASCII bar.
33
+ if not encoding:
34
+ return fallback
35
+
36
+ # Collect all of the possible characters we want to use with the preferred
37
+ # bar.
38
+ characters = [
39
+ getattr(preferred, "empty_fill", six.text_type()),
40
+ getattr(preferred, "fill", six.text_type()),
41
+ ]
42
+ characters += list(getattr(preferred, "phases", []))
43
+
44
+ # Try to decode the characters we're using for the bar using the encoding
45
+ # of the given file, if this works then we'll assume that we can use the
46
+ # fancier bar and if not we'll fall back to the plaintext bar.
47
+ try:
48
+ six.text_type().join(characters).encode(encoding)
49
+ except UnicodeEncodeError:
50
+ return fallback
51
+ else:
52
+ return preferred
53
+
54
+
55
+ _BaseBar = _select_progress_class(IncrementalBar, Bar) # type: Any
56
+
57
+
58
+ class InterruptibleMixin(object):
59
+ """
60
+ Helper to ensure that self.finish() gets called on keyboard interrupt.
61
+
62
+ This allows downloads to be interrupted without leaving temporary state
63
+ (like hidden cursors) behind.
64
+
65
+ This class is similar to the progress library's existing SigIntMixin
66
+ helper, but as of version 1.2, that helper has the following problems:
67
+
68
+ 1. It calls sys.exit().
69
+ 2. It discards the existing SIGINT handler completely.
70
+ 3. It leaves its own handler in place even after an uninterrupted finish,
71
+ which will have unexpected delayed effects if the user triggers an
72
+ unrelated keyboard interrupt some time after a progress-displaying
73
+ download has already completed, for example.
74
+ """
75
+
76
+ def __init__(self, *args, **kwargs):
77
+ # type: (List[Any], Dict[Any, Any]) -> None
78
+ """
79
+ Save the original SIGINT handler for later.
80
+ """
81
+ # https://github.com/python/mypy/issues/5887
82
+ super(InterruptibleMixin, self).__init__( # type: ignore
83
+ *args,
84
+ **kwargs
85
+ )
86
+
87
+ self.original_handler = signal(SIGINT, self.handle_sigint)
88
+
89
+ # If signal() returns None, the previous handler was not installed from
90
+ # Python, and we cannot restore it. This probably should not happen,
91
+ # but if it does, we must restore something sensible instead, at least.
92
+ # The least bad option should be Python's default SIGINT handler, which
93
+ # just raises KeyboardInterrupt.
94
+ if self.original_handler is None:
95
+ self.original_handler = default_int_handler
96
+
97
+ def finish(self):
98
+ # type: () -> None
99
+ """
100
+ Restore the original SIGINT handler after finishing.
101
+
102
+ This should happen regardless of whether the progress display finishes
103
+ normally, or gets interrupted.
104
+ """
105
+ super(InterruptibleMixin, self).finish() # type: ignore
106
+ signal(SIGINT, self.original_handler)
107
+
108
+ def handle_sigint(self, signum, frame): # type: ignore
109
+ """
110
+ Call self.finish() before delegating to the original SIGINT handler.
111
+
112
+ This handler should only be in place while the progress display is
113
+ active.
114
+ """
115
+ self.finish()
116
+ self.original_handler(signum, frame)
117
+
118
+
119
+ class SilentBar(Bar):
120
+
121
+ def update(self):
122
+ # type: () -> None
123
+ pass
124
+
125
+
126
+ class BlueEmojiBar(IncrementalBar):
127
+
128
+ suffix = "%(percent)d%%"
129
+ bar_prefix = " "
130
+ bar_suffix = " "
131
+ phases = (u"\U0001F539", u"\U0001F537", u"\U0001F535") # type: Any
132
+
133
+
134
+ class DownloadProgressMixin(object):
135
+
136
+ def __init__(self, *args, **kwargs):
137
+ # type: (List[Any], Dict[Any, Any]) -> None
138
+ # https://github.com/python/mypy/issues/5887
139
+ super(DownloadProgressMixin, self).__init__( # type: ignore
140
+ *args,
141
+ **kwargs
142
+ )
143
+ self.message = (" " * (
144
+ get_indentation() + 2
145
+ )) + self.message # type: str
146
+
147
+ @property
148
+ def downloaded(self):
149
+ # type: () -> str
150
+ return format_size(self.index) # type: ignore
151
+
152
+ @property
153
+ def download_speed(self):
154
+ # type: () -> str
155
+ # Avoid zero division errors...
156
+ if self.avg == 0.0: # type: ignore
157
+ return "..."
158
+ return format_size(1 / self.avg) + "/s" # type: ignore
159
+
160
+ @property
161
+ def pretty_eta(self):
162
+ # type: () -> str
163
+ if self.eta: # type: ignore
164
+ return "eta {}".format(self.eta_td) # type: ignore
165
+ return ""
166
+
167
+ def iter(self, it): # type: ignore
168
+ for x in it:
169
+ yield x
170
+ # B305 is incorrectly raised here
171
+ # https://github.com/PyCQA/flake8-bugbear/issues/59
172
+ self.next(len(x)) # noqa: B305
173
+ self.finish()
174
+
175
+
176
+ class WindowsMixin(object):
177
+
178
+ def __init__(self, *args, **kwargs):
179
+ # type: (List[Any], Dict[Any, Any]) -> None
180
+ # The Windows terminal does not support the hide/show cursor ANSI codes
181
+ # even with colorama. So we'll ensure that hide_cursor is False on
182
+ # Windows.
183
+ # This call needs to go before the super() call, so that hide_cursor
184
+ # is set in time. The base progress bar class writes the "hide cursor"
185
+ # code to the terminal in its init, so if we don't set this soon
186
+ # enough, we get a "hide" with no corresponding "show"...
187
+ if WINDOWS and self.hide_cursor: # type: ignore
188
+ self.hide_cursor = False
189
+
190
+ # https://github.com/python/mypy/issues/5887
191
+ super(WindowsMixin, self).__init__(*args, **kwargs) # type: ignore
192
+
193
+ # Check if we are running on Windows and we have the colorama module,
194
+ # if we do then wrap our file with it.
195
+ if WINDOWS and colorama:
196
+ self.file = colorama.AnsiToWin32(self.file) # type: ignore
197
+ # The progress code expects to be able to call self.file.isatty()
198
+ # but the colorama.AnsiToWin32() object doesn't have that, so we'll
199
+ # add it.
200
+ self.file.isatty = lambda: self.file.wrapped.isatty()
201
+ # The progress code expects to be able to call self.file.flush()
202
+ # but the colorama.AnsiToWin32() object doesn't have that, so we'll
203
+ # add it.
204
+ self.file.flush = lambda: self.file.wrapped.flush()
205
+
206
+
207
+ class BaseDownloadProgressBar(WindowsMixin, InterruptibleMixin,
208
+ DownloadProgressMixin):
209
+
210
+ file = sys.stdout
211
+ message = "%(percent)d%%"
212
+ suffix = "%(downloaded)s %(download_speed)s %(pretty_eta)s"
213
+
214
+
215
+ class DefaultDownloadProgressBar(BaseDownloadProgressBar,
216
+ _BaseBar):
217
+ pass
218
+
219
+
220
+ class DownloadSilentBar(BaseDownloadProgressBar, SilentBar):
221
+ pass
222
+
223
+
224
+ class DownloadBar(BaseDownloadProgressBar,
225
+ Bar):
226
+ pass
227
+
228
+
229
+ class DownloadFillingCirclesBar(BaseDownloadProgressBar,
230
+ FillingCirclesBar):
231
+ pass
232
+
233
+
234
+ class DownloadBlueEmojiProgressBar(BaseDownloadProgressBar,
235
+ BlueEmojiBar):
236
+ pass
237
+
238
+
239
+ class DownloadProgressSpinner(WindowsMixin, InterruptibleMixin,
240
+ DownloadProgressMixin, Spinner):
241
+
242
+ file = sys.stdout
243
+ suffix = "%(downloaded)s %(download_speed)s"
244
+
245
+ def next_phase(self):
246
+ # type: () -> str
247
+ if not hasattr(self, "_phaser"):
248
+ self._phaser = itertools.cycle(self.phases)
249
+ return next(self._phaser)
250
+
251
+ def update(self):
252
+ # type: () -> None
253
+ message = self.message % self
254
+ phase = self.next_phase()
255
+ suffix = self.suffix % self
256
+ line = ''.join([
257
+ message,
258
+ " " if message else "",
259
+ phase,
260
+ " " if suffix else "",
261
+ suffix,
262
+ ])
263
+
264
+ self.writeln(line)
265
+
266
+
267
+ BAR_TYPES = {
268
+ "off": (DownloadSilentBar, DownloadSilentBar),
269
+ "on": (DefaultDownloadProgressBar, DownloadProgressSpinner),
270
+ "ascii": (DownloadBar, DownloadProgressSpinner),
271
+ "pretty": (DownloadFillingCirclesBar, DownloadProgressSpinner),
272
+ "emoji": (DownloadBlueEmojiProgressBar, DownloadProgressSpinner)
273
+ }
274
+
275
+
276
+ def DownloadProgressProvider(progress_bar, max=None): # type: ignore
277
+ if max is None or max == 0:
278
+ return BAR_TYPES[progress_bar][1]().iter
279
+ else:
280
+ return BAR_TYPES[progress_bar][0](max=max).iter
.env/Lib/site-packages/pip/_internal/cli/req_command.py ADDED
@@ -0,0 +1,402 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Contains the Command base classes that depend on PipSession.
2
+
3
+ The classes in this module are in a separate module so the commands not
4
+ needing download / PackageFinder capability don't unnecessarily import the
5
+ PackageFinder machinery and all its vendored dependencies, etc.
6
+ """
7
+
8
+ import logging
9
+ import os
10
+ from functools import partial
11
+
12
+ from pip._internal.cli import cmdoptions
13
+ from pip._internal.cli.base_command import Command
14
+ from pip._internal.cli.command_context import CommandContextMixIn
15
+ from pip._internal.exceptions import CommandError, PreviousBuildDirError
16
+ from pip._internal.index.collector import LinkCollector
17
+ from pip._internal.index.package_finder import PackageFinder
18
+ from pip._internal.models.selection_prefs import SelectionPreferences
19
+ from pip._internal.network.download import Downloader
20
+ from pip._internal.network.session import PipSession
21
+ from pip._internal.operations.prepare import RequirementPreparer
22
+ from pip._internal.req.constructors import (
23
+ install_req_from_editable,
24
+ install_req_from_line,
25
+ install_req_from_parsed_requirement,
26
+ install_req_from_req_string,
27
+ )
28
+ from pip._internal.req.req_file import parse_requirements
29
+ from pip._internal.self_outdated_check import pip_self_version_check
30
+ from pip._internal.utils.temp_dir import tempdir_kinds
31
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
32
+
33
+ if MYPY_CHECK_RUNNING:
34
+ from optparse import Values
35
+ from typing import Any, List, Optional, Tuple
36
+
37
+ from pip._internal.cache import WheelCache
38
+ from pip._internal.models.target_python import TargetPython
39
+ from pip._internal.req.req_install import InstallRequirement
40
+ from pip._internal.req.req_tracker import RequirementTracker
41
+ from pip._internal.resolution.base import BaseResolver
42
+ from pip._internal.utils.temp_dir import (
43
+ TempDirectory,
44
+ TempDirectoryTypeRegistry,
45
+ )
46
+
47
+
48
+ logger = logging.getLogger(__name__)
49
+
50
+
51
+ class SessionCommandMixin(CommandContextMixIn):
52
+
53
+ """
54
+ A class mixin for command classes needing _build_session().
55
+ """
56
+ def __init__(self):
57
+ # type: () -> None
58
+ super(SessionCommandMixin, self).__init__()
59
+ self._session = None # Optional[PipSession]
60
+
61
+ @classmethod
62
+ def _get_index_urls(cls, options):
63
+ # type: (Values) -> Optional[List[str]]
64
+ """Return a list of index urls from user-provided options."""
65
+ index_urls = []
66
+ if not getattr(options, "no_index", False):
67
+ url = getattr(options, "index_url", None)
68
+ if url:
69
+ index_urls.append(url)
70
+ urls = getattr(options, "extra_index_urls", None)
71
+ if urls:
72
+ index_urls.extend(urls)
73
+ # Return None rather than an empty list
74
+ return index_urls or None
75
+
76
+ def get_default_session(self, options):
77
+ # type: (Values) -> PipSession
78
+ """Get a default-managed session."""
79
+ if self._session is None:
80
+ self._session = self.enter_context(self._build_session(options))
81
+ # there's no type annotation on requests.Session, so it's
82
+ # automatically ContextManager[Any] and self._session becomes Any,
83
+ # then https://github.com/python/mypy/issues/7696 kicks in
84
+ assert self._session is not None
85
+ return self._session
86
+
87
+ def _build_session(self, options, retries=None, timeout=None):
88
+ # type: (Values, Optional[int], Optional[int]) -> PipSession
89
+ assert not options.cache_dir or os.path.isabs(options.cache_dir)
90
+ session = PipSession(
91
+ cache=(
92
+ os.path.join(options.cache_dir, "http")
93
+ if options.cache_dir else None
94
+ ),
95
+ retries=retries if retries is not None else options.retries,
96
+ trusted_hosts=options.trusted_hosts,
97
+ index_urls=self._get_index_urls(options),
98
+ )
99
+
100
+ # Handle custom ca-bundles from the user
101
+ if options.cert:
102
+ session.verify = options.cert
103
+
104
+ # Handle SSL client certificate
105
+ if options.client_cert:
106
+ session.cert = options.client_cert
107
+
108
+ # Handle timeouts
109
+ if options.timeout or timeout:
110
+ session.timeout = (
111
+ timeout if timeout is not None else options.timeout
112
+ )
113
+
114
+ # Handle configured proxies
115
+ if options.proxy:
116
+ session.proxies = {
117
+ "http": options.proxy,
118
+ "https": options.proxy,
119
+ }
120
+
121
+ # Determine if we can prompt the user for authentication or not
122
+ session.auth.prompting = not options.no_input
123
+
124
+ return session
125
+
126
+
127
+ class IndexGroupCommand(Command, SessionCommandMixin):
128
+
129
+ """
130
+ Abstract base class for commands with the index_group options.
131
+
132
+ This also corresponds to the commands that permit the pip version check.
133
+ """
134
+
135
+ def handle_pip_version_check(self, options):
136
+ # type: (Values) -> None
137
+ """
138
+ Do the pip version check if not disabled.
139
+
140
+ This overrides the default behavior of not doing the check.
141
+ """
142
+ # Make sure the index_group options are present.
143
+ assert hasattr(options, 'no_index')
144
+
145
+ if options.disable_pip_version_check or options.no_index:
146
+ return
147
+
148
+ # Otherwise, check if we're using the latest version of pip available.
149
+ session = self._build_session(
150
+ options,
151
+ retries=0,
152
+ timeout=min(5, options.timeout)
153
+ )
154
+ with session:
155
+ pip_self_version_check(session, options)
156
+
157
+
158
+ KEEPABLE_TEMPDIR_TYPES = [
159
+ tempdir_kinds.BUILD_ENV,
160
+ tempdir_kinds.EPHEM_WHEEL_CACHE,
161
+ tempdir_kinds.REQ_BUILD,
162
+ ]
163
+
164
+
165
+ def with_cleanup(func):
166
+ # type: (Any) -> Any
167
+ """Decorator for common logic related to managing temporary
168
+ directories.
169
+ """
170
+ def configure_tempdir_registry(registry):
171
+ # type: (TempDirectoryTypeRegistry) -> None
172
+ for t in KEEPABLE_TEMPDIR_TYPES:
173
+ registry.set_delete(t, False)
174
+
175
+ def wrapper(self, options, args):
176
+ # type: (RequirementCommand, Values, List[Any]) -> Optional[int]
177
+ assert self.tempdir_registry is not None
178
+ if options.no_clean:
179
+ configure_tempdir_registry(self.tempdir_registry)
180
+
181
+ try:
182
+ return func(self, options, args)
183
+ except PreviousBuildDirError:
184
+ # This kind of conflict can occur when the user passes an explicit
185
+ # build directory with a pre-existing folder. In that case we do
186
+ # not want to accidentally remove it.
187
+ configure_tempdir_registry(self.tempdir_registry)
188
+ raise
189
+
190
+ return wrapper
191
+
192
+
193
+ class RequirementCommand(IndexGroupCommand):
194
+
195
+ def __init__(self, *args, **kw):
196
+ # type: (Any, Any) -> None
197
+ super(RequirementCommand, self).__init__(*args, **kw)
198
+
199
+ self.cmd_opts.add_option(cmdoptions.no_clean())
200
+
201
+ @staticmethod
202
+ def make_requirement_preparer(
203
+ temp_build_dir, # type: TempDirectory
204
+ options, # type: Values
205
+ req_tracker, # type: RequirementTracker
206
+ session, # type: PipSession
207
+ finder, # type: PackageFinder
208
+ use_user_site, # type: bool
209
+ download_dir=None, # type: str
210
+ wheel_download_dir=None, # type: str
211
+ ):
212
+ # type: (...) -> RequirementPreparer
213
+ """
214
+ Create a RequirementPreparer instance for the given parameters.
215
+ """
216
+ downloader = Downloader(session, progress_bar=options.progress_bar)
217
+
218
+ temp_build_dir_path = temp_build_dir.path
219
+ assert temp_build_dir_path is not None
220
+
221
+ return RequirementPreparer(
222
+ build_dir=temp_build_dir_path,
223
+ src_dir=options.src_dir,
224
+ download_dir=download_dir,
225
+ wheel_download_dir=wheel_download_dir,
226
+ build_isolation=options.build_isolation,
227
+ req_tracker=req_tracker,
228
+ downloader=downloader,
229
+ finder=finder,
230
+ require_hashes=options.require_hashes,
231
+ use_user_site=use_user_site,
232
+ )
233
+
234
+ @staticmethod
235
+ def make_resolver(
236
+ preparer, # type: RequirementPreparer
237
+ finder, # type: PackageFinder
238
+ options, # type: Values
239
+ wheel_cache=None, # type: Optional[WheelCache]
240
+ use_user_site=False, # type: bool
241
+ ignore_installed=True, # type: bool
242
+ ignore_requires_python=False, # type: bool
243
+ force_reinstall=False, # type: bool
244
+ upgrade_strategy="to-satisfy-only", # type: str
245
+ use_pep517=None, # type: Optional[bool]
246
+ py_version_info=None # type: Optional[Tuple[int, ...]]
247
+ ):
248
+ # type: (...) -> BaseResolver
249
+ """
250
+ Create a Resolver instance for the given parameters.
251
+ """
252
+ make_install_req = partial(
253
+ install_req_from_req_string,
254
+ isolated=options.isolated_mode,
255
+ use_pep517=use_pep517,
256
+ )
257
+ # The long import name and duplicated invocation is needed to convince
258
+ # Mypy into correctly typechecking. Otherwise it would complain the
259
+ # "Resolver" class being redefined.
260
+ if '2020-resolver' in options.features_enabled:
261
+ import pip._internal.resolution.resolvelib.resolver
262
+ return pip._internal.resolution.resolvelib.resolver.Resolver(
263
+ preparer=preparer,
264
+ finder=finder,
265
+ wheel_cache=wheel_cache,
266
+ make_install_req=make_install_req,
267
+ use_user_site=use_user_site,
268
+ ignore_dependencies=options.ignore_dependencies,
269
+ ignore_installed=ignore_installed,
270
+ ignore_requires_python=ignore_requires_python,
271
+ force_reinstall=force_reinstall,
272
+ upgrade_strategy=upgrade_strategy,
273
+ py_version_info=py_version_info,
274
+ lazy_wheel='fast-deps' in options.features_enabled,
275
+ )
276
+ import pip._internal.resolution.legacy.resolver
277
+ return pip._internal.resolution.legacy.resolver.Resolver(
278
+ preparer=preparer,
279
+ finder=finder,
280
+ wheel_cache=wheel_cache,
281
+ make_install_req=make_install_req,
282
+ use_user_site=use_user_site,
283
+ ignore_dependencies=options.ignore_dependencies,
284
+ ignore_installed=ignore_installed,
285
+ ignore_requires_python=ignore_requires_python,
286
+ force_reinstall=force_reinstall,
287
+ upgrade_strategy=upgrade_strategy,
288
+ py_version_info=py_version_info,
289
+ )
290
+
291
+ def get_requirements(
292
+ self,
293
+ args, # type: List[str]
294
+ options, # type: Values
295
+ finder, # type: PackageFinder
296
+ session, # type: PipSession
297
+ ):
298
+ # type: (...) -> List[InstallRequirement]
299
+ """
300
+ Parse command-line arguments into the corresponding requirements.
301
+ """
302
+ requirements = [] # type: List[InstallRequirement]
303
+ for filename in options.constraints:
304
+ for parsed_req in parse_requirements(
305
+ filename,
306
+ constraint=True, finder=finder, options=options,
307
+ session=session):
308
+ req_to_add = install_req_from_parsed_requirement(
309
+ parsed_req,
310
+ isolated=options.isolated_mode,
311
+ user_supplied=False,
312
+ )
313
+ requirements.append(req_to_add)
314
+
315
+ for req in args:
316
+ req_to_add = install_req_from_line(
317
+ req, None, isolated=options.isolated_mode,
318
+ use_pep517=options.use_pep517,
319
+ user_supplied=True,
320
+ )
321
+ requirements.append(req_to_add)
322
+
323
+ for req in options.editables:
324
+ req_to_add = install_req_from_editable(
325
+ req,
326
+ user_supplied=True,
327
+ isolated=options.isolated_mode,
328
+ use_pep517=options.use_pep517,
329
+ )
330
+ requirements.append(req_to_add)
331
+
332
+ # NOTE: options.require_hashes may be set if --require-hashes is True
333
+ for filename in options.requirements:
334
+ for parsed_req in parse_requirements(
335
+ filename,
336
+ finder=finder, options=options, session=session):
337
+ req_to_add = install_req_from_parsed_requirement(
338
+ parsed_req,
339
+ isolated=options.isolated_mode,
340
+ use_pep517=options.use_pep517,
341
+ user_supplied=True,
342
+ )
343
+ requirements.append(req_to_add)
344
+
345
+ # If any requirement has hash options, enable hash checking.
346
+ if any(req.has_hash_options for req in requirements):
347
+ options.require_hashes = True
348
+
349
+ if not (args or options.editables or options.requirements):
350
+ opts = {'name': self.name}
351
+ if options.find_links:
352
+ raise CommandError(
353
+ 'You must give at least one requirement to {name} '
354
+ '(maybe you meant "pip {name} {links}"?)'.format(
355
+ **dict(opts, links=' '.join(options.find_links))))
356
+ else:
357
+ raise CommandError(
358
+ 'You must give at least one requirement to {name} '
359
+ '(see "pip help {name}")'.format(**opts))
360
+
361
+ return requirements
362
+
363
+ @staticmethod
364
+ def trace_basic_info(finder):
365
+ # type: (PackageFinder) -> None
366
+ """
367
+ Trace basic information about the provided objects.
368
+ """
369
+ # Display where finder is looking for packages
370
+ search_scope = finder.search_scope
371
+ locations = search_scope.get_formatted_locations()
372
+ if locations:
373
+ logger.info(locations)
374
+
375
+ def _build_package_finder(
376
+ self,
377
+ options, # type: Values
378
+ session, # type: PipSession
379
+ target_python=None, # type: Optional[TargetPython]
380
+ ignore_requires_python=None, # type: Optional[bool]
381
+ ):
382
+ # type: (...) -> PackageFinder
383
+ """
384
+ Create a package finder appropriate to this requirement command.
385
+
386
+ :param ignore_requires_python: Whether to ignore incompatible
387
+ "Requires-Python" values in links. Defaults to False.
388
+ """
389
+ link_collector = LinkCollector.create(session, options=options)
390
+ selection_prefs = SelectionPreferences(
391
+ allow_yanked=True,
392
+ format_control=options.format_control,
393
+ allow_all_prereleases=options.pre,
394
+ prefer_binary=options.prefer_binary,
395
+ ignore_requires_python=ignore_requires_python,
396
+ )
397
+
398
+ return PackageFinder.create(
399
+ link_collector=link_collector,
400
+ selection_prefs=selection_prefs,
401
+ target_python=target_python,
402
+ )
.env/Lib/site-packages/pip/_internal/cli/spinners.py ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import absolute_import, division
2
+
3
+ import contextlib
4
+ import itertools
5
+ import logging
6
+ import sys
7
+ import time
8
+
9
+ from pip._vendor.progress import HIDE_CURSOR, SHOW_CURSOR
10
+
11
+ from pip._internal.utils.compat import WINDOWS
12
+ from pip._internal.utils.logging import get_indentation
13
+ from pip._internal.utils.typing import MYPY_CHECK_RUNNING
14
+
15
+ if MYPY_CHECK_RUNNING:
16
+ from typing import Iterator, IO
17
+
18
+ logger = logging.getLogger(__name__)
19
+
20
+
21
+ class SpinnerInterface(object):
22
+ def spin(self):
23
+ # type: () -> None
24
+ raise NotImplementedError()
25
+
26
+ def finish(self, final_status):
27
+ # type: (str) -> None
28
+ raise NotImplementedError()
29
+
30
+
31
+ class InteractiveSpinner(SpinnerInterface):
32
+ def __init__(self, message, file=None, spin_chars="-\\|/",
33
+ # Empirically, 8 updates/second looks nice
34
+ min_update_interval_seconds=0.125):
35
+ # type: (str, IO[str], str, float) -> None
36
+ self._message = message
37
+ if file is None:
38
+ file = sys.stdout
39
+ self._file = file
40
+ self._rate_limiter = RateLimiter(min_update_interval_seconds)
41
+ self._finished = False
42
+
43
+ self._spin_cycle = itertools.cycle(spin_chars)
44
+
45
+ self._file.write(" " * get_indentation() + self._message + " ... ")
46
+ self._width = 0
47
+
48
+ def _write(self, status):
49
+ # type: (str) -> None
50
+ assert not self._finished
51
+ # Erase what we wrote before by backspacing to the beginning, writing
52
+ # spaces to overwrite the old text, and then backspacing again
53
+ backup = "\b" * self._width
54
+ self._file.write(backup + " " * self._width + backup)
55
+ # Now we have a blank slate to add our status
56
+ self._file.write(status)
57
+ self._width = len(status)
58
+ self._file.flush()
59
+ self._rate_limiter.reset()
60
+
61
+ def spin(self):
62
+ # type: () -> None
63
+ if self._finished:
64
+ return
65
+ if not self._rate_limiter.ready():
66
+ return
67
+ self._write(next(self._spin_cycle))
68
+
69
+ def finish(self, final_status):
70
+ # type: (str) -> None
71
+ if self._finished:
72
+ return
73
+ self._write(final_status)
74
+ self._file.write("\n")
75
+ self._file.flush()
76
+ self._finished = True
77
+
78
+
79
+ # Used for dumb terminals, non-interactive installs (no tty), etc.
80
+ # We still print updates occasionally (once every 60 seconds by default) to
81
+ # act as a keep-alive for systems like Travis-CI that take lack-of-output as
82
+ # an indication that a task has frozen.
83
+ class NonInteractiveSpinner(SpinnerInterface):
84
+ def __init__(self, message, min_update_interval_seconds=60):
85
+ # type: (str, float) -> None
86
+ self._message = message
87
+ self._finished = False
88
+ self._rate_limiter = RateLimiter(min_update_interval_seconds)
89
+ self._update("started")
90
+
91
+ def _update(self, status):
92
+ # type: (str) -> None
93
+ assert not self._finished
94
+ self._rate_limiter.reset()
95
+ logger.info("%s: %s", self._message, status)
96
+
97
+ def spin(self):
98
+ # type: () -> None
99
+ if self._finished:
100
+ return
101
+ if not self._rate_limiter.ready():
102
+ return
103
+ self._update("still running...")
104
+
105
+ def finish(self, final_status):
106
+ # type: (str) -> None
107
+ if self._finished:
108
+ return
109
+ self._update(
110
+ "finished with status '{final_status}'".format(**locals()))
111
+ self._finished = True
112
+
113
+
114
+ class RateLimiter(object):
115
+ def __init__(self, min_update_interval_seconds):
116
+ # type: (float) -> None
117
+ self._min_update_interval_seconds = min_update_interval_seconds
118
+ self._last_update = 0 # type: float
119
+
120
+ def ready(self):
121
+ # type: () -> bool
122
+ now = time.time()
123
+ delta = now - self._last_update
124
+ return delta >= self._min_update_interval_seconds
125
+
126
+ def reset(self):
127
+ # type: () -> None
128
+ self._last_update = time.time()
129
+
130
+
131
+ @contextlib.contextmanager
132
+ def open_spinner(message):
133
+ # type: (str) -> Iterator[SpinnerInterface]
134
+ # Interactive spinner goes directly to sys.stdout rather than being routed
135
+ # through the logging system, but it acts like it has level INFO,
136
+ # i.e. it's only displayed if we're at level INFO or better.
137
+ # Non-interactive spinner goes through the logging system, so it is always
138
+ # in sync with logging configuration.
139
+ if sys.stdout.isatty() and logger.getEffectiveLevel() <= logging.INFO:
140
+ spinner = InteractiveSpinner(message) # type: SpinnerInterface
141
+ else:
142
+ spinner = NonInteractiveSpinner(message)
143
+ try:
144
+ with hidden_cursor(sys.stdout):
145
+ yield spinner
146
+ except KeyboardInterrupt:
147
+ spinner.finish("canceled")
148
+ raise
149
+ except Exception:
150
+ spinner.finish("error")
151
+ raise
152
+ else:
153
+ spinner.finish("done")
154
+
155
+
156
+ @contextlib.contextmanager
157
+ def hidden_cursor(file):
158
+ # type: (IO[str]) -> Iterator[None]
159
+ # The Windows terminal does not support the hide/show cursor ANSI codes,
160
+ # even via colorama. So don't even try.
161
+ if WINDOWS:
162
+ yield
163
+ # We don't want to clutter the output with control characters if we're
164
+ # writing to a file, or if the user is running with --quiet.
165
+ # See https://github.com/pypa/pip/issues/3418
166
+ elif not file.isatty() or logger.getEffectiveLevel() > logging.INFO:
167
+ yield
168
+ else:
169
+ file.write(HIDE_CURSOR)
170
+ try:
171
+ yield
172
+ finally:
173
+ file.write(SHOW_CURSOR)