Spaces:
Runtime error
Runtime error
Hackoor
commited on
Commit
•
cbbae5c
0
Parent(s):
Duplicate from Hackoor/SampleLlamaModel-1
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .env +2 -0
- .gitattributes +35 -0
- README.md +14 -0
- app.py +126 -0
- env/Lib/site-packages/_distutils_hack/__init__.py +128 -0
- env/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-39.pyc +0 -0
- env/Lib/site-packages/_distutils_hack/__pycache__/override.cpython-39.pyc +0 -0
- env/Lib/site-packages/_distutils_hack/override.py +1 -0
- env/Lib/site-packages/distutils-precedence.pth +3 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/INSTALLER +1 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/LICENSE.txt +20 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/METADATA +91 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/RECORD +797 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/REQUESTED +0 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/WHEEL +5 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/entry_points.txt +5 -0
- env/Lib/site-packages/pip-21.1.1.dist-info/top_level.txt +1 -0
- env/Lib/site-packages/pip/__init__.py +14 -0
- env/Lib/site-packages/pip/__main__.py +31 -0
- env/Lib/site-packages/pip/__pycache__/__init__.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/__pycache__/__main__.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__init__.py +15 -0
- env/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/main.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/build_env.py +283 -0
- env/Lib/site-packages/pip/_internal/cache.py +287 -0
- env/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc +0 -0
- env/Lib/site-packages/pip/_internal/cli/autocompletion.py +162 -0
- env/Lib/site-packages/pip/_internal/cli/base_command.py +221 -0
- env/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1024 -0
- env/Lib/site-packages/pip/_internal/cli/command_context.py +30 -0
.env
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
# REPLICATE_API_TOKEN = 'r8_TjxeUeDEPx7tLAGWgs0aWVpq1jt4IwG31vGhU'
|
2 |
+
REPLICATE_API_TOKEN = 'r8_DBbIKYxWoDTRrE6xxaH8AcrSPPSSHzZ01yMWV'
|
.gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: SampleLlamaModel 1
|
3 |
+
emoji: 📉
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: blue
|
6 |
+
sdk: streamlit
|
7 |
+
sdk_version: 1.26.0
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: llama2
|
11 |
+
duplicated_from: Hackoor/SampleLlamaModel-1
|
12 |
+
---
|
13 |
+
|
14 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from streamlit_chat import message
|
3 |
+
from langchain.chains import ConversationalRetrievalChain
|
4 |
+
from langchain.embeddings import HuggingFaceEmbeddings
|
5 |
+
from langchain.llms import CTransformers
|
6 |
+
from langchain.llms import Replicate
|
7 |
+
from langchain.text_splitter import CharacterTextSplitter
|
8 |
+
from langchain.vectorstores import FAISS
|
9 |
+
from langchain.memory import ConversationBufferMemory
|
10 |
+
from langchain.document_loaders import PyPDFLoader
|
11 |
+
from langchain.document_loaders import TextLoader
|
12 |
+
from langchain.document_loaders import Docx2txtLoader
|
13 |
+
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
|
14 |
+
import os
|
15 |
+
from dotenv import load_dotenv
|
16 |
+
import tempfile
|
17 |
+
|
18 |
+
|
19 |
+
load_dotenv()
|
20 |
+
|
21 |
+
|
22 |
+
def initialize_session_state():
|
23 |
+
if 'history' not in st.session_state:
|
24 |
+
st.session_state['history'] = []
|
25 |
+
|
26 |
+
if 'generated' not in st.session_state:
|
27 |
+
st.session_state['generated'] = ["Hello! Ask me anything about 🤗"]
|
28 |
+
|
29 |
+
if 'past' not in st.session_state:
|
30 |
+
st.session_state['past'] = ["Hey! 👋"]
|
31 |
+
|
32 |
+
def conversation_chat(query, chain, history):
|
33 |
+
result = chain({"question": query, "chat_history": history})
|
34 |
+
history.append((query, result["answer"]))
|
35 |
+
return result["answer"]
|
36 |
+
|
37 |
+
def display_chat_history(chain):
|
38 |
+
reply_container = st.container()
|
39 |
+
container = st.container()
|
40 |
+
|
41 |
+
with container:
|
42 |
+
with st.form(key='my_form', clear_on_submit=True):
|
43 |
+
user_input = st.text_input("Question:", placeholder="Ask about your Documents", key='input')
|
44 |
+
submit_button = st.form_submit_button(label='Send')
|
45 |
+
|
46 |
+
if submit_button and user_input:
|
47 |
+
with st.spinner('Generating response...'):
|
48 |
+
output = conversation_chat(user_input, chain, st.session_state['history'])
|
49 |
+
|
50 |
+
st.session_state['past'].append(user_input)
|
51 |
+
st.session_state['generated'].append(output)
|
52 |
+
|
53 |
+
if st.session_state['generated']:
|
54 |
+
with reply_container:
|
55 |
+
for i in range(len(st.session_state['generated'])):
|
56 |
+
message(st.session_state["past"][i], is_user=True, key=str(i) + '_user', avatar_style="thumbs")
|
57 |
+
message(st.session_state["generated"][i], key=str(i), avatar_style="fun-emoji")
|
58 |
+
|
59 |
+
def create_conversational_chain(vector_store):
|
60 |
+
load_dotenv()
|
61 |
+
# Create llm
|
62 |
+
#llm = CTransformers(model="llama-2-7b-chat.ggmlv3.q4_0.bin",
|
63 |
+
#streaming=True,
|
64 |
+
#callbacks=[StreamingStdOutCallbackHandler()],
|
65 |
+
#model_type="llama", config={'max_new_tokens': 500, 'temperature': 0.01})
|
66 |
+
llm = Replicate(
|
67 |
+
streaming = True,
|
68 |
+
model = "replicate/llama-2-70b-chat:58d078176e02c219e11eb4da5a02a7830a283b14cf8f94537af893ccff5ee781",
|
69 |
+
callbacks=[StreamingStdOutCallbackHandler()],
|
70 |
+
input = {"temperature": 0.01, "max_length" :500,"top_p":1})
|
71 |
+
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
|
72 |
+
|
73 |
+
chain = ConversationalRetrievalChain.from_llm(llm=llm, chain_type='stuff',
|
74 |
+
retriever=vector_store.as_retriever(search_kwargs={"k": 2}),
|
75 |
+
memory=memory)
|
76 |
+
return chain
|
77 |
+
|
78 |
+
def main():
|
79 |
+
load_dotenv()
|
80 |
+
# Initialize session state
|
81 |
+
initialize_session_state()
|
82 |
+
st.title("Multi-Docs ChatBot using llama-2-70b :books:")
|
83 |
+
# Initialize Streamlit
|
84 |
+
st.sidebar.title("Document Processing")
|
85 |
+
uploaded_files = st.sidebar.file_uploader("Upload files", accept_multiple_files=True)
|
86 |
+
|
87 |
+
|
88 |
+
if uploaded_files:
|
89 |
+
text = []
|
90 |
+
for file in uploaded_files:
|
91 |
+
file_extension = os.path.splitext(file.name)[1]
|
92 |
+
with tempfile.NamedTemporaryFile(delete=False) as temp_file:
|
93 |
+
temp_file.write(file.read())
|
94 |
+
temp_file_path = temp_file.name
|
95 |
+
|
96 |
+
loader = None
|
97 |
+
if file_extension == ".pdf":
|
98 |
+
loader = PyPDFLoader(temp_file_path)
|
99 |
+
elif file_extension == ".docx" or file_extension == ".doc":
|
100 |
+
loader = Docx2txtLoader(temp_file_path)
|
101 |
+
elif file_extension == ".txt":
|
102 |
+
loader = TextLoader(temp_file_path)
|
103 |
+
|
104 |
+
if loader:
|
105 |
+
text.extend(loader.load())
|
106 |
+
os.remove(temp_file_path)
|
107 |
+
|
108 |
+
text_splitter = CharacterTextSplitter(separator="\n", chunk_size=1000, chunk_overlap=100, length_function=len)
|
109 |
+
text_chunks = text_splitter.split_documents(text)
|
110 |
+
|
111 |
+
# Create embeddings
|
112 |
+
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2",
|
113 |
+
model_kwargs={'device': 'cpu'})
|
114 |
+
|
115 |
+
# Create vector store
|
116 |
+
vector_store = FAISS.from_documents(text_chunks, embedding=embeddings)
|
117 |
+
|
118 |
+
# Create the chain object
|
119 |
+
chain = create_conversational_chain(vector_store)
|
120 |
+
|
121 |
+
|
122 |
+
display_chat_history(chain)
|
123 |
+
|
124 |
+
if __name__ == "__main__":
|
125 |
+
main()
|
126 |
+
|
env/Lib/site-packages/_distutils_hack/__init__.py
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import sys
|
2 |
+
import os
|
3 |
+
import re
|
4 |
+
import importlib
|
5 |
+
import warnings
|
6 |
+
|
7 |
+
|
8 |
+
is_pypy = '__pypy__' in sys.builtin_module_names
|
9 |
+
|
10 |
+
|
11 |
+
warnings.filterwarnings('ignore',
|
12 |
+
'.+ distutils .+ deprecated',
|
13 |
+
DeprecationWarning)
|
14 |
+
|
15 |
+
|
16 |
+
def warn_distutils_present():
|
17 |
+
if 'distutils' not in sys.modules:
|
18 |
+
return
|
19 |
+
if is_pypy and sys.version_info < (3, 7):
|
20 |
+
# PyPy for 3.6 unconditionally imports distutils, so bypass the warning
|
21 |
+
# https://foss.heptapod.net/pypy/pypy/-/blob/be829135bc0d758997b3566062999ee8b23872b4/lib-python/3/site.py#L250
|
22 |
+
return
|
23 |
+
warnings.warn(
|
24 |
+
"Distutils was imported before Setuptools, but importing Setuptools "
|
25 |
+
"also replaces the `distutils` module in `sys.modules`. This may lead "
|
26 |
+
"to undesirable behaviors or errors. To avoid these issues, avoid "
|
27 |
+
"using distutils directly, ensure that setuptools is installed in the "
|
28 |
+
"traditional way (e.g. not an editable install), and/or make sure "
|
29 |
+
"that setuptools is always imported before distutils.")
|
30 |
+
|
31 |
+
|
32 |
+
def clear_distutils():
|
33 |
+
if 'distutils' not in sys.modules:
|
34 |
+
return
|
35 |
+
warnings.warn("Setuptools is replacing distutils.")
|
36 |
+
mods = [name for name in sys.modules if re.match(r'distutils\b', name)]
|
37 |
+
for name in mods:
|
38 |
+
del sys.modules[name]
|
39 |
+
|
40 |
+
|
41 |
+
def enabled():
|
42 |
+
"""
|
43 |
+
Allow selection of distutils by environment variable.
|
44 |
+
"""
|
45 |
+
which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'stdlib')
|
46 |
+
return which == 'local'
|
47 |
+
|
48 |
+
|
49 |
+
def ensure_local_distutils():
|
50 |
+
clear_distutils()
|
51 |
+
distutils = importlib.import_module('setuptools._distutils')
|
52 |
+
distutils.__name__ = 'distutils'
|
53 |
+
sys.modules['distutils'] = distutils
|
54 |
+
|
55 |
+
# sanity check that submodules load as expected
|
56 |
+
core = importlib.import_module('distutils.core')
|
57 |
+
assert '_distutils' in core.__file__, core.__file__
|
58 |
+
|
59 |
+
|
60 |
+
def do_override():
|
61 |
+
"""
|
62 |
+
Ensure that the local copy of distutils is preferred over stdlib.
|
63 |
+
|
64 |
+
See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401
|
65 |
+
for more motivation.
|
66 |
+
"""
|
67 |
+
if enabled():
|
68 |
+
warn_distutils_present()
|
69 |
+
ensure_local_distutils()
|
70 |
+
|
71 |
+
|
72 |
+
class DistutilsMetaFinder:
|
73 |
+
def find_spec(self, fullname, path, target=None):
|
74 |
+
if path is not None:
|
75 |
+
return
|
76 |
+
|
77 |
+
method_name = 'spec_for_{fullname}'.format(**locals())
|
78 |
+
method = getattr(self, method_name, lambda: None)
|
79 |
+
return method()
|
80 |
+
|
81 |
+
def spec_for_distutils(self):
|
82 |
+
import importlib.abc
|
83 |
+
import importlib.util
|
84 |
+
|
85 |
+
class DistutilsLoader(importlib.abc.Loader):
|
86 |
+
|
87 |
+
def create_module(self, spec):
|
88 |
+
return importlib.import_module('setuptools._distutils')
|
89 |
+
|
90 |
+
def exec_module(self, module):
|
91 |
+
pass
|
92 |
+
|
93 |
+
return importlib.util.spec_from_loader('distutils', DistutilsLoader())
|
94 |
+
|
95 |
+
def spec_for_pip(self):
|
96 |
+
"""
|
97 |
+
Ensure stdlib distutils when running under pip.
|
98 |
+
See pypa/pip#8761 for rationale.
|
99 |
+
"""
|
100 |
+
if self.pip_imported_during_build():
|
101 |
+
return
|
102 |
+
clear_distutils()
|
103 |
+
self.spec_for_distutils = lambda: None
|
104 |
+
|
105 |
+
@staticmethod
|
106 |
+
def pip_imported_during_build():
|
107 |
+
"""
|
108 |
+
Detect if pip is being imported in a build script. Ref #2355.
|
109 |
+
"""
|
110 |
+
import traceback
|
111 |
+
return any(
|
112 |
+
frame.f_globals['__file__'].endswith('setup.py')
|
113 |
+
for frame, line in traceback.walk_stack(None)
|
114 |
+
)
|
115 |
+
|
116 |
+
|
117 |
+
DISTUTILS_FINDER = DistutilsMetaFinder()
|
118 |
+
|
119 |
+
|
120 |
+
def add_shim():
|
121 |
+
sys.meta_path.insert(0, DISTUTILS_FINDER)
|
122 |
+
|
123 |
+
|
124 |
+
def remove_shim():
|
125 |
+
try:
|
126 |
+
sys.meta_path.remove(DISTUTILS_FINDER)
|
127 |
+
except ValueError:
|
128 |
+
pass
|
env/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-39.pyc
ADDED
Binary file (5.11 kB). View file
|
|
env/Lib/site-packages/_distutils_hack/__pycache__/override.cpython-39.pyc
ADDED
Binary file (238 Bytes). View file
|
|
env/Lib/site-packages/_distutils_hack/override.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
__import__('_distutils_hack').do_override()
|
env/Lib/site-packages/distutils-precedence.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ea7ffef3fe2a117ee12c68ed6553617f0d7fd2f0590257c25c484959a3b7373
|
3 |
+
size 152
|
env/Lib/site-packages/pip-21.1.1.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env/Lib/site-packages/pip-21.1.1.dist-info/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) 2008-2021 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-21.1.1.dist-info/METADATA
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: pip
|
3 |
+
Version: 21.1.1
|
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 |
+
Platform: UNKNOWN
|
13 |
+
Classifier: Development Status :: 5 - Production/Stable
|
14 |
+
Classifier: Intended Audience :: Developers
|
15 |
+
Classifier: License :: OSI Approved :: MIT License
|
16 |
+
Classifier: Topic :: Software Development :: Build Tools
|
17 |
+
Classifier: Programming Language :: Python
|
18 |
+
Classifier: Programming Language :: Python :: 3
|
19 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
20 |
+
Classifier: Programming Language :: Python :: 3.6
|
21 |
+
Classifier: Programming Language :: Python :: 3.7
|
22 |
+
Classifier: Programming Language :: Python :: 3.8
|
23 |
+
Classifier: Programming Language :: Python :: 3.9
|
24 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
25 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
26 |
+
Requires-Python: >=3.6
|
27 |
+
|
28 |
+
pip - The Python Package Installer
|
29 |
+
==================================
|
30 |
+
|
31 |
+
.. image:: https://img.shields.io/pypi/v/pip.svg
|
32 |
+
:target: https://pypi.org/project/pip/
|
33 |
+
|
34 |
+
.. image:: https://readthedocs.org/projects/pip/badge/?version=latest
|
35 |
+
:target: https://pip.pypa.io/en/latest
|
36 |
+
|
37 |
+
pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
|
38 |
+
|
39 |
+
Please take a look at our documentation for how to install and use pip:
|
40 |
+
|
41 |
+
* `Installation`_
|
42 |
+
* `Usage`_
|
43 |
+
|
44 |
+
We release updates regularly, with a new version every 3 months. Find more details in our documentation:
|
45 |
+
|
46 |
+
* `Release notes`_
|
47 |
+
* `Release process`_
|
48 |
+
|
49 |
+
In pip 20.3, we've `made a big improvement to the heart of pip`_; `learn more`_. We want your input, so `sign up for our user experience research studies`_ to help us do it right.
|
50 |
+
|
51 |
+
**Note**: pip 21.0, in January 2021, removed Python 2 support, per pip's `Python 2 support policy`_. Please migrate to Python 3.
|
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 `PSF 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 |
+
.. _made a big improvement to the heart of pip: https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html
|
81 |
+
.. _learn more: https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020
|
82 |
+
.. _sign up for our user experience research studies: https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html
|
83 |
+
.. _Python 2 support policy: https://pip.pypa.io/en/latest/development/release-process/#python-2-support
|
84 |
+
.. _Issue tracking: https://github.com/pypa/pip/issues
|
85 |
+
.. _Discourse channel: https://discuss.python.org/c/packaging
|
86 |
+
.. _Development mailing list: https://mail.python.org/mailman3/lists/distutils-sig.python.org/
|
87 |
+
.. _User IRC: https://webchat.freenode.net/?channels=%23pypa
|
88 |
+
.. _Development IRC: https://webchat.freenode.net/?channels=%23pypa-dev
|
89 |
+
.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
|
90 |
+
|
91 |
+
|
env/Lib/site-packages/pip-21.1.1.dist-info/RECORD
ADDED
@@ -0,0 +1,797 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
../../Scripts/pip.exe,sha256=ZK5eoiDQaB_t0UoW-aoYLNEweMd4zY6te5ziqQ94cT8,106380
|
2 |
+
../../Scripts/pip3.9.exe,sha256=ZK5eoiDQaB_t0UoW-aoYLNEweMd4zY6te5ziqQ94cT8,106380
|
3 |
+
../../Scripts/pip3.exe,sha256=ZK5eoiDQaB_t0UoW-aoYLNEweMd4zY6te5ziqQ94cT8,106380
|
4 |
+
pip-21.1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
5 |
+
pip-21.1.1.dist-info/LICENSE.txt,sha256=I6c2HCsVgQKLxiO52ivSSZeryqR4Gs5q1ESjeUT42uE,1090
|
6 |
+
pip-21.1.1.dist-info/METADATA,sha256=xbneQteqeTXoxGVWMqjCPWS84jWH2te_vHc_D568b_4,4103
|
7 |
+
pip-21.1.1.dist-info/RECORD,,
|
8 |
+
pip-21.1.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9 |
+
pip-21.1.1.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
10 |
+
pip-21.1.1.dist-info/entry_points.txt,sha256=HtfDOwpUlr9s73jqLQ6wF9V0_0qvUXJwCBz7Vwx0Ue0,125
|
11 |
+
pip-21.1.1.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
12 |
+
pip/__init__.py,sha256=e-obaS2xNkFFV2A8A_64QHE7XEDrdKmwI3ETVsPkgfo,368
|
13 |
+
pip/__main__.py,sha256=mXwWDftNLMKfwVqKFWGE_uuBZvGSIiUELhLkeysIuZc,1198
|
14 |
+
pip/__pycache__/__init__.cpython-39.pyc,,
|
15 |
+
pip/__pycache__/__main__.cpython-39.pyc,,
|
16 |
+
pip/_internal/__init__.py,sha256=XvJ1JIumQnfLNFxVRdf_xrbhkTg1WMUrf2GzrH27F3A,410
|
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__/main.cpython-39.pyc,,
|
23 |
+
pip/_internal/__pycache__/pyproject.cpython-39.pyc,,
|
24 |
+
pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc,,
|
25 |
+
pip/_internal/__pycache__/wheel_builder.cpython-39.pyc,,
|
26 |
+
pip/_internal/build_env.py,sha256=_cytb4PYke9wAqbZhK76_WyUXoJOiIhGuhglb5zNpBk,9643
|
27 |
+
pip/_internal/cache.py,sha256=6VONtoReGZbBd7sqY1n6hwkdWC4iz3tmXwXwZjpjZKw,9958
|
28 |
+
pip/_internal/cli/__init__.py,sha256=FkHBgpxxb-_gd6r1FjnNhfMOzAUYyXoXKJ6abijfcFU,132
|
29 |
+
pip/_internal/cli/__pycache__/__init__.cpython-39.pyc,,
|
30 |
+
pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc,,
|
31 |
+
pip/_internal/cli/__pycache__/base_command.cpython-39.pyc,,
|
32 |
+
pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc,,
|
33 |
+
pip/_internal/cli/__pycache__/command_context.cpython-39.pyc,,
|
34 |
+
pip/_internal/cli/__pycache__/main.cpython-39.pyc,,
|
35 |
+
pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc,,
|
36 |
+
pip/_internal/cli/__pycache__/parser.cpython-39.pyc,,
|
37 |
+
pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc,,
|
38 |
+
pip/_internal/cli/__pycache__/req_command.cpython-39.pyc,,
|
39 |
+
pip/_internal/cli/__pycache__/spinners.cpython-39.pyc,,
|
40 |
+
pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc,,
|
41 |
+
pip/_internal/cli/autocompletion.py,sha256=r2GQSaHHim1LwPhMaO9MPeKdsSv5H8S9ElVsmByQNew,6350
|
42 |
+
pip/_internal/cli/base_command.py,sha256=26MHnlzZSC-Wk2j2OGsBDs5cl2ladrovJyVy1_2g0Zk,7741
|
43 |
+
pip/_internal/cli/cmdoptions.py,sha256=52JIyP5C6yT8DpT1O2ZseAY-vMvLTb8FqO0g85OFYMs,28999
|
44 |
+
pip/_internal/cli/command_context.py,sha256=k2JF5WPsP1MNKaXWK8jZFbJhYffzkdvGaPsL53tZbDU,815
|
45 |
+
pip/_internal/cli/main.py,sha256=G_OsY66FZRtmLrMJ4k3m77tmtsRRRQd3_-qle1lvmng,2483
|
46 |
+
pip/_internal/cli/main_parser.py,sha256=G70Z1fXLYzeJuuotgwKwq-daCJ0jCmmHxx6aFHz6WAQ,2642
|
47 |
+
pip/_internal/cli/parser.py,sha256=rx4w6IgD0Obi7t1k9mV0zlYhy_DuCoaDCqhkUKMOFNU,11097
|
48 |
+
pip/_internal/cli/progress_bars.py,sha256=ck_ILji6aRTG0zxXajnPWIpQTGxTzm3nscZOxwNmTWo,8576
|
49 |
+
pip/_internal/cli/req_command.py,sha256=refPyZdKuluridcLaCdSJtgyYFchxd9y8pMMp_7PO-s,16884
|
50 |
+
pip/_internal/cli/spinners.py,sha256=VLdSWCvyk3KokujLyBf_QKYcGbrePQoPB4v7jqG7xyA,5347
|
51 |
+
pip/_internal/cli/status_codes.py,sha256=sEFHUaUJbqv8iArL3HAtcztWZmGOFX01hTesSytDEh0,116
|
52 |
+
pip/_internal/commands/__init__.py,sha256=v-xml8oMwrQhCpmApkpcMOE97Mp8QaBxoRObnGS43_8,3659
|
53 |
+
pip/_internal/commands/__pycache__/__init__.cpython-39.pyc,,
|
54 |
+
pip/_internal/commands/__pycache__/cache.cpython-39.pyc,,
|
55 |
+
pip/_internal/commands/__pycache__/check.cpython-39.pyc,,
|
56 |
+
pip/_internal/commands/__pycache__/completion.cpython-39.pyc,,
|
57 |
+
pip/_internal/commands/__pycache__/configuration.cpython-39.pyc,,
|
58 |
+
pip/_internal/commands/__pycache__/debug.cpython-39.pyc,,
|
59 |
+
pip/_internal/commands/__pycache__/download.cpython-39.pyc,,
|
60 |
+
pip/_internal/commands/__pycache__/freeze.cpython-39.pyc,,
|
61 |
+
pip/_internal/commands/__pycache__/hash.cpython-39.pyc,,
|
62 |
+
pip/_internal/commands/__pycache__/help.cpython-39.pyc,,
|
63 |
+
pip/_internal/commands/__pycache__/install.cpython-39.pyc,,
|
64 |
+
pip/_internal/commands/__pycache__/list.cpython-39.pyc,,
|
65 |
+
pip/_internal/commands/__pycache__/search.cpython-39.pyc,,
|
66 |
+
pip/_internal/commands/__pycache__/show.cpython-39.pyc,,
|
67 |
+
pip/_internal/commands/__pycache__/uninstall.cpython-39.pyc,,
|
68 |
+
pip/_internal/commands/__pycache__/wheel.cpython-39.pyc,,
|
69 |
+
pip/_internal/commands/cache.py,sha256=AELf98RWR_giU9wl0RSXf-MsTyO5G_iwO0iHoF4Fbmc,7414
|
70 |
+
pip/_internal/commands/check.py,sha256=Dt0w7NqFp8o_45J7w32GQrKezsz2vwo_U8UmsHD9YNI,1587
|
71 |
+
pip/_internal/commands/completion.py,sha256=UxS09s8rEnU08AAiN3gHdQIjU4XGSlv5SJ3rIJdTyhA,2951
|
72 |
+
pip/_internal/commands/configuration.py,sha256=X1fdVdEg8MHFtArU-3bM6WBNax1E7Z7qszPEdlK1zqo,9206
|
73 |
+
pip/_internal/commands/debug.py,sha256=yntOplw93VZoQAVBB3BXPKuqbam4mT6TErastFwFy3s,6806
|
74 |
+
pip/_internal/commands/download.py,sha256=zv8S_DN2-k6K0VSR3yCPLSrLehoYkj3IvyO1Ho8t8V4,4993
|
75 |
+
pip/_internal/commands/freeze.py,sha256=vPVguwBb15ubv8Es9oPSyWePBe2cq39QxjU4KizeTwk,3431
|
76 |
+
pip/_internal/commands/hash.py,sha256=ip64AsJ6EFUEaWKDvsZmdQHks1JTEgrDjH5byl-IYyc,1713
|
77 |
+
pip/_internal/commands/help.py,sha256=6Mnzrak_j-yE3psDCqi2GxISJqIZJ04DObKU9QhnxME,1149
|
78 |
+
pip/_internal/commands/install.py,sha256=aFvZQfPrMrHDb6jjbmrVlyvDxMIeX3ZcZKSQvY6c0KI,27135
|
79 |
+
pip/_internal/commands/list.py,sha256=jfqDS4xvm6WV8rHVSmvpaI811ukvD4OiPZwGGKMwwkI,11331
|
80 |
+
pip/_internal/commands/search.py,sha256=EwcGPkDDTwFMpi2PBKhPuWX2YBMPcy7Ox1WFcWnouaw,5598
|
81 |
+
pip/_internal/commands/show.py,sha256=sz2vbxh4l7Bj4jKlkDGTHYD6I8_duSpSUFVxUiH44xQ,6866
|
82 |
+
pip/_internal/commands/uninstall.py,sha256=EDcx3a03l3U8tpZ2p4ffIdn45hY2YFEmq9yoeccF2ow,3216
|
83 |
+
pip/_internal/commands/wheel.py,sha256=wKGSksuYjjhgOYa_jD6ulaKpPXaUzPiyzfRNNT4DOio,6233
|
84 |
+
pip/_internal/configuration.py,sha256=QBLfhv-sbP-oR08NFxSYnv_mLB-SgtNOsWXAF9tDEcM,13725
|
85 |
+
pip/_internal/distributions/__init__.py,sha256=ow1iPW_Qp-TOyOU-WghOKC8vAv1_Syk1zETZVO_vKEE,864
|
86 |
+
pip/_internal/distributions/__pycache__/__init__.cpython-39.pyc,,
|
87 |
+
pip/_internal/distributions/__pycache__/base.cpython-39.pyc,,
|
88 |
+
pip/_internal/distributions/__pycache__/installed.cpython-39.pyc,,
|
89 |
+
pip/_internal/distributions/__pycache__/sdist.cpython-39.pyc,,
|
90 |
+
pip/_internal/distributions/__pycache__/wheel.cpython-39.pyc,,
|
91 |
+
pip/_internal/distributions/base.py,sha256=UVndaok0jOHrLH0JqN0YzlxVEnvFQumYy37diY3ZCuE,1245
|
92 |
+
pip/_internal/distributions/installed.py,sha256=uaTMPvY3hr_M1BCy107vJHWspKMJgrPxv30W3_zZZ0Q,667
|
93 |
+
pip/_internal/distributions/sdist.py,sha256=co8fNR8qIhHRLBncwV92oJ7e8IOCGPgEsbEFdNPk1Yk,3900
|
94 |
+
pip/_internal/distributions/wheel.py,sha256=n9MqNoWyMqNscfbNeeqh1bztoZUiB5x1H9h4tFfiJUw,1205
|
95 |
+
pip/_internal/exceptions.py,sha256=2JQJSS68oggR_ZIOA-h1U2DRADURbkQn9Nf4EZWZ834,13170
|
96 |
+
pip/_internal/index/__init__.py,sha256=vpt-JeTZefh8a-FC22ZeBSXFVbuBcXSGiILhQZJaNpQ,30
|
97 |
+
pip/_internal/index/__pycache__/__init__.cpython-39.pyc,,
|
98 |
+
pip/_internal/index/__pycache__/collector.cpython-39.pyc,,
|
99 |
+
pip/_internal/index/__pycache__/package_finder.cpython-39.pyc,,
|
100 |
+
pip/_internal/index/__pycache__/sources.cpython-39.pyc,,
|
101 |
+
pip/_internal/index/collector.py,sha256=aEXtHK0La4nGP7mu5N5CQ3tmfjaczLwbGi8Ar4oGz5o,18192
|
102 |
+
pip/_internal/index/package_finder.py,sha256=3J9Rzq1NAO2p_zDb4fv33GeBBBOYusV9kXtAn2j6eCU,37294
|
103 |
+
pip/_internal/index/sources.py,sha256=SVyPitv08-Qalh2_Bk5diAJ9GAA_d-a93koouQodAG0,6557
|
104 |
+
pip/_internal/locations/__init__.py,sha256=9EXRxCpyiMClU87-P5E66tcFxybcA_KzLrzcK2Vt7zs,4826
|
105 |
+
pip/_internal/locations/__pycache__/__init__.cpython-39.pyc,,
|
106 |
+
pip/_internal/locations/__pycache__/_distutils.cpython-39.pyc,,
|
107 |
+
pip/_internal/locations/__pycache__/_sysconfig.cpython-39.pyc,,
|
108 |
+
pip/_internal/locations/__pycache__/base.cpython-39.pyc,,
|
109 |
+
pip/_internal/locations/_distutils.py,sha256=L5flRSr9BH0lBwPUl61cyBc1OnVD06FOENkDMRjyg38,5212
|
110 |
+
pip/_internal/locations/_sysconfig.py,sha256=Tt8gkN7shxbqoUlzqM19myiBRzbft9CzkmcSS4YHk1s,5959
|
111 |
+
pip/_internal/locations/base.py,sha256=QbkpgmzIbWBnUL2_3qu29sqCNewoqYbkVw8KmigRe2c,1478
|
112 |
+
pip/_internal/main.py,sha256=BZ0vkdqgpoteTo1A1Q8ovFe8EzgKFJWOUjPmIUQfGCY,351
|
113 |
+
pip/_internal/metadata/__init__.py,sha256=KINR8ZYO_ilc2pkV3t5KcQLzWLNc3GjZDklGWTVJ-zU,1471
|
114 |
+
pip/_internal/metadata/__pycache__/__init__.cpython-39.pyc,,
|
115 |
+
pip/_internal/metadata/__pycache__/base.cpython-39.pyc,,
|
116 |
+
pip/_internal/metadata/__pycache__/pkg_resources.cpython-39.pyc,,
|
117 |
+
pip/_internal/metadata/base.py,sha256=6BiB_b3lvNHYIVKbzrDhi0bJmSls5Q1K-iBeHWlKnIw,4750
|
118 |
+
pip/_internal/metadata/pkg_resources.py,sha256=4FVPxYFABQ_1tbh_CRBzK4x0_SIgH1uCKx2ZLyhkouQ,4248
|
119 |
+
pip/_internal/models/__init__.py,sha256=3DHUd_qxpPozfzouoqa9g9ts1Czr5qaHfFxbnxriepM,63
|
120 |
+
pip/_internal/models/__pycache__/__init__.cpython-39.pyc,,
|
121 |
+
pip/_internal/models/__pycache__/candidate.cpython-39.pyc,,
|
122 |
+
pip/_internal/models/__pycache__/direct_url.cpython-39.pyc,,
|
123 |
+
pip/_internal/models/__pycache__/format_control.cpython-39.pyc,,
|
124 |
+
pip/_internal/models/__pycache__/index.cpython-39.pyc,,
|
125 |
+
pip/_internal/models/__pycache__/link.cpython-39.pyc,,
|
126 |
+
pip/_internal/models/__pycache__/scheme.cpython-39.pyc,,
|
127 |
+
pip/_internal/models/__pycache__/search_scope.cpython-39.pyc,,
|
128 |
+
pip/_internal/models/__pycache__/selection_prefs.cpython-39.pyc,,
|
129 |
+
pip/_internal/models/__pycache__/target_python.cpython-39.pyc,,
|
130 |
+
pip/_internal/models/__pycache__/wheel.cpython-39.pyc,,
|
131 |
+
pip/_internal/models/candidate.py,sha256=LlyGF2SMGjeet9bLbEAzAWDP82Wcp3342Ysa7tCW_9M,1001
|
132 |
+
pip/_internal/models/direct_url.py,sha256=VrnJNOqcPznfNarjQJavsx2tgG7GfcLa6PyZCuf_L7A,6555
|
133 |
+
pip/_internal/models/format_control.py,sha256=l2jp47mWsJp7-LxMs05l9T-qFg9Z5PwdyP9R7Xc_VZQ,2629
|
134 |
+
pip/_internal/models/index.py,sha256=asMraZVPI0snye404GztEpXgKerj1yAFmZl2p3eN4Bg,1092
|
135 |
+
pip/_internal/models/link.py,sha256=5wdHbGDLbafSdYpo2Ky7F9RRo226zRy6ik3cLH_8Kwc,7472
|
136 |
+
pip/_internal/models/scheme.py,sha256=iqceC7gKiTn2ZLgCOgGQbcmo49TRg9EnQUSsQH3U-7A,770
|
137 |
+
pip/_internal/models/search_scope.py,sha256=4uGNEqYrz4ku6_WzowqivuMvN0fj5XQ03WB14YjcN5U,4613
|
138 |
+
pip/_internal/models/selection_prefs.py,sha256=aNRDL97Gz3yWJW3og0yuvOkU02UL8OeNQDuDatZ8SDo,1947
|
139 |
+
pip/_internal/models/target_python.py,sha256=SLGG3z9Pj_CiA5jmMnNDv2MN3ST3keVuanVDzTvO5pM,3962
|
140 |
+
pip/_internal/models/wheel.py,sha256=MWjxQkBNXI6XOWiTuzMG7uONhFu8xA94OqD_9BuIsVc,3614
|
141 |
+
pip/_internal/network/__init__.py,sha256=jf6Tt5nV_7zkARBrKojIXItgejvoegVJVKUbhAa5Ioc,50
|
142 |
+
pip/_internal/network/__pycache__/__init__.cpython-39.pyc,,
|
143 |
+
pip/_internal/network/__pycache__/auth.cpython-39.pyc,,
|
144 |
+
pip/_internal/network/__pycache__/cache.cpython-39.pyc,,
|
145 |
+
pip/_internal/network/__pycache__/download.cpython-39.pyc,,
|
146 |
+
pip/_internal/network/__pycache__/lazy_wheel.cpython-39.pyc,,
|
147 |
+
pip/_internal/network/__pycache__/session.cpython-39.pyc,,
|
148 |
+
pip/_internal/network/__pycache__/utils.cpython-39.pyc,,
|
149 |
+
pip/_internal/network/__pycache__/xmlrpc.cpython-39.pyc,,
|
150 |
+
pip/_internal/network/auth.py,sha256=d8Df0fy01P1jJlF3XDMM8ACyktR1cN9zURG-ye1ncc0,11833
|
151 |
+
pip/_internal/network/cache.py,sha256=J_xpsLWbRrlCSUcQhA5-TuT5LWIlpVtTH4fZ1XSjyb4,2213
|
152 |
+
pip/_internal/network/download.py,sha256=8frb2bINOf-jbmFPapKbyEO9sjXJWJG6OJaW4hQ9r3s,6243
|
153 |
+
pip/_internal/network/lazy_wheel.py,sha256=XMfrDK1IBy44L3Gx3UZ2B8s90VRXDa96520IOPmzmOU,7924
|
154 |
+
pip/_internal/network/session.py,sha256=VHeiorPflYPNWK2pM_q22c-H5gmRBDh9UKCJW3VAUFI,16247
|
155 |
+
pip/_internal/network/utils.py,sha256=uqT6QkO9NHUwqTw3gHBWMQFdaYqYabB423QUZuiQD3c,4072
|
156 |
+
pip/_internal/network/xmlrpc.py,sha256=CL1WBOTgxPwbcZ6QubZ4pXQXjb7qTTFpTUFe-ZaWkcA,1703
|
157 |
+
pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
158 |
+
pip/_internal/operations/__pycache__/__init__.cpython-39.pyc,,
|
159 |
+
pip/_internal/operations/__pycache__/check.cpython-39.pyc,,
|
160 |
+
pip/_internal/operations/__pycache__/freeze.cpython-39.pyc,,
|
161 |
+
pip/_internal/operations/__pycache__/prepare.cpython-39.pyc,,
|
162 |
+
pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
163 |
+
pip/_internal/operations/build/__pycache__/__init__.cpython-39.pyc,,
|
164 |
+
pip/_internal/operations/build/__pycache__/metadata.cpython-39.pyc,,
|
165 |
+
pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-39.pyc,,
|
166 |
+
pip/_internal/operations/build/__pycache__/wheel.cpython-39.pyc,,
|
167 |
+
pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-39.pyc,,
|
168 |
+
pip/_internal/operations/build/metadata.py,sha256=jJp05Rrp0AMsQb7izDXbNGC1LtPNwOhHQj7cRM5324c,1165
|
169 |
+
pip/_internal/operations/build/metadata_legacy.py,sha256=ECMBhLEPEQv6PUUCpPCXW-wN9QRXdY45PNXJv7BZKTU,1917
|
170 |
+
pip/_internal/operations/build/wheel.py,sha256=WYLMxuxqN3ahJTQk2MI9hdmZKBpFyxHeNpUdO0PybxU,1106
|
171 |
+
pip/_internal/operations/build/wheel_legacy.py,sha256=NOJhTYMYljdbizFo_WjkaKGWG1SEZ6aByrBdCrrsZB8,3227
|
172 |
+
pip/_internal/operations/check.py,sha256=OtMZ2ff0zk8Ghpl7eIXySZ4D8pCUfzPAYNpGTxw1qWU,5245
|
173 |
+
pip/_internal/operations/freeze.py,sha256=D-ex0Bwy6E0EVS_gHlixlEpKDpRxFZnUmTy7nf8s7ts,9999
|
174 |
+
pip/_internal/operations/install/__init__.py,sha256=mX7hyD2GNBO2mFGokDQ30r_GXv7Y_PLdtxcUv144e-s,51
|
175 |
+
pip/_internal/operations/install/__pycache__/__init__.cpython-39.pyc,,
|
176 |
+
pip/_internal/operations/install/__pycache__/editable_legacy.cpython-39.pyc,,
|
177 |
+
pip/_internal/operations/install/__pycache__/legacy.cpython-39.pyc,,
|
178 |
+
pip/_internal/operations/install/__pycache__/wheel.cpython-39.pyc,,
|
179 |
+
pip/_internal/operations/install/editable_legacy.py,sha256=bjBObfE6sz3UmGI7y4-GCgKa2WmTgnWlFFU7b-i0sQs,1396
|
180 |
+
pip/_internal/operations/install/legacy.py,sha256=f59fQbNLO2rvl8bNQm_CuW6dgPvXXQ7y5apulWZi01E,4177
|
181 |
+
pip/_internal/operations/install/wheel.py,sha256=1gV2G-owlA2iwcbxYAc4BOTiPRRGB8TzpuU0wuhM2VQ,29960
|
182 |
+
pip/_internal/operations/prepare.py,sha256=AXHNg1iGceg1lyqDqbcabmAFIfQ1k1cIfgmVY5JCWoo,24850
|
183 |
+
pip/_internal/pyproject.py,sha256=bN_dliFVxorLITxCEzT0UmPYFoSqk_vGBtM1QwiQays,7061
|
184 |
+
pip/_internal/req/__init__.py,sha256=lRNHBv0ZAZNbSwmXU-XUdm66gsiNmuiBDi1DFYJ4hIQ,2983
|
185 |
+
pip/_internal/req/__pycache__/__init__.cpython-39.pyc,,
|
186 |
+
pip/_internal/req/__pycache__/constructors.cpython-39.pyc,,
|
187 |
+
pip/_internal/req/__pycache__/req_file.cpython-39.pyc,,
|
188 |
+
pip/_internal/req/__pycache__/req_install.cpython-39.pyc,,
|
189 |
+
pip/_internal/req/__pycache__/req_set.cpython-39.pyc,,
|
190 |
+
pip/_internal/req/__pycache__/req_tracker.cpython-39.pyc,,
|
191 |
+
pip/_internal/req/__pycache__/req_uninstall.cpython-39.pyc,,
|
192 |
+
pip/_internal/req/constructors.py,sha256=4sinGd7srKhI94DV6XO-qRX2M6Kr907OFmsfklKrt64,16267
|
193 |
+
pip/_internal/req/req_file.py,sha256=nPIFl2Mi9UDGhrj-K0E3_QugF7tl3UBDty1czbIF7fk,18000
|
194 |
+
pip/_internal/req/req_install.py,sha256=gTuwMYDgiQjwQp02VH1Z1EvrJ9RlzIs-AxYqd0hVznw,32332
|
195 |
+
pip/_internal/req/req_set.py,sha256=AutsaiV2s-2ILwtWtTA4OJW_ZLRg4GXg6wM0Y_hZb1k,7778
|
196 |
+
pip/_internal/req/req_tracker.py,sha256=XuPweX1lbJXT2gSkCXICS5hna6byme5PeQp4Ok8-R2o,4391
|
197 |
+
pip/_internal/req/req_uninstall.py,sha256=gACinTIcScZGw81qLaFdTj9KGXlVuCpru7XvHGjIE-E,23468
|
198 |
+
pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
199 |
+
pip/_internal/resolution/__pycache__/__init__.cpython-39.pyc,,
|
200 |
+
pip/_internal/resolution/__pycache__/base.cpython-39.pyc,,
|
201 |
+
pip/_internal/resolution/base.py,sha256=T4QnfShJErpPWe4iOiO7VmXuz1bxe20LLNs33AUslYM,563
|
202 |
+
pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
203 |
+
pip/_internal/resolution/legacy/__pycache__/__init__.cpython-39.pyc,,
|
204 |
+
pip/_internal/resolution/legacy/__pycache__/resolver.cpython-39.pyc,,
|
205 |
+
pip/_internal/resolution/legacy/resolver.py,sha256=OF_6Yh4hrFfJ4u0HLF4ZRBlA8lBHUfAaFnhuVKIQhPM,17934
|
206 |
+
pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
207 |
+
pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-39.pyc,,
|
208 |
+
pip/_internal/resolution/resolvelib/__pycache__/base.cpython-39.pyc,,
|
209 |
+
pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-39.pyc,,
|
210 |
+
pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-39.pyc,,
|
211 |
+
pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-39.pyc,,
|
212 |
+
pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-39.pyc,,
|
213 |
+
pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-39.pyc,,
|
214 |
+
pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-39.pyc,,
|
215 |
+
pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-39.pyc,,
|
216 |
+
pip/_internal/resolution/resolvelib/base.py,sha256=MbakyqSotBGVJpI3kApqqP2fPPZih9DgsfkpuFd-ADM,5677
|
217 |
+
pip/_internal/resolution/resolvelib/candidates.py,sha256=dEKSuK9B5M52c1SugB43zXnnxgNWNTa7hCCwItSX61c,19976
|
218 |
+
pip/_internal/resolution/resolvelib/factory.py,sha256=0q14dmRrLZXt9OYp2yT5L2KqKGLJ5okGoAru2hNadFg,24988
|
219 |
+
pip/_internal/resolution/resolvelib/found_candidates.py,sha256=FzxKczhel3GhViOIEfGHUfUQ6rN3U0blMMUuu-blHfU,5410
|
220 |
+
pip/_internal/resolution/resolvelib/provider.py,sha256=HYITnjs7hcxDGANCDdL4qg2MJ1aw1jA9cMyxNP2mLrk,7673
|
221 |
+
pip/_internal/resolution/resolvelib/reporter.py,sha256=xgaCtXLj791A_qRfV9Y1nXGeaWVq3JE0ygIA3YNRWq0,2765
|
222 |
+
pip/_internal/resolution/resolvelib/requirements.py,sha256=fF2RH6VCanTuF-iwu8tZY8Bh0FakDBTw7tkDJyTsy9E,6047
|
223 |
+
pip/_internal/resolution/resolvelib/resolver.py,sha256=3hlnrZklszFUwGQFF33nLkEO8kxz4vZ3_uKp_L8YvmE,12085
|
224 |
+
pip/_internal/self_outdated_check.py,sha256=ivoUYaGuq-Ra_DvlZvPtHhgbY97NKHYuPGzrgN2G1A8,6484
|
225 |
+
pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
226 |
+
pip/_internal/utils/__pycache__/__init__.cpython-39.pyc,,
|
227 |
+
pip/_internal/utils/__pycache__/appdirs.cpython-39.pyc,,
|
228 |
+
pip/_internal/utils/__pycache__/compat.cpython-39.pyc,,
|
229 |
+
pip/_internal/utils/__pycache__/compatibility_tags.cpython-39.pyc,,
|
230 |
+
pip/_internal/utils/__pycache__/datetime.cpython-39.pyc,,
|
231 |
+
pip/_internal/utils/__pycache__/deprecation.cpython-39.pyc,,
|
232 |
+
pip/_internal/utils/__pycache__/direct_url_helpers.cpython-39.pyc,,
|
233 |
+
pip/_internal/utils/__pycache__/distutils_args.cpython-39.pyc,,
|
234 |
+
pip/_internal/utils/__pycache__/encoding.cpython-39.pyc,,
|
235 |
+
pip/_internal/utils/__pycache__/entrypoints.cpython-39.pyc,,
|
236 |
+
pip/_internal/utils/__pycache__/filesystem.cpython-39.pyc,,
|
237 |
+
pip/_internal/utils/__pycache__/filetypes.cpython-39.pyc,,
|
238 |
+
pip/_internal/utils/__pycache__/glibc.cpython-39.pyc,,
|
239 |
+
pip/_internal/utils/__pycache__/hashes.cpython-39.pyc,,
|
240 |
+
pip/_internal/utils/__pycache__/inject_securetransport.cpython-39.pyc,,
|
241 |
+
pip/_internal/utils/__pycache__/logging.cpython-39.pyc,,
|
242 |
+
pip/_internal/utils/__pycache__/misc.cpython-39.pyc,,
|
243 |
+
pip/_internal/utils/__pycache__/models.cpython-39.pyc,,
|
244 |
+
pip/_internal/utils/__pycache__/packaging.cpython-39.pyc,,
|
245 |
+
pip/_internal/utils/__pycache__/parallel.cpython-39.pyc,,
|
246 |
+
pip/_internal/utils/__pycache__/pkg_resources.cpython-39.pyc,,
|
247 |
+
pip/_internal/utils/__pycache__/setuptools_build.cpython-39.pyc,,
|
248 |
+
pip/_internal/utils/__pycache__/subprocess.cpython-39.pyc,,
|
249 |
+
pip/_internal/utils/__pycache__/temp_dir.cpython-39.pyc,,
|
250 |
+
pip/_internal/utils/__pycache__/unpacking.cpython-39.pyc,,
|
251 |
+
pip/_internal/utils/__pycache__/urls.cpython-39.pyc,,
|
252 |
+
pip/_internal/utils/__pycache__/virtualenv.cpython-39.pyc,,
|
253 |
+
pip/_internal/utils/__pycache__/wheel.cpython-39.pyc,,
|
254 |
+
pip/_internal/utils/appdirs.py,sha256=HCCFaOrZOnMLzRDpKXcMiFh_2kWZ-PzFdN8peLiwkNY,1222
|
255 |
+
pip/_internal/utils/compat.py,sha256=I58tTZ3qqGZqeGVP_mERM8N7QPu71niLpxfO3Ij2jfQ,1912
|
256 |
+
pip/_internal/utils/compatibility_tags.py,sha256=IcQEHCZJvdfKciACmXGCKt39Yog2_Q2XQKMHojA_2pg,5589
|
257 |
+
pip/_internal/utils/datetime.py,sha256=biZdEJEQBGq8A-N7ooposipeGzmSHdI0WX60kll_AEs,255
|
258 |
+
pip/_internal/utils/deprecation.py,sha256=CD9gU1zmDtC3Nk2TM14FVpAa_bxCMd03Kx5t3LoFwkg,3277
|
259 |
+
pip/_internal/utils/direct_url_helpers.py,sha256=-chZUxdJkFRG-pA2MY7_Wii5U5o18o5K4AqBsWd92-c,3935
|
260 |
+
pip/_internal/utils/distutils_args.py,sha256=KxWTaz07A_1ukCyw_pNah-i6sBvrVtdMsnF8jguDNYQ,1262
|
261 |
+
pip/_internal/utils/encoding.py,sha256=T0cQTkGB7-s3wivLlHcKbKqvJoM0yLdo8ot89LlGdz0,1190
|
262 |
+
pip/_internal/utils/entrypoints.py,sha256=m4UXkLZTnPsdSisQzNFiHM1CZcMK8N1CA98g4ORex2c,1066
|
263 |
+
pip/_internal/utils/filesystem.py,sha256=a3rnoUB_HTdEbDaAUHSNMPIHqHds4UA-mLQ5bvgOjSQ,6045
|
264 |
+
pip/_internal/utils/filetypes.py,sha256=weviVbapHWVQ_8-K-PTQ_TnYL66kZi4SrVBTmRYZXLc,761
|
265 |
+
pip/_internal/utils/glibc.py,sha256=GM1Y2hWkOf_tumySGFg-iNbc7oilBQQrjczb_705CF8,3170
|
266 |
+
pip/_internal/utils/hashes.py,sha256=o1qQEkqe2AqsRm_JhLoM4hkxmVtewH0ZZpQ6EBObHuU,5167
|
267 |
+
pip/_internal/utils/inject_securetransport.py,sha256=tGl9Bgyt2IHKtB3b0B-6r3W2yYF3Og-PBe0647S3lZs,810
|
268 |
+
pip/_internal/utils/logging.py,sha256=Bkp3QSjur3ekkunAInsGJ6ls7KF8ANTtBgGhjY0vltg,12133
|
269 |
+
pip/_internal/utils/misc.py,sha256=ABM-TXaq8VmUOL-6bAWaha_JVhEuwjCEp9cakOrC5nU,23405
|
270 |
+
pip/_internal/utils/models.py,sha256=qCgYyUw2mIH1pombsJ3YQsMtONZgyJ4BGwO5MJnSC4c,1329
|
271 |
+
pip/_internal/utils/packaging.py,sha256=I1938AB7FprcVJJd6C0vSiMuCVajmrxZF55vX5j0bMo,2900
|
272 |
+
pip/_internal/utils/parallel.py,sha256=RZF4JddPEWVbkkPCknfvpqaLfm3Pmqd_ABoCHmV4lXs,3224
|
273 |
+
pip/_internal/utils/pkg_resources.py,sha256=jwH5JViPe-JlXLvLC0-ASfTTCRYvm0u9CwQGcWjxStI,1106
|
274 |
+
pip/_internal/utils/setuptools_build.py,sha256=xk9sRBjUyNTHs_TvEWebVWs1GfLPN208MzpSXr9Ok_A,5047
|
275 |
+
pip/_internal/utils/subprocess.py,sha256=uxaP3IzPiBYhG0MbdfPK_uchZAh27uZ3wO3q5hRfEyo,10036
|
276 |
+
pip/_internal/utils/temp_dir.py,sha256=9gs3N9GQeVXRVWjJIalSpH1uj8yQXPTzarb5n1_HMVo,7950
|
277 |
+
pip/_internal/utils/unpacking.py,sha256=PioYYwfTCn_VeYer80onhrO9Y1ggetqOPSOroG38bRQ,9032
|
278 |
+
pip/_internal/utils/urls.py,sha256=XzjQsHGd2YDmJhoCogspPTqh6Kl5tGENRHPcwjS0JC4,1256
|
279 |
+
pip/_internal/utils/virtualenv.py,sha256=iRTK-sD6bWpHqXcZ0ECfdpFLWatMOHFUVCIRa0L6Gu0,3564
|
280 |
+
pip/_internal/utils/wheel.py,sha256=DOIVZaXN7bMOAeMEqzIOZHGl4OFO-KGrEqBUB848DPo,6290
|
281 |
+
pip/_internal/vcs/__init__.py,sha256=CjyxHCgdt19l21j0tJGiQ_6Yk8m-KWmQThmYvljd1eo,571
|
282 |
+
pip/_internal/vcs/__pycache__/__init__.cpython-39.pyc,,
|
283 |
+
pip/_internal/vcs/__pycache__/bazaar.cpython-39.pyc,,
|
284 |
+
pip/_internal/vcs/__pycache__/git.cpython-39.pyc,,
|
285 |
+
pip/_internal/vcs/__pycache__/mercurial.cpython-39.pyc,,
|
286 |
+
pip/_internal/vcs/__pycache__/subversion.cpython-39.pyc,,
|
287 |
+
pip/_internal/vcs/__pycache__/versioncontrol.cpython-39.pyc,,
|
288 |
+
pip/_internal/vcs/bazaar.py,sha256=Ay_vN-87vYSEzBqXT3RVwl40vlk56j3jy_AfQbMj4uo,2962
|
289 |
+
pip/_internal/vcs/git.py,sha256=URUz1kSqhDhqJsr9ulaFTewP8Zjwf7oVPP7skdj9SMQ,15431
|
290 |
+
pip/_internal/vcs/mercurial.py,sha256=2X3eIyeAWQWI2TxoPT-xuVsD6fxr7YSyHw4MR9EWz4M,5043
|
291 |
+
pip/_internal/vcs/subversion.py,sha256=lPfCu841JAMRG_jTX_TbRZrBpKdId5eQ8t7_xI7w3L0,11876
|
292 |
+
pip/_internal/vcs/versioncontrol.py,sha256=N60TSMbTr79ADzR61BCrk8YogUQcBBnNaLgJPTfXsfc,23086
|
293 |
+
pip/_internal/wheel_builder.py,sha256=hW63ZmABr65rOiSRBHXu1jBUdEZw5LZiw0LaQBbz0lI,11740
|
294 |
+
pip/_vendor/__init__.py,sha256=gCrQwPBY2OZBeedvKOLdRZ3W1LIRM60fG6d4mgW_-9Y,4760
|
295 |
+
pip/_vendor/__pycache__/__init__.cpython-39.pyc,,
|
296 |
+
pip/_vendor/__pycache__/appdirs.cpython-39.pyc,,
|
297 |
+
pip/_vendor/__pycache__/distro.cpython-39.pyc,,
|
298 |
+
pip/_vendor/__pycache__/pyparsing.cpython-39.pyc,,
|
299 |
+
pip/_vendor/__pycache__/six.cpython-39.pyc,,
|
300 |
+
pip/_vendor/appdirs.py,sha256=M6IYRJtdZgmSPCXCSMBRB0VT3P8MdFbWCDbSLrB2Ebg,25907
|
301 |
+
pip/_vendor/cachecontrol/__init__.py,sha256=pJtAaUxOsMPnytI1A3juAJkXYDr8krdSnsg4Yg3OBEg,302
|
302 |
+
pip/_vendor/cachecontrol/__pycache__/__init__.cpython-39.pyc,,
|
303 |
+
pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-39.pyc,,
|
304 |
+
pip/_vendor/cachecontrol/__pycache__/adapter.cpython-39.pyc,,
|
305 |
+
pip/_vendor/cachecontrol/__pycache__/cache.cpython-39.pyc,,
|
306 |
+
pip/_vendor/cachecontrol/__pycache__/compat.cpython-39.pyc,,
|
307 |
+
pip/_vendor/cachecontrol/__pycache__/controller.cpython-39.pyc,,
|
308 |
+
pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-39.pyc,,
|
309 |
+
pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-39.pyc,,
|
310 |
+
pip/_vendor/cachecontrol/__pycache__/serialize.cpython-39.pyc,,
|
311 |
+
pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-39.pyc,,
|
312 |
+
pip/_vendor/cachecontrol/_cmd.py,sha256=URGE0KrA87QekCG3SGPatlSPT571dZTDjNa-ZXX3pDc,1295
|
313 |
+
pip/_vendor/cachecontrol/adapter.py,sha256=sSwaSYd93IIfCFU4tOMgSo6b2LCt_gBSaQUj8ktJFOA,4882
|
314 |
+
pip/_vendor/cachecontrol/cache.py,sha256=1fc4wJP8HYt1ycnJXeEw5pCpeBL2Cqxx6g9Fb0AYDWQ,805
|
315 |
+
pip/_vendor/cachecontrol/caches/__init__.py,sha256=-gHNKYvaeD0kOk5M74eOrsSgIKUtC6i6GfbmugGweEo,86
|
316 |
+
pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-39.pyc,,
|
317 |
+
pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-39.pyc,,
|
318 |
+
pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-39.pyc,,
|
319 |
+
pip/_vendor/cachecontrol/caches/file_cache.py,sha256=nYVKsJtXh6gJXvdn1iWyrhxvkwpQrK-eKoMRzuiwkKk,4153
|
320 |
+
pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=HxelMpNCo-dYr2fiJDwM3hhhRmxUYtB5tXm1GpAAT4Y,856
|
321 |
+
pip/_vendor/cachecontrol/compat.py,sha256=kHNvMRdt6s_Xwqq_9qJmr9ou3wYMOMUMxPPcwNxT8Mc,695
|
322 |
+
pip/_vendor/cachecontrol/controller.py,sha256=CWEX3pedIM9s60suf4zZPtm_JvVgnvogMGK_OiBG5F8,14149
|
323 |
+
pip/_vendor/cachecontrol/filewrapper.py,sha256=vACKO8Llzu_ZWyjV1Fxn1MA4TGU60N5N3GSrAFdAY2Q,2533
|
324 |
+
pip/_vendor/cachecontrol/heuristics.py,sha256=BFGHJ3yQcxvZizfo90LLZ04T_Z5XSCXvFotrp7Us0sc,4070
|
325 |
+
pip/_vendor/cachecontrol/serialize.py,sha256=vIa4jvq4x_KSOLdEIedoknX2aXYHQujLDFV4-F21Dno,7091
|
326 |
+
pip/_vendor/cachecontrol/wrapper.py,sha256=5LX0uJwkNQUtYSEw3aGmGu9WY8wGipd81mJ8lG0d0M4,690
|
327 |
+
pip/_vendor/certifi/__init__.py,sha256=SsmdmFHjHCY4VLtqwpp9P_jsOcAuHj-5c5WqoEz-oFg,62
|
328 |
+
pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
|
329 |
+
pip/_vendor/certifi/__pycache__/__init__.cpython-39.pyc,,
|
330 |
+
pip/_vendor/certifi/__pycache__/__main__.cpython-39.pyc,,
|
331 |
+
pip/_vendor/certifi/__pycache__/core.cpython-39.pyc,,
|
332 |
+
pip/_vendor/certifi/cacert.pem,sha256=u3fxPT--yemLvyislQRrRBlsfY9Vq3cgBh6ZmRqCkZc,263774
|
333 |
+
pip/_vendor/certifi/core.py,sha256=gOFd0zHYlx4krrLEn982esOtmz3djiG0BFSDhgjlvcI,2840
|
334 |
+
pip/_vendor/chardet/__init__.py,sha256=mWZaWmvZkhwfBEAT9O1Y6nRTfKzhT7FHhQTTAujbqUA,3271
|
335 |
+
pip/_vendor/chardet/__pycache__/__init__.cpython-39.pyc,,
|
336 |
+
pip/_vendor/chardet/__pycache__/big5freq.cpython-39.pyc,,
|
337 |
+
pip/_vendor/chardet/__pycache__/big5prober.cpython-39.pyc,,
|
338 |
+
pip/_vendor/chardet/__pycache__/chardistribution.cpython-39.pyc,,
|
339 |
+
pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-39.pyc,,
|
340 |
+
pip/_vendor/chardet/__pycache__/charsetprober.cpython-39.pyc,,
|
341 |
+
pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-39.pyc,,
|
342 |
+
pip/_vendor/chardet/__pycache__/compat.cpython-39.pyc,,
|
343 |
+
pip/_vendor/chardet/__pycache__/cp949prober.cpython-39.pyc,,
|
344 |
+
pip/_vendor/chardet/__pycache__/enums.cpython-39.pyc,,
|
345 |
+
pip/_vendor/chardet/__pycache__/escprober.cpython-39.pyc,,
|
346 |
+
pip/_vendor/chardet/__pycache__/escsm.cpython-39.pyc,,
|
347 |
+
pip/_vendor/chardet/__pycache__/eucjpprober.cpython-39.pyc,,
|
348 |
+
pip/_vendor/chardet/__pycache__/euckrfreq.cpython-39.pyc,,
|
349 |
+
pip/_vendor/chardet/__pycache__/euckrprober.cpython-39.pyc,,
|
350 |
+
pip/_vendor/chardet/__pycache__/euctwfreq.cpython-39.pyc,,
|
351 |
+
pip/_vendor/chardet/__pycache__/euctwprober.cpython-39.pyc,,
|
352 |
+
pip/_vendor/chardet/__pycache__/gb2312freq.cpython-39.pyc,,
|
353 |
+
pip/_vendor/chardet/__pycache__/gb2312prober.cpython-39.pyc,,
|
354 |
+
pip/_vendor/chardet/__pycache__/hebrewprober.cpython-39.pyc,,
|
355 |
+
pip/_vendor/chardet/__pycache__/jisfreq.cpython-39.pyc,,
|
356 |
+
pip/_vendor/chardet/__pycache__/jpcntx.cpython-39.pyc,,
|
357 |
+
pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-39.pyc,,
|
358 |
+
pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-39.pyc,,
|
359 |
+
pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-39.pyc,,
|
360 |
+
pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-39.pyc,,
|
361 |
+
pip/_vendor/chardet/__pycache__/langrussianmodel.cpython-39.pyc,,
|
362 |
+
pip/_vendor/chardet/__pycache__/langthaimodel.cpython-39.pyc,,
|
363 |
+
pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-39.pyc,,
|
364 |
+
pip/_vendor/chardet/__pycache__/latin1prober.cpython-39.pyc,,
|
365 |
+
pip/_vendor/chardet/__pycache__/mbcharsetprober.cpython-39.pyc,,
|
366 |
+
pip/_vendor/chardet/__pycache__/mbcsgroupprober.cpython-39.pyc,,
|
367 |
+
pip/_vendor/chardet/__pycache__/mbcssm.cpython-39.pyc,,
|
368 |
+
pip/_vendor/chardet/__pycache__/sbcharsetprober.cpython-39.pyc,,
|
369 |
+
pip/_vendor/chardet/__pycache__/sbcsgroupprober.cpython-39.pyc,,
|
370 |
+
pip/_vendor/chardet/__pycache__/sjisprober.cpython-39.pyc,,
|
371 |
+
pip/_vendor/chardet/__pycache__/universaldetector.cpython-39.pyc,,
|
372 |
+
pip/_vendor/chardet/__pycache__/utf8prober.cpython-39.pyc,,
|
373 |
+
pip/_vendor/chardet/__pycache__/version.cpython-39.pyc,,
|
374 |
+
pip/_vendor/chardet/big5freq.py,sha256=D_zK5GyzoVsRes0HkLJziltFQX0bKCLOrFe9_xDvO_8,31254
|
375 |
+
pip/_vendor/chardet/big5prober.py,sha256=kBxHbdetBpPe7xrlb-e990iot64g_eGSLd32lB7_h3M,1757
|
376 |
+
pip/_vendor/chardet/chardistribution.py,sha256=3woWS62KrGooKyqz4zQSnjFbJpa6V7g02daAibTwcl8,9411
|
377 |
+
pip/_vendor/chardet/charsetgroupprober.py,sha256=GZLReHP6FRRn43hvSOoGCxYamErKzyp6RgOQxVeC3kg,3839
|
378 |
+
pip/_vendor/chardet/charsetprober.py,sha256=KSmwJErjypyj0bRZmC5F5eM7c8YQgLYIjZXintZNstg,5110
|
379 |
+
pip/_vendor/chardet/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
380 |
+
pip/_vendor/chardet/cli/__pycache__/__init__.cpython-39.pyc,,
|
381 |
+
pip/_vendor/chardet/cli/__pycache__/chardetect.cpython-39.pyc,,
|
382 |
+
pip/_vendor/chardet/cli/chardetect.py,sha256=XK5zqjUG2a4-y6eLHZ8ThYcp6WWUrdlmELxNypcc2SE,2747
|
383 |
+
pip/_vendor/chardet/codingstatemachine.py,sha256=VYp_6cyyki5sHgXDSZnXW4q1oelHc3cu9AyQTX7uug8,3590
|
384 |
+
pip/_vendor/chardet/compat.py,sha256=40zr6wICZwknxyuLGGcIOPyve8DTebBCbbvttvnmp5Q,1200
|
385 |
+
pip/_vendor/chardet/cp949prober.py,sha256=TZ434QX8zzBsnUvL_8wm4AQVTZ2ZkqEEQL_lNw9f9ow,1855
|
386 |
+
pip/_vendor/chardet/enums.py,sha256=Aimwdb9as1dJKZaFNUH2OhWIVBVd6ZkJJ_WK5sNY8cU,1661
|
387 |
+
pip/_vendor/chardet/escprober.py,sha256=kkyqVg1Yw3DIOAMJ2bdlyQgUFQhuHAW8dUGskToNWSc,3950
|
388 |
+
pip/_vendor/chardet/escsm.py,sha256=RuXlgNvTIDarndvllNCk5WZBIpdCxQ0kcd9EAuxUh84,10510
|
389 |
+
pip/_vendor/chardet/eucjpprober.py,sha256=iD8Jdp0ISRjgjiVN7f0e8xGeQJ5GM2oeZ1dA8nbSeUw,3749
|
390 |
+
pip/_vendor/chardet/euckrfreq.py,sha256=-7GdmvgWez4-eO4SuXpa7tBiDi5vRXQ8WvdFAzVaSfo,13546
|
391 |
+
pip/_vendor/chardet/euckrprober.py,sha256=MqFMTQXxW4HbzIpZ9lKDHB3GN8SP4yiHenTmf8g_PxY,1748
|
392 |
+
pip/_vendor/chardet/euctwfreq.py,sha256=No1WyduFOgB5VITUA7PLyC5oJRNzRyMbBxaKI1l16MA,31621
|
393 |
+
pip/_vendor/chardet/euctwprober.py,sha256=13p6EP4yRaxqnP4iHtxHOJ6R2zxHq1_m8hTRjzVZ95c,1747
|
394 |
+
pip/_vendor/chardet/gb2312freq.py,sha256=JX8lsweKLmnCwmk8UHEQsLgkr_rP_kEbvivC4qPOrlc,20715
|
395 |
+
pip/_vendor/chardet/gb2312prober.py,sha256=gGvIWi9WhDjE-xQXHvNIyrnLvEbMAYgyUSZ65HUfylw,1754
|
396 |
+
pip/_vendor/chardet/hebrewprober.py,sha256=c3SZ-K7hvyzGY6JRAZxJgwJ_sUS9k0WYkvMY00YBYFo,13838
|
397 |
+
pip/_vendor/chardet/jisfreq.py,sha256=vpmJv2Bu0J8gnMVRPHMFefTRvo_ha1mryLig8CBwgOg,25777
|
398 |
+
pip/_vendor/chardet/jpcntx.py,sha256=PYlNqRUQT8LM3cT5FmHGP0iiscFlTWED92MALvBungo,19643
|
399 |
+
pip/_vendor/chardet/langbulgarianmodel.py,sha256=rk9CJpuxO0bObboJcv6gNgWuosYZmd8qEEds5y7DS_Y,105697
|
400 |
+
pip/_vendor/chardet/langgreekmodel.py,sha256=S-uNQ1ihC75yhBvSux24gLFZv3QyctMwC6OxLJdX-bw,99571
|
401 |
+
pip/_vendor/chardet/langhebrewmodel.py,sha256=DzPP6TPGG_-PV7tqspu_d8duueqm7uN-5eQ0aHUw1Gg,98776
|
402 |
+
pip/_vendor/chardet/langhungarianmodel.py,sha256=RtJH7DZdsmaHqyK46Kkmnk5wQHiJwJPPJSqqIlpeZRc,102498
|
403 |
+
pip/_vendor/chardet/langrussianmodel.py,sha256=THqJOhSxiTQcHboDNSc5yofc2koXXQFHFyjtyuntUfM,131180
|
404 |
+
pip/_vendor/chardet/langthaimodel.py,sha256=R1wXHnUMtejpw0JnH_JO8XdYasME6wjVqp1zP7TKLgg,103312
|
405 |
+
pip/_vendor/chardet/langturkishmodel.py,sha256=rfwanTptTwSycE4-P-QasPmzd-XVYgevytzjlEzBBu8,95946
|
406 |
+
pip/_vendor/chardet/latin1prober.py,sha256=S2IoORhFk39FEFOlSFWtgVybRiP6h7BlLldHVclNkU8,5370
|
407 |
+
pip/_vendor/chardet/mbcharsetprober.py,sha256=AR95eFH9vuqSfvLQZN-L5ijea25NOBCoXqw8s5O9xLQ,3413
|
408 |
+
pip/_vendor/chardet/mbcsgroupprober.py,sha256=h6TRnnYq2OxG1WdD5JOyxcdVpn7dG0q-vB8nWr5mbh4,2012
|
409 |
+
pip/_vendor/chardet/mbcssm.py,sha256=SY32wVIF3HzcjY3BaEspy9metbNSKxIIB0RKPn7tjpI,25481
|
410 |
+
pip/_vendor/chardet/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
411 |
+
pip/_vendor/chardet/metadata/__pycache__/__init__.cpython-39.pyc,,
|
412 |
+
pip/_vendor/chardet/metadata/__pycache__/languages.cpython-39.pyc,,
|
413 |
+
pip/_vendor/chardet/metadata/languages.py,sha256=41tLq3eLSrBEbEVVQpVGFq9K7o1ln9b1HpY1l0hCUQo,19474
|
414 |
+
pip/_vendor/chardet/sbcharsetprober.py,sha256=nmyMyuxzG87DN6K3Rk2MUzJLMLR69MrWpdnHzOwVUwQ,6136
|
415 |
+
pip/_vendor/chardet/sbcsgroupprober.py,sha256=hqefQuXmiFyDBArOjujH6hd6WFXlOD1kWCsxDhjx5Vc,4309
|
416 |
+
pip/_vendor/chardet/sjisprober.py,sha256=IIt-lZj0WJqK4rmUZzKZP4GJlE8KUEtFYVuY96ek5MQ,3774
|
417 |
+
pip/_vendor/chardet/universaldetector.py,sha256=DpZTXCX0nUHXxkQ9sr4GZxGB_hveZ6hWt3uM94cgWKs,12503
|
418 |
+
pip/_vendor/chardet/utf8prober.py,sha256=IdD8v3zWOsB8OLiyPi-y_fqwipRFxV9Nc1eKBLSuIEw,2766
|
419 |
+
pip/_vendor/chardet/version.py,sha256=A4CILFAd8MRVG1HoXPp45iK9RLlWyV73a1EtwE8Tvn8,242
|
420 |
+
pip/_vendor/colorama/__init__.py,sha256=pCdErryzLSzDW5P-rRPBlPLqbBtIRNJB6cMgoeJns5k,239
|
421 |
+
pip/_vendor/colorama/__pycache__/__init__.cpython-39.pyc,,
|
422 |
+
pip/_vendor/colorama/__pycache__/ansi.cpython-39.pyc,,
|
423 |
+
pip/_vendor/colorama/__pycache__/ansitowin32.cpython-39.pyc,,
|
424 |
+
pip/_vendor/colorama/__pycache__/initialise.cpython-39.pyc,,
|
425 |
+
pip/_vendor/colorama/__pycache__/win32.cpython-39.pyc,,
|
426 |
+
pip/_vendor/colorama/__pycache__/winterm.cpython-39.pyc,,
|
427 |
+
pip/_vendor/colorama/ansi.py,sha256=Top4EeEuaQdBWdteKMEcGOTeKeF19Q-Wo_6_Cj5kOzQ,2522
|
428 |
+
pip/_vendor/colorama/ansitowin32.py,sha256=yV7CEmCb19MjnJKODZEEvMH_fnbJhwnpzo4sxZuGXmA,10517
|
429 |
+
pip/_vendor/colorama/initialise.py,sha256=PprovDNxMTrvoNHFcL2NZjpH2XzDc8BLxLxiErfUl4k,1915
|
430 |
+
pip/_vendor/colorama/win32.py,sha256=bJ8Il9jwaBN5BJ8bmN6FoYZ1QYuMKv2j8fGrXh7TJjw,5404
|
431 |
+
pip/_vendor/colorama/winterm.py,sha256=2y_2b7Zsv34feAsP67mLOVc-Bgq51mdYGo571VprlrM,6438
|
432 |
+
pip/_vendor/distlib/__init__.py,sha256=3veAk2rPznOB2gsK6tjbbh0TQMmGE5P82eE9wXq6NIk,581
|
433 |
+
pip/_vendor/distlib/__pycache__/__init__.cpython-39.pyc,,
|
434 |
+
pip/_vendor/distlib/__pycache__/compat.cpython-39.pyc,,
|
435 |
+
pip/_vendor/distlib/__pycache__/database.cpython-39.pyc,,
|
436 |
+
pip/_vendor/distlib/__pycache__/index.cpython-39.pyc,,
|
437 |
+
pip/_vendor/distlib/__pycache__/locators.cpython-39.pyc,,
|
438 |
+
pip/_vendor/distlib/__pycache__/manifest.cpython-39.pyc,,
|
439 |
+
pip/_vendor/distlib/__pycache__/markers.cpython-39.pyc,,
|
440 |
+
pip/_vendor/distlib/__pycache__/metadata.cpython-39.pyc,,
|
441 |
+
pip/_vendor/distlib/__pycache__/resources.cpython-39.pyc,,
|
442 |
+
pip/_vendor/distlib/__pycache__/scripts.cpython-39.pyc,,
|
443 |
+
pip/_vendor/distlib/__pycache__/util.cpython-39.pyc,,
|
444 |
+
pip/_vendor/distlib/__pycache__/version.cpython-39.pyc,,
|
445 |
+
pip/_vendor/distlib/__pycache__/wheel.cpython-39.pyc,,
|
446 |
+
pip/_vendor/distlib/_backport/__init__.py,sha256=bqS_dTOH6uW9iGgd0uzfpPjo6vZ4xpPZ7kyfZJ2vNaw,274
|
447 |
+
pip/_vendor/distlib/_backport/__pycache__/__init__.cpython-39.pyc,,
|
448 |
+
pip/_vendor/distlib/_backport/__pycache__/misc.cpython-39.pyc,,
|
449 |
+
pip/_vendor/distlib/_backport/__pycache__/shutil.cpython-39.pyc,,
|
450 |
+
pip/_vendor/distlib/_backport/__pycache__/sysconfig.cpython-39.pyc,,
|
451 |
+
pip/_vendor/distlib/_backport/__pycache__/tarfile.cpython-39.pyc,,
|
452 |
+
pip/_vendor/distlib/_backport/misc.py,sha256=KWecINdbFNOxSOP1fGF680CJnaC6S4fBRgEtaYTw0ig,971
|
453 |
+
pip/_vendor/distlib/_backport/shutil.py,sha256=IX_G2NPqwecJibkIDje04bqu0xpHkfSQ2GaGdEVqM5Y,25707
|
454 |
+
pip/_vendor/distlib/_backport/sysconfig.cfg,sha256=swZKxq9RY5e9r3PXCrlvQPMsvOdiWZBTHLEbqS8LJLU,2617
|
455 |
+
pip/_vendor/distlib/_backport/sysconfig.py,sha256=BQHFlb6pubCl_dvT1NjtzIthylofjKisox239stDg0U,26854
|
456 |
+
pip/_vendor/distlib/_backport/tarfile.py,sha256=Ihp7rXRcjbIKw8COm9wSePV9ARGXbSF9gGXAMn2Q-KU,92628
|
457 |
+
pip/_vendor/distlib/compat.py,sha256=ADA56xiAxar3mU6qemlBhNbsrFPosXRhO44RzsbJPqk,41408
|
458 |
+
pip/_vendor/distlib/database.py,sha256=Kl0YvPQKc4OcpVi7k5cFziydM1xOK8iqdxLGXgbZHV4,51059
|
459 |
+
pip/_vendor/distlib/index.py,sha256=SXKzpQCERctxYDMp_OLee2f0J0e19ZhGdCIoMlUfUQM,21066
|
460 |
+
pip/_vendor/distlib/locators.py,sha256=c9E4cDEacJ_uKbuE5BqAVocoWp6rsuBGTkiNDQq3zV4,52100
|
461 |
+
pip/_vendor/distlib/manifest.py,sha256=nQEhYmgoreaBZzyFzwYsXxJARu3fo4EkunU163U16iE,14811
|
462 |
+
pip/_vendor/distlib/markers.py,sha256=6Ac3cCfFBERexiESWIOXmg-apIP8l2esafNSX3KMy-8,4387
|
463 |
+
pip/_vendor/distlib/metadata.py,sha256=z2KPy3h3tcDnb9Xs7nAqQ5Oz0bqjWAUFmKWcFKRoodg,38962
|
464 |
+
pip/_vendor/distlib/resources.py,sha256=2FGv0ZHF14KXjLIlL0R991lyQQGcewOS4mJ-5n-JVnc,10766
|
465 |
+
pip/_vendor/distlib/scripts.py,sha256=_MAj3sMuv56kuM8FsiIWXqbT0gmumPGaOR_atOzn4a4,17180
|
466 |
+
pip/_vendor/distlib/t32.exe,sha256=NS3xBCVAld35JVFNmb-1QRyVtThukMrwZVeXn4LhaEQ,96768
|
467 |
+
pip/_vendor/distlib/t64.exe,sha256=oAqHes78rUWVM0OtVqIhUvequl_PKhAhXYQWnUf7zR0,105984
|
468 |
+
pip/_vendor/distlib/util.py,sha256=f2jZCPrcLCt6LcnC0gUy-Fur60tXD8reA7k4rDpHMDw,59845
|
469 |
+
pip/_vendor/distlib/version.py,sha256=_n7F6juvQGAcn769E_SHa7fOcf5ERlEVymJ_EjPRwGw,23391
|
470 |
+
pip/_vendor/distlib/w32.exe,sha256=lJtnZdeUxTZWya_EW5DZos_K5rswRECGspIl8ZJCIXs,90112
|
471 |
+
pip/_vendor/distlib/w64.exe,sha256=0aRzoN2BO9NWW4ENy4_4vHkHR4qZTFZNVSAJJYlODTI,99840
|
472 |
+
pip/_vendor/distlib/wheel.py,sha256=v6DnwTqhNHwrEVFr8_YeiTW6G4ftP_evsywNgrmdb2o,41144
|
473 |
+
pip/_vendor/distro.py,sha256=xxMIh2a3KmippeWEHzynTdHT3_jZM0o-pos0dAWJROM,43628
|
474 |
+
pip/_vendor/html5lib/__init__.py,sha256=BYzcKCqeEii52xDrqBFruhnmtmkiuHXFyFh-cglQ8mk,1160
|
475 |
+
pip/_vendor/html5lib/__pycache__/__init__.cpython-39.pyc,,
|
476 |
+
pip/_vendor/html5lib/__pycache__/_ihatexml.cpython-39.pyc,,
|
477 |
+
pip/_vendor/html5lib/__pycache__/_inputstream.cpython-39.pyc,,
|
478 |
+
pip/_vendor/html5lib/__pycache__/_tokenizer.cpython-39.pyc,,
|
479 |
+
pip/_vendor/html5lib/__pycache__/_utils.cpython-39.pyc,,
|
480 |
+
pip/_vendor/html5lib/__pycache__/constants.cpython-39.pyc,,
|
481 |
+
pip/_vendor/html5lib/__pycache__/html5parser.cpython-39.pyc,,
|
482 |
+
pip/_vendor/html5lib/__pycache__/serializer.cpython-39.pyc,,
|
483 |
+
pip/_vendor/html5lib/_ihatexml.py,sha256=ifOwF7pXqmyThIXc3boWc96s4MDezqRrRVp7FwDYUFs,16728
|
484 |
+
pip/_vendor/html5lib/_inputstream.py,sha256=jErNASMlkgs7MpOM9Ve_VdLDJyFFweAjLuhVutZz33U,32353
|
485 |
+
pip/_vendor/html5lib/_tokenizer.py,sha256=04mgA2sNTniutl2fxFv-ei5bns4iRaPxVXXHh_HrV_4,77040
|
486 |
+
pip/_vendor/html5lib/_trie/__init__.py,sha256=nqfgO910329BEVJ5T4psVwQtjd2iJyEXQ2-X8c1YxwU,109
|
487 |
+
pip/_vendor/html5lib/_trie/__pycache__/__init__.cpython-39.pyc,,
|
488 |
+
pip/_vendor/html5lib/_trie/__pycache__/_base.cpython-39.pyc,,
|
489 |
+
pip/_vendor/html5lib/_trie/__pycache__/py.cpython-39.pyc,,
|
490 |
+
pip/_vendor/html5lib/_trie/_base.py,sha256=CaybYyMro8uERQYjby2tTeSUatnWDfWroUN9N7ety5w,1013
|
491 |
+
pip/_vendor/html5lib/_trie/py.py,sha256=wXmQLrZRf4MyWNyg0m3h81m9InhLR7GJ002mIIZh-8o,1775
|
492 |
+
pip/_vendor/html5lib/_utils.py,sha256=Dx9AKntksRjFT1veBj7I362pf5OgIaT0zglwq43RnfU,4931
|
493 |
+
pip/_vendor/html5lib/constants.py,sha256=Ll-yzLU_jcjyAI_h57zkqZ7aQWE5t5xA4y_jQgoUUhw,83464
|
494 |
+
pip/_vendor/html5lib/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
495 |
+
pip/_vendor/html5lib/filters/__pycache__/__init__.cpython-39.pyc,,
|
496 |
+
pip/_vendor/html5lib/filters/__pycache__/alphabeticalattributes.cpython-39.pyc,,
|
497 |
+
pip/_vendor/html5lib/filters/__pycache__/base.cpython-39.pyc,,
|
498 |
+
pip/_vendor/html5lib/filters/__pycache__/inject_meta_charset.cpython-39.pyc,,
|
499 |
+
pip/_vendor/html5lib/filters/__pycache__/lint.cpython-39.pyc,,
|
500 |
+
pip/_vendor/html5lib/filters/__pycache__/optionaltags.cpython-39.pyc,,
|
501 |
+
pip/_vendor/html5lib/filters/__pycache__/sanitizer.cpython-39.pyc,,
|
502 |
+
pip/_vendor/html5lib/filters/__pycache__/whitespace.cpython-39.pyc,,
|
503 |
+
pip/_vendor/html5lib/filters/alphabeticalattributes.py,sha256=lViZc2JMCclXi_5gduvmdzrRxtO5Xo9ONnbHBVCsykU,919
|
504 |
+
pip/_vendor/html5lib/filters/base.py,sha256=z-IU9ZAYjpsVsqmVt7kuWC63jR11hDMr6CVrvuao8W0,286
|
505 |
+
pip/_vendor/html5lib/filters/inject_meta_charset.py,sha256=egDXUEHXmAG9504xz0K6ALDgYkvUrC2q15YUVeNlVQg,2945
|
506 |
+
pip/_vendor/html5lib/filters/lint.py,sha256=jk6q56xY0ojiYfvpdP-OZSm9eTqcAdRqhCoPItemPYA,3643
|
507 |
+
pip/_vendor/html5lib/filters/optionaltags.py,sha256=8lWT75J0aBOHmPgfmqTHSfPpPMp01T84NKu0CRedxcE,10588
|
508 |
+
pip/_vendor/html5lib/filters/sanitizer.py,sha256=m6oGmkBhkGAnn2nV6D4hE78SCZ6WEnK9rKdZB3uXBIc,26897
|
509 |
+
pip/_vendor/html5lib/filters/whitespace.py,sha256=8eWqZxd4UC4zlFGW6iyY6f-2uuT8pOCSALc3IZt7_t4,1214
|
510 |
+
pip/_vendor/html5lib/html5parser.py,sha256=anr-aXre_ImfrkQ35c_rftKXxC80vJCREKe06Tq15HA,117186
|
511 |
+
pip/_vendor/html5lib/serializer.py,sha256=_PpvcZF07cwE7xr9uKkZqh5f4UEaI8ltCU2xPJzaTpk,15759
|
512 |
+
pip/_vendor/html5lib/treeadapters/__init__.py,sha256=A0rY5gXIe4bJOiSGRO_j_tFhngRBO8QZPzPtPw5dFzo,679
|
513 |
+
pip/_vendor/html5lib/treeadapters/__pycache__/__init__.cpython-39.pyc,,
|
514 |
+
pip/_vendor/html5lib/treeadapters/__pycache__/genshi.cpython-39.pyc,,
|
515 |
+
pip/_vendor/html5lib/treeadapters/__pycache__/sax.cpython-39.pyc,,
|
516 |
+
pip/_vendor/html5lib/treeadapters/genshi.py,sha256=CH27pAsDKmu4ZGkAUrwty7u0KauGLCZRLPMzaO3M5vo,1715
|
517 |
+
pip/_vendor/html5lib/treeadapters/sax.py,sha256=BKS8woQTnKiqeffHsxChUqL4q2ZR_wb5fc9MJ3zQC8s,1776
|
518 |
+
pip/_vendor/html5lib/treebuilders/__init__.py,sha256=AysSJyvPfikCMMsTVvaxwkgDieELD5dfR8FJIAuq7hY,3592
|
519 |
+
pip/_vendor/html5lib/treebuilders/__pycache__/__init__.cpython-39.pyc,,
|
520 |
+
pip/_vendor/html5lib/treebuilders/__pycache__/base.cpython-39.pyc,,
|
521 |
+
pip/_vendor/html5lib/treebuilders/__pycache__/dom.cpython-39.pyc,,
|
522 |
+
pip/_vendor/html5lib/treebuilders/__pycache__/etree.cpython-39.pyc,,
|
523 |
+
pip/_vendor/html5lib/treebuilders/__pycache__/etree_lxml.cpython-39.pyc,,
|
524 |
+
pip/_vendor/html5lib/treebuilders/base.py,sha256=z-o51vt9r_l2IDG5IioTOKGzZne4Fy3_Fc-7ztrOh4I,14565
|
525 |
+
pip/_vendor/html5lib/treebuilders/dom.py,sha256=22whb0C71zXIsai5mamg6qzBEiigcBIvaDy4Asw3at0,8925
|
526 |
+
pip/_vendor/html5lib/treebuilders/etree.py,sha256=w5ZFpKk6bAxnrwD2_BrF5EVC7vzz0L3LMi9Sxrbc_8w,12836
|
527 |
+
pip/_vendor/html5lib/treebuilders/etree_lxml.py,sha256=9gqDjs-IxsPhBYa5cpvv2FZ1KZlG83Giusy2lFmvIkE,14766
|
528 |
+
pip/_vendor/html5lib/treewalkers/__init__.py,sha256=OBPtc1TU5mGyy18QDMxKEyYEz0wxFUUNj5v0-XgmYhY,5719
|
529 |
+
pip/_vendor/html5lib/treewalkers/__pycache__/__init__.cpython-39.pyc,,
|
530 |
+
pip/_vendor/html5lib/treewalkers/__pycache__/base.cpython-39.pyc,,
|
531 |
+
pip/_vendor/html5lib/treewalkers/__pycache__/dom.cpython-39.pyc,,
|
532 |
+
pip/_vendor/html5lib/treewalkers/__pycache__/etree.cpython-39.pyc,,
|
533 |
+
pip/_vendor/html5lib/treewalkers/__pycache__/etree_lxml.cpython-39.pyc,,
|
534 |
+
pip/_vendor/html5lib/treewalkers/__pycache__/genshi.cpython-39.pyc,,
|
535 |
+
pip/_vendor/html5lib/treewalkers/base.py,sha256=ouiOsuSzvI0KgzdWP8PlxIaSNs9falhbiinAEc_UIJY,7476
|
536 |
+
pip/_vendor/html5lib/treewalkers/dom.py,sha256=EHyFR8D8lYNnyDU9lx_IKigVJRyecUGua0mOi7HBukc,1413
|
537 |
+
pip/_vendor/html5lib/treewalkers/etree.py,sha256=xo1L5m9VtkfpFJK0pFmkLVajhqYYVisVZn3k9kYpPkI,4551
|
538 |
+
pip/_vendor/html5lib/treewalkers/etree_lxml.py,sha256=_b0LAVWLcVu9WaU_-w3D8f0IRSpCbjf667V-3NRdhTw,6357
|
539 |
+
pip/_vendor/html5lib/treewalkers/genshi.py,sha256=4D2PECZ5n3ZN3qu3jMl9yY7B81jnQApBQSVlfaIuYbA,2309
|
540 |
+
pip/_vendor/idna/__init__.py,sha256=9Nt7xpyet3DmOrPUGooDdAwmHZZu1qUAy2EaJ93kGiQ,58
|
541 |
+
pip/_vendor/idna/__pycache__/__init__.cpython-39.pyc,,
|
542 |
+
pip/_vendor/idna/__pycache__/codec.cpython-39.pyc,,
|
543 |
+
pip/_vendor/idna/__pycache__/compat.cpython-39.pyc,,
|
544 |
+
pip/_vendor/idna/__pycache__/core.cpython-39.pyc,,
|
545 |
+
pip/_vendor/idna/__pycache__/idnadata.cpython-39.pyc,,
|
546 |
+
pip/_vendor/idna/__pycache__/intranges.cpython-39.pyc,,
|
547 |
+
pip/_vendor/idna/__pycache__/package_data.cpython-39.pyc,,
|
548 |
+
pip/_vendor/idna/__pycache__/uts46data.cpython-39.pyc,,
|
549 |
+
pip/_vendor/idna/codec.py,sha256=4RVMhqFquJgyGBKyl40ARqcgDzkDDXZUvyl1EOCRLFE,3027
|
550 |
+
pip/_vendor/idna/compat.py,sha256=g-7Ph45nzILe_7xvxdbTebrHZq4mQWxIOH1rjMc6xrs,232
|
551 |
+
pip/_vendor/idna/core.py,sha256=VdFGQyiit1eMKUQ2x0mNXoGThrXlRyp070mPDyLX9Yg,11849
|
552 |
+
pip/_vendor/idna/idnadata.py,sha256=cl4x9RLdw1ZMtEEbvKwAsX-Id3AdIjO5U3HaoKM6VGs,42350
|
553 |
+
pip/_vendor/idna/intranges.py,sha256=TY1lpxZIQWEP6tNqjZkFA5hgoMWOj1OBmnUG8ihT87E,1749
|
554 |
+
pip/_vendor/idna/package_data.py,sha256=kxptFveZ37zbPSmKU7KMEA8Pi7h3-sM1-p2agm2PpCI,21
|
555 |
+
pip/_vendor/idna/uts46data.py,sha256=4CZEB6ZQgmSNIATBn2V_xdW9PEgVOXAOYRzCeQGsK_E,196224
|
556 |
+
pip/_vendor/msgpack/__init__.py,sha256=2gJwcsTIaAtCM0GMi2rU-_Y6kILeeQuqRkrQ22jSANc,1118
|
557 |
+
pip/_vendor/msgpack/__pycache__/__init__.cpython-39.pyc,,
|
558 |
+
pip/_vendor/msgpack/__pycache__/_version.cpython-39.pyc,,
|
559 |
+
pip/_vendor/msgpack/__pycache__/exceptions.cpython-39.pyc,,
|
560 |
+
pip/_vendor/msgpack/__pycache__/ext.cpython-39.pyc,,
|
561 |
+
pip/_vendor/msgpack/__pycache__/fallback.cpython-39.pyc,,
|
562 |
+
pip/_vendor/msgpack/_version.py,sha256=dFR03oACnj4lsKd1RnwD7BPMiVI_FMygdOL1TOBEw_U,20
|
563 |
+
pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
|
564 |
+
pip/_vendor/msgpack/ext.py,sha256=4l356Y4sVEcvCla2dh_cL57vh4GMhZfa3kuWHFHYz6A,6088
|
565 |
+
pip/_vendor/msgpack/fallback.py,sha256=Rpv1Ldey8f8ueRnQznD4ARKBn9dxM2PywVNkXI8IEeE,38026
|
566 |
+
pip/_vendor/packaging/__about__.py,sha256=j4B7IMMSqpUnYzcYd5H5WZlILXevD7Zm_n9lj_TROTw,726
|
567 |
+
pip/_vendor/packaging/__init__.py,sha256=6enbp5XgRfjBjsI9-bn00HjHf5TH21PDMOKkJW8xw-w,562
|
568 |
+
pip/_vendor/packaging/__pycache__/__about__.cpython-39.pyc,,
|
569 |
+
pip/_vendor/packaging/__pycache__/__init__.cpython-39.pyc,,
|
570 |
+
pip/_vendor/packaging/__pycache__/_compat.cpython-39.pyc,,
|
571 |
+
pip/_vendor/packaging/__pycache__/_structures.cpython-39.pyc,,
|
572 |
+
pip/_vendor/packaging/__pycache__/_typing.cpython-39.pyc,,
|
573 |
+
pip/_vendor/packaging/__pycache__/markers.cpython-39.pyc,,
|
574 |
+
pip/_vendor/packaging/__pycache__/requirements.cpython-39.pyc,,
|
575 |
+
pip/_vendor/packaging/__pycache__/specifiers.cpython-39.pyc,,
|
576 |
+
pip/_vendor/packaging/__pycache__/tags.cpython-39.pyc,,
|
577 |
+
pip/_vendor/packaging/__pycache__/utils.cpython-39.pyc,,
|
578 |
+
pip/_vendor/packaging/__pycache__/version.cpython-39.pyc,,
|
579 |
+
pip/_vendor/packaging/_compat.py,sha256=MXdsGpSE_W-ZrHoC87andI4LV2FAwU7HLL-eHe_CjhU,1128
|
580 |
+
pip/_vendor/packaging/_structures.py,sha256=ozkCX8Q8f2qE1Eic3YiQ4buDVfgz2iYevY9e7R2y3iY,2022
|
581 |
+
pip/_vendor/packaging/_typing.py,sha256=VgA0AAvsc97KB5nF89zoudOyCMEsV7FlaXzZbYqEkzA,1824
|
582 |
+
pip/_vendor/packaging/markers.py,sha256=8DOn1c7oZ_DySBlLom_9o49GzobVGYN8-kpK_nsj8oQ,9472
|
583 |
+
pip/_vendor/packaging/requirements.py,sha256=MHqf_FKihHC0VkOB62ZUdUyG8okEL97D4Xy_jK1yFS0,5110
|
584 |
+
pip/_vendor/packaging/specifiers.py,sha256=RaxQ-JKyCqI5QBm6gDvboZ2K6jjLVd-pxq0kvYf28kc,32208
|
585 |
+
pip/_vendor/packaging/tags.py,sha256=BMEL_3W3E8nXK_AXAWqmlYccsvoznFKkTBkTPR48DB8,29561
|
586 |
+
pip/_vendor/packaging/utils.py,sha256=5vUxwCVYSmaNJFgd7KaCBpxHXQN89KIvRLvCsDzao0k,4385
|
587 |
+
pip/_vendor/packaging/version.py,sha256=t7FpsZKmDncMn6EG28dEu_5NBZUa9_HVoiG-fsDo3oc,15974
|
588 |
+
pip/_vendor/pep517/__init__.py,sha256=mju9elFHLEUJ23rU5Zpdj8nROdY0Vj3bp4ZgvBTs6bg,130
|
589 |
+
pip/_vendor/pep517/__pycache__/__init__.cpython-39.pyc,,
|
590 |
+
pip/_vendor/pep517/__pycache__/build.cpython-39.pyc,,
|
591 |
+
pip/_vendor/pep517/__pycache__/check.cpython-39.pyc,,
|
592 |
+
pip/_vendor/pep517/__pycache__/colorlog.cpython-39.pyc,,
|
593 |
+
pip/_vendor/pep517/__pycache__/compat.cpython-39.pyc,,
|
594 |
+
pip/_vendor/pep517/__pycache__/dirtools.cpython-39.pyc,,
|
595 |
+
pip/_vendor/pep517/__pycache__/envbuild.cpython-39.pyc,,
|
596 |
+
pip/_vendor/pep517/__pycache__/meta.cpython-39.pyc,,
|
597 |
+
pip/_vendor/pep517/__pycache__/wrappers.cpython-39.pyc,,
|
598 |
+
pip/_vendor/pep517/build.py,sha256=Z49CmRFafX7NjoBModiibwQYa_EYz3E0F31b7D5WVvs,3456
|
599 |
+
pip/_vendor/pep517/check.py,sha256=8LJLtfZ99zAcV4vKJ1a-odMxg2sEImD7RMNg_Ere-1Y,6082
|
600 |
+
pip/_vendor/pep517/colorlog.py,sha256=Tk9AuYm_cLF3BKTBoSTJt9bRryn0aFojIQOwbfVUTxQ,4098
|
601 |
+
pip/_vendor/pep517/compat.py,sha256=M-5s4VNp8rjyT76ZZ_ibnPD44DYVzSQlyCEHayjtDPw,780
|
602 |
+
pip/_vendor/pep517/dirtools.py,sha256=2mkAkAL0mRz_elYFjRKuekTJVipH1zTn4tbf1EDev84,1129
|
603 |
+
pip/_vendor/pep517/envbuild.py,sha256=szKUFlO50X1ahQfXwz4hD9V2VE_bz9MLVPIeidsFo4w,6041
|
604 |
+
pip/_vendor/pep517/in_process/__init__.py,sha256=MyWoAi8JHdcBv7yXuWpUSVADbx6LSB9rZh7kTIgdA8Y,563
|
605 |
+
pip/_vendor/pep517/in_process/__pycache__/__init__.cpython-39.pyc,,
|
606 |
+
pip/_vendor/pep517/in_process/__pycache__/_in_process.cpython-39.pyc,,
|
607 |
+
pip/_vendor/pep517/in_process/_in_process.py,sha256=XrKOTURJdia5R7i3i_OQmS89LASFXE3HQXfX63qZBIE,8438
|
608 |
+
pip/_vendor/pep517/meta.py,sha256=8mnM5lDnT4zXQpBTliJbRGfesH7iioHwozbDxALPS9Y,2463
|
609 |
+
pip/_vendor/pep517/wrappers.py,sha256=QYZfN1nWoq4Z2krY-UX14JLAxkdNwujYjRGf7qFc914,11044
|
610 |
+
pip/_vendor/pkg_resources/__init__.py,sha256=XpGBfvS9fafA6bm5rx7vnxdxs7yqyoc_NnpzKApkJ64,108277
|
611 |
+
pip/_vendor/pkg_resources/__pycache__/__init__.cpython-39.pyc,,
|
612 |
+
pip/_vendor/pkg_resources/__pycache__/py31compat.cpython-39.pyc,,
|
613 |
+
pip/_vendor/pkg_resources/py31compat.py,sha256=CRk8fkiPRDLsbi5pZcKsHI__Pbmh_94L8mr9Qy9Ab2U,562
|
614 |
+
pip/_vendor/progress/__init__.py,sha256=fcbQQXo5np2CoQyhSH5XprkicwLZNLePR3uIahznSO0,4857
|
615 |
+
pip/_vendor/progress/__pycache__/__init__.cpython-39.pyc,,
|
616 |
+
pip/_vendor/progress/__pycache__/bar.cpython-39.pyc,,
|
617 |
+
pip/_vendor/progress/__pycache__/counter.cpython-39.pyc,,
|
618 |
+
pip/_vendor/progress/__pycache__/spinner.cpython-39.pyc,,
|
619 |
+
pip/_vendor/progress/bar.py,sha256=QuDuVNcmXgpxtNtxO0Fq72xKigxABaVmxYGBw4J3Z_E,2854
|
620 |
+
pip/_vendor/progress/counter.py,sha256=MznyBrvPWrOlGe4MZAlGUb9q3aODe6_aNYeAE_VNoYA,1372
|
621 |
+
pip/_vendor/progress/spinner.py,sha256=k8JbDW94T0-WXuXfxZIFhdoNPYp3jfnpXqBnfRv5fGs,1380
|
622 |
+
pip/_vendor/pyparsing.py,sha256=J1b4z3S_KwyJW7hKGnoN-hXW9pgMIzIP6QThyY5yJq4,273394
|
623 |
+
pip/_vendor/requests/__init__.py,sha256=ib7nRjDadbCMOeX2sMQLcbXzy982HoKRY2LD_gWqwPM,4458
|
624 |
+
pip/_vendor/requests/__pycache__/__init__.cpython-39.pyc,,
|
625 |
+
pip/_vendor/requests/__pycache__/__version__.cpython-39.pyc,,
|
626 |
+
pip/_vendor/requests/__pycache__/_internal_utils.cpython-39.pyc,,
|
627 |
+
pip/_vendor/requests/__pycache__/adapters.cpython-39.pyc,,
|
628 |
+
pip/_vendor/requests/__pycache__/api.cpython-39.pyc,,
|
629 |
+
pip/_vendor/requests/__pycache__/auth.cpython-39.pyc,,
|
630 |
+
pip/_vendor/requests/__pycache__/certs.cpython-39.pyc,,
|
631 |
+
pip/_vendor/requests/__pycache__/compat.cpython-39.pyc,,
|
632 |
+
pip/_vendor/requests/__pycache__/cookies.cpython-39.pyc,,
|
633 |
+
pip/_vendor/requests/__pycache__/exceptions.cpython-39.pyc,,
|
634 |
+
pip/_vendor/requests/__pycache__/help.cpython-39.pyc,,
|
635 |
+
pip/_vendor/requests/__pycache__/hooks.cpython-39.pyc,,
|
636 |
+
pip/_vendor/requests/__pycache__/models.cpython-39.pyc,,
|
637 |
+
pip/_vendor/requests/__pycache__/packages.cpython-39.pyc,,
|
638 |
+
pip/_vendor/requests/__pycache__/sessions.cpython-39.pyc,,
|
639 |
+
pip/_vendor/requests/__pycache__/status_codes.cpython-39.pyc,,
|
640 |
+
pip/_vendor/requests/__pycache__/structures.cpython-39.pyc,,
|
641 |
+
pip/_vendor/requests/__pycache__/utils.cpython-39.pyc,,
|
642 |
+
pip/_vendor/requests/__version__.py,sha256=k4J8c1yFRFzwGWwlN7miaDOclFtbcIs1GlnmT17YbXQ,441
|
643 |
+
pip/_vendor/requests/_internal_utils.py,sha256=Zx3PnEUccyfsB-ie11nZVAW8qClJy0gx1qNME7rgT18,1096
|
644 |
+
pip/_vendor/requests/adapters.py,sha256=e-bmKEApNVqFdylxuMJJfiaHdlmS_zhWhIMEzlHvGuc,21548
|
645 |
+
pip/_vendor/requests/api.py,sha256=PlHM-HT3PQ5lyufoeGmV-nJxRi7UnUyGVh7OV7B9XV4,6496
|
646 |
+
pip/_vendor/requests/auth.py,sha256=OMoJIVKyRLy9THr91y8rxysZuclwPB-K1Xg1zBomUhQ,10207
|
647 |
+
pip/_vendor/requests/certs.py,sha256=nXRVq9DtGmv_1AYbwjTu9UrgAcdJv05ZvkNeaoLOZxY,465
|
648 |
+
pip/_vendor/requests/compat.py,sha256=LQWuCR4qXk6w7-qQopXyz0WNHUdAD40k0mKnaAEf1-g,2045
|
649 |
+
pip/_vendor/requests/cookies.py,sha256=Y-bKX6TvW3FnYlE6Au0SXtVVWcaNdFvuAwQxw-G0iTI,18430
|
650 |
+
pip/_vendor/requests/exceptions.py,sha256=d9fJJw8YFBB9VzG9qhvxLuOx6be3c_Dwbck-dVUEAcs,3173
|
651 |
+
pip/_vendor/requests/help.py,sha256=SJPVcoXeo7KfK4AxJN5eFVQCjr0im87tU2n7ubLsksU,3578
|
652 |
+
pip/_vendor/requests/hooks.py,sha256=QReGyy0bRcr5rkwCuObNakbYsc7EkiKeBwG4qHekr2Q,757
|
653 |
+
pip/_vendor/requests/models.py,sha256=UkkaVuU1tc-BKYB41dds35saisoTpaYJ2YBCFZEEfhM,34373
|
654 |
+
pip/_vendor/requests/packages.py,sha256=njJmVifY4aSctuW3PP5EFRCxjEwMRDO6J_feG2dKWsI,695
|
655 |
+
pip/_vendor/requests/sessions.py,sha256=BsnR-zYILgoFzJ6yq4T8ht_i0PwwPGVAxWxWaV5dcHg,30137
|
656 |
+
pip/_vendor/requests/status_codes.py,sha256=gT79Pbs_cQjBgp-fvrUgg1dn2DQO32bDj4TInjnMPSc,4188
|
657 |
+
pip/_vendor/requests/structures.py,sha256=msAtr9mq1JxHd-JRyiILfdFlpbJwvvFuP3rfUQT_QxE,3005
|
658 |
+
pip/_vendor/requests/utils.py,sha256=_K9AgkN6efPe-a-zgZurXzds5PBC0CzDkyjAE2oCQFQ,30529
|
659 |
+
pip/_vendor/resolvelib/__init__.py,sha256=QWAqNErjxqEMKl-AUccXz10aCKVmO-WmWvxUl3QOlFY,537
|
660 |
+
pip/_vendor/resolvelib/__pycache__/__init__.cpython-39.pyc,,
|
661 |
+
pip/_vendor/resolvelib/__pycache__/providers.cpython-39.pyc,,
|
662 |
+
pip/_vendor/resolvelib/__pycache__/reporters.cpython-39.pyc,,
|
663 |
+
pip/_vendor/resolvelib/__pycache__/resolvers.cpython-39.pyc,,
|
664 |
+
pip/_vendor/resolvelib/__pycache__/structs.cpython-39.pyc,,
|
665 |
+
pip/_vendor/resolvelib/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
666 |
+
pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-39.pyc,,
|
667 |
+
pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-39.pyc,,
|
668 |
+
pip/_vendor/resolvelib/compat/collections_abc.py,sha256=uy8xUZ-NDEw916tugUXm8HgwCGiMO0f-RcdnpkfXfOs,156
|
669 |
+
pip/_vendor/resolvelib/providers.py,sha256=bfzFDZd7UqkkAS7lUM_HeYbA-HzjKfDlle_pn_79vio,5638
|
670 |
+
pip/_vendor/resolvelib/reporters.py,sha256=hQvvXuuEBOyEWO8KDfLsWKVjX55UFMAUwO0YZMNpzAw,1364
|
671 |
+
pip/_vendor/resolvelib/resolvers.py,sha256=P6aq-7pY5E7zROb0zUUWqFIHEA9Lm0MWsx_bYXzUg3A,17292
|
672 |
+
pip/_vendor/resolvelib/structs.py,sha256=Z6m4CkKJlWH4ZIKelEsKNeZqKTvyux4hqBNzY4kZzLo,4495
|
673 |
+
pip/_vendor/six.py,sha256=U4Z_yv534W5CNyjY9i8V1OXY2SjAny8y2L5vDLhhThM,34159
|
674 |
+
pip/_vendor/tenacity/__init__.py,sha256=6qSjN2BJDt864b6nxFoalpbCLQHiD2iYAlnUS9dWSSw,16528
|
675 |
+
pip/_vendor/tenacity/__pycache__/__init__.cpython-39.pyc,,
|
676 |
+
pip/_vendor/tenacity/__pycache__/_asyncio.cpython-39.pyc,,
|
677 |
+
pip/_vendor/tenacity/__pycache__/_utils.cpython-39.pyc,,
|
678 |
+
pip/_vendor/tenacity/__pycache__/after.cpython-39.pyc,,
|
679 |
+
pip/_vendor/tenacity/__pycache__/before.cpython-39.pyc,,
|
680 |
+
pip/_vendor/tenacity/__pycache__/before_sleep.cpython-39.pyc,,
|
681 |
+
pip/_vendor/tenacity/__pycache__/compat.cpython-39.pyc,,
|
682 |
+
pip/_vendor/tenacity/__pycache__/nap.cpython-39.pyc,,
|
683 |
+
pip/_vendor/tenacity/__pycache__/retry.cpython-39.pyc,,
|
684 |
+
pip/_vendor/tenacity/__pycache__/stop.cpython-39.pyc,,
|
685 |
+
pip/_vendor/tenacity/__pycache__/tornadoweb.cpython-39.pyc,,
|
686 |
+
pip/_vendor/tenacity/__pycache__/wait.cpython-39.pyc,,
|
687 |
+
pip/_vendor/tenacity/_asyncio.py,sha256=6C4Sfv9IOUYf1-0vuIoE6OGbmJrJywH0-YslrxmbxKw,2833
|
688 |
+
pip/_vendor/tenacity/_utils.py,sha256=W1nujHum1f9i4RQpOSjqsQo9_mQtaUtNznXAmQHsL28,4555
|
689 |
+
pip/_vendor/tenacity/after.py,sha256=KNIi2WT83r4eqA3QaXMK1zXQzkbLgVHj5uRanY6HabM,1307
|
690 |
+
pip/_vendor/tenacity/before.py,sha256=B9pAXn6_J1UKzwTL9nFtRpOhNg8s5vGSi4bqnx4-laA,1154
|
691 |
+
pip/_vendor/tenacity/before_sleep.py,sha256=lZEMHNaFRmdCcws3Moh4EOZ9zeo4MRxskdiUudvNuvY,1784
|
692 |
+
pip/_vendor/tenacity/compat.py,sha256=dHonJkJlHwD2cmqLrYHYU0Tdzm2bn1-76QZSt6OCemw,739
|
693 |
+
pip/_vendor/tenacity/nap.py,sha256=7VVudOTmuv_-C_XJlvjGcgHbV6_A2HlzymaXu8vj1d8,1280
|
694 |
+
pip/_vendor/tenacity/retry.py,sha256=xskLGa15EsNhPPOmIUcKS7CqjaRAtWxGFNPNRjjz9UU,5463
|
695 |
+
pip/_vendor/tenacity/stop.py,sha256=4cjSe_YPSawz6iI-QBDN0xFfE_zlKvjhFwx21ZlyD2E,2435
|
696 |
+
pip/_vendor/tenacity/tornadoweb.py,sha256=q3XZW2A9Rky1BhUQbNHF61hM1EXQ57dA7wxPnlSOx3s,1729
|
697 |
+
pip/_vendor/tenacity/wait.py,sha256=FAoIfIUSNf5OWJYT7nhjFC0uOVijHMBd56AJRyLN230,6017
|
698 |
+
pip/_vendor/toml/__init__.py,sha256=kYgYzehhUx1cctsuprmjEKwnSdmQeC53cTxi7nxQrko,747
|
699 |
+
pip/_vendor/toml/__pycache__/__init__.cpython-39.pyc,,
|
700 |
+
pip/_vendor/toml/__pycache__/decoder.cpython-39.pyc,,
|
701 |
+
pip/_vendor/toml/__pycache__/encoder.cpython-39.pyc,,
|
702 |
+
pip/_vendor/toml/__pycache__/ordered.cpython-39.pyc,,
|
703 |
+
pip/_vendor/toml/__pycache__/tz.cpython-39.pyc,,
|
704 |
+
pip/_vendor/toml/decoder.py,sha256=deDPQqpj92SG6pAtwLbgKHrIsly7hAZG-U6g2y7hyGc,38954
|
705 |
+
pip/_vendor/toml/encoder.py,sha256=tBe93_GB21K52TlSbMiYuGeIGXH70F2WzAg-lIfVoko,9964
|
706 |
+
pip/_vendor/toml/ordered.py,sha256=UWt5Eka90IWVBYdvLgY5PXnkBcVYpHjnw9T67rM85T8,378
|
707 |
+
pip/_vendor/toml/tz.py,sha256=-5vg8wkg_atnVi2TnEveexIVE7T_FxBVr_-2WVfO1oA,701
|
708 |
+
pip/_vendor/urllib3/__init__.py,sha256=j3yzHIbmW7CS-IKQJ9-PPQf_YKO8EOAey_rMW0UR7us,2763
|
709 |
+
pip/_vendor/urllib3/__pycache__/__init__.cpython-39.pyc,,
|
710 |
+
pip/_vendor/urllib3/__pycache__/_collections.cpython-39.pyc,,
|
711 |
+
pip/_vendor/urllib3/__pycache__/_version.cpython-39.pyc,,
|
712 |
+
pip/_vendor/urllib3/__pycache__/connection.cpython-39.pyc,,
|
713 |
+
pip/_vendor/urllib3/__pycache__/connectionpool.cpython-39.pyc,,
|
714 |
+
pip/_vendor/urllib3/__pycache__/exceptions.cpython-39.pyc,,
|
715 |
+
pip/_vendor/urllib3/__pycache__/fields.cpython-39.pyc,,
|
716 |
+
pip/_vendor/urllib3/__pycache__/filepost.cpython-39.pyc,,
|
717 |
+
pip/_vendor/urllib3/__pycache__/poolmanager.cpython-39.pyc,,
|
718 |
+
pip/_vendor/urllib3/__pycache__/request.cpython-39.pyc,,
|
719 |
+
pip/_vendor/urllib3/__pycache__/response.cpython-39.pyc,,
|
720 |
+
pip/_vendor/urllib3/_collections.py,sha256=Rp1mVyBgc_UlAcp6M3at1skJBXR5J43NawRTvW2g_XY,10811
|
721 |
+
pip/_vendor/urllib3/_version.py,sha256=2Bjk_cB49921PTvereWp8ZR3NhLNoCMAyHSGP-OesLk,63
|
722 |
+
pip/_vendor/urllib3/connection.py,sha256=q-vf_TM3MyRbZcFn3-VCKZBSf0oEhGjv7BFeZm_7kw4,18748
|
723 |
+
pip/_vendor/urllib3/connectionpool.py,sha256=IKoeuJZY9YAYm0GK4q-MXAhyXW0M_FnvabYaNsDIR-E,37133
|
724 |
+
pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
725 |
+
pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-39.pyc,,
|
726 |
+
pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-39.pyc,,
|
727 |
+
pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-39.pyc,,
|
728 |
+
pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-39.pyc,,
|
729 |
+
pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-39.pyc,,
|
730 |
+
pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-39.pyc,,
|
731 |
+
pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-39.pyc,,
|
732 |
+
pip/_vendor/urllib3/contrib/_appengine_environ.py,sha256=bDbyOEhW2CKLJcQqAKAyrEHN-aklsyHFKq6vF8ZFsmk,957
|
733 |
+
pip/_vendor/urllib3/contrib/_securetransport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
734 |
+
pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-39.pyc,,
|
735 |
+
pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-39.pyc,,
|
736 |
+
pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-39.pyc,,
|
737 |
+
pip/_vendor/urllib3/contrib/_securetransport/bindings.py,sha256=eRy1Mj-wpg7sR6-OSvnSV4jUbjMT464dLN_CWxbIRVw,17649
|
738 |
+
pip/_vendor/urllib3/contrib/_securetransport/low_level.py,sha256=lgIdsSycqfB0Xm5BiJzXGeIKT7ybCQMFPJAgkcwPa1s,13908
|
739 |
+
pip/_vendor/urllib3/contrib/appengine.py,sha256=lm86XjaOI7ajbonsN0JLA0ckkgSFWhgxWKLW_Ymt4sI,11034
|
740 |
+
pip/_vendor/urllib3/contrib/ntlmpool.py,sha256=6I95h1_71fzxmoMSNtY0gB8lnyCoVtP_DpqFGj14fdU,4160
|
741 |
+
pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=kqm9SX4h_6h76QwGDBiNQ7i-ktKZunZuxzTVjjtHDto,16795
|
742 |
+
pip/_vendor/urllib3/contrib/securetransport.py,sha256=MEEHa3YqG8ifDPYG0gO12C1tZu2I-HqGF4lC53cHFPg,34303
|
743 |
+
pip/_vendor/urllib3/contrib/socks.py,sha256=DcRjM2l0rQMIyhYrN6r-tnVkY6ZTDxHJlM8_usAkGCA,7097
|
744 |
+
pip/_vendor/urllib3/exceptions.py,sha256=0Mnno3KHTNfXRfY7638NufOPkUb6mXOm-Lqj-4x2w8A,8217
|
745 |
+
pip/_vendor/urllib3/fields.py,sha256=kvLDCg_JmH1lLjUUEY_FLS8UhY7hBvDPuVETbY8mdrM,8579
|
746 |
+
pip/_vendor/urllib3/filepost.py,sha256=5b_qqgRHVlL7uLtdAYBzBh-GHmU5AfJVt_2N0XS3PeY,2440
|
747 |
+
pip/_vendor/urllib3/packages/__init__.py,sha256=h4BLhD4tLaBx1adaDtKXfupsgqY0wWLXb_f1_yVlV6A,108
|
748 |
+
pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-39.pyc,,
|
749 |
+
pip/_vendor/urllib3/packages/__pycache__/six.cpython-39.pyc,,
|
750 |
+
pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
751 |
+
pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-39.pyc,,
|
752 |
+
pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-39.pyc,,
|
753 |
+
pip/_vendor/urllib3/packages/backports/makefile.py,sha256=nbzt3i0agPVP07jqqgjhaYjMmuAi_W5E0EywZivVO8E,1417
|
754 |
+
pip/_vendor/urllib3/packages/six.py,sha256=adx4z-eM_D0Vvu0IIqVzFACQ_ux9l64y7DkSEfbxCDs,32536
|
755 |
+
pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py,sha256=zppezdEQdpGsYerI6mV6MfUYy495JV4mcOWC_GgbljU,757
|
756 |
+
pip/_vendor/urllib3/packages/ssl_match_hostname/__pycache__/__init__.cpython-39.pyc,,
|
757 |
+
pip/_vendor/urllib3/packages/ssl_match_hostname/__pycache__/_implementation.cpython-39.pyc,,
|
758 |
+
pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py,sha256=6dZ-q074g7XhsJ27MFCgkct8iVNZB3sMZvKhf-KUVy0,5679
|
759 |
+
pip/_vendor/urllib3/poolmanager.py,sha256=whzlX6UTEgODMOCy0ZDMUONRBCz5wyIM8Z9opXAY-Lk,19763
|
760 |
+
pip/_vendor/urllib3/request.py,sha256=ZFSIqX0C6WizixecChZ3_okyu7BEv0lZu1VT0s6h4SM,5985
|
761 |
+
pip/_vendor/urllib3/response.py,sha256=hGhGBh7TkEkh_IQg5C1W_xuPNrgIKv5BUXPyE-q0LuE,28203
|
762 |
+
pip/_vendor/urllib3/util/__init__.py,sha256=JEmSmmqqLyaw8P51gUImZh8Gwg9i1zSe-DoqAitn2nc,1155
|
763 |
+
pip/_vendor/urllib3/util/__pycache__/__init__.cpython-39.pyc,,
|
764 |
+
pip/_vendor/urllib3/util/__pycache__/connection.cpython-39.pyc,,
|
765 |
+
pip/_vendor/urllib3/util/__pycache__/proxy.cpython-39.pyc,,
|
766 |
+
pip/_vendor/urllib3/util/__pycache__/queue.cpython-39.pyc,,
|
767 |
+
pip/_vendor/urllib3/util/__pycache__/request.cpython-39.pyc,,
|
768 |
+
pip/_vendor/urllib3/util/__pycache__/response.cpython-39.pyc,,
|
769 |
+
pip/_vendor/urllib3/util/__pycache__/retry.cpython-39.pyc,,
|
770 |
+
pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-39.pyc,,
|
771 |
+
pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-39.pyc,,
|
772 |
+
pip/_vendor/urllib3/util/__pycache__/timeout.cpython-39.pyc,,
|
773 |
+
pip/_vendor/urllib3/util/__pycache__/url.cpython-39.pyc,,
|
774 |
+
pip/_vendor/urllib3/util/__pycache__/wait.cpython-39.pyc,,
|
775 |
+
pip/_vendor/urllib3/util/connection.py,sha256=_I-ZoF58xXLLjo-Q5IGaJrMxy2IW_exI8K9O9pq7op0,4922
|
776 |
+
pip/_vendor/urllib3/util/proxy.py,sha256=FGipAEnvZteyldXNjce4DEB7YzwU-a5lep8y5S0qHQg,1604
|
777 |
+
pip/_vendor/urllib3/util/queue.py,sha256=nRgX8_eX-_VkvxoX096QWoz8Ps0QHUAExILCY_7PncM,498
|
778 |
+
pip/_vendor/urllib3/util/request.py,sha256=NnzaEKQ1Pauw5MFMV6HmgEMHITf0Aua9fQuzi2uZzGc,4123
|
779 |
+
pip/_vendor/urllib3/util/response.py,sha256=GJpg3Egi9qaJXRwBh5wv-MNuRWan5BIu40oReoxWP28,3510
|
780 |
+
pip/_vendor/urllib3/util/retry.py,sha256=s3ZNKXO6_t23ZQMg8zlu20PMSqraT495-S_mEY_19ak,21396
|
781 |
+
pip/_vendor/urllib3/util/ssl_.py,sha256=dKcH-sqiR_ESWqKP1PJ6SUAUSvqC-fkMQGrTokV4NMY,16281
|
782 |
+
pip/_vendor/urllib3/util/ssltransport.py,sha256=vOOCPRn-dODUZ2qtMCfStb0JmjgrgJaKLqJ9qvKucFs,6932
|
783 |
+
pip/_vendor/urllib3/util/timeout.py,sha256=QSbBUNOB9yh6AnDn61SrLQ0hg5oz0I9-uXEG91AJuIg,10003
|
784 |
+
pip/_vendor/urllib3/util/url.py,sha256=KP_yaHA0TFFAsQSImc_FOHO-Wq3PNHf_bKObKcrgdU4,13981
|
785 |
+
pip/_vendor/urllib3/util/wait.py,sha256=3MUKRSAUJDB2tgco7qRUskW0zXGAWYvRRE4Q1_6xlLs,5404
|
786 |
+
pip/_vendor/vendor.txt,sha256=yaN2qLLkKuoRmFLCxGJ1LZtZiuV7T7NoisZqwWNRhIU,364
|
787 |
+
pip/_vendor/webencodings/__init__.py,sha256=qOBJIuPy_4ByYH6W_bNgJF-qYQ2DoU-dKsDu5yRWCXg,10579
|
788 |
+
pip/_vendor/webencodings/__pycache__/__init__.cpython-39.pyc,,
|
789 |
+
pip/_vendor/webencodings/__pycache__/labels.cpython-39.pyc,,
|
790 |
+
pip/_vendor/webencodings/__pycache__/mklabels.cpython-39.pyc,,
|
791 |
+
pip/_vendor/webencodings/__pycache__/tests.cpython-39.pyc,,
|
792 |
+
pip/_vendor/webencodings/__pycache__/x_user_defined.cpython-39.pyc,,
|
793 |
+
pip/_vendor/webencodings/labels.py,sha256=4AO_KxTddqGtrL9ns7kAPjb0CcN6xsCIxbK37HY9r3E,8979
|
794 |
+
pip/_vendor/webencodings/mklabels.py,sha256=GYIeywnpaLnP0GSic8LFWgd0UVvO_l1Nc6YoF-87R_4,1305
|
795 |
+
pip/_vendor/webencodings/tests.py,sha256=OtGLyjhNY1fvkW1GvLJ_FV9ZoqC9Anyjr7q3kxTbzNs,6563
|
796 |
+
pip/_vendor/webencodings/x_user_defined.py,sha256=yOqWSdmpytGfUgh_Z6JYgDNhoc-BAHyyeeT15Fr42tM,4307
|
797 |
+
pip/py.typed,sha256=l9g-Fc1zgtIZ70tLJDcx6qKeqDutTVVSceIqUod-awg,286
|
env/Lib/site-packages/pip-21.1.1.dist-info/REQUESTED
ADDED
File without changes
|
env/Lib/site-packages/pip-21.1.1.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.36.2)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
env/Lib/site-packages/pip-21.1.1.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-21.1.1.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env/Lib/site-packages/pip/__init__.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import List, Optional
|
2 |
+
|
3 |
+
__version__ = "21.1.1"
|
4 |
+
|
5 |
+
|
6 |
+
def main(args=None):
|
7 |
+
# type: (Optional[List[str]]) -> int
|
8 |
+
"""This is an internal API only meant for use by pip's own console scripts.
|
9 |
+
|
10 |
+
For additional details, see https://github.com/pypa/pip/issues/7498.
|
11 |
+
"""
|
12 |
+
from pip._internal.utils.entrypoints import _wrapper
|
13 |
+
|
14 |
+
return _wrapper(args)
|
env/Lib/site-packages/pip/__main__.py
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import sys
|
3 |
+
import warnings
|
4 |
+
|
5 |
+
# Remove '' and current working directory from the first entry
|
6 |
+
# of sys.path, if present to avoid using current directory
|
7 |
+
# in pip commands check, freeze, install, list and show,
|
8 |
+
# when invoked as python -m pip <command>
|
9 |
+
if sys.path[0] in ("", os.getcwd()):
|
10 |
+
sys.path.pop(0)
|
11 |
+
|
12 |
+
# If we are running from a wheel, add the wheel to sys.path
|
13 |
+
# This allows the usage python pip-*.whl/pip install pip-*.whl
|
14 |
+
if __package__ == "":
|
15 |
+
# __file__ is pip-*.whl/pip/__main__.py
|
16 |
+
# first dirname call strips of '/__main__.py', second strips off '/pip'
|
17 |
+
# Resulting path is the name of the wheel itself
|
18 |
+
# Add that to sys.path so we can import pip
|
19 |
+
path = os.path.dirname(os.path.dirname(__file__))
|
20 |
+
sys.path.insert(0, path)
|
21 |
+
|
22 |
+
if __name__ == "__main__":
|
23 |
+
# Work around the error reported in #9540, pending a proper fix.
|
24 |
+
# Note: It is essential the warning filter is set *before* importing
|
25 |
+
# pip, as the deprecation happens at import time, not runtime.
|
26 |
+
warnings.filterwarnings(
|
27 |
+
"ignore", category=DeprecationWarning, module=".*packaging\\.version"
|
28 |
+
)
|
29 |
+
from pip._internal.cli.main import main as _main
|
30 |
+
|
31 |
+
sys.exit(_main())
|
env/Lib/site-packages/pip/__pycache__/__init__.cpython-39.pyc
ADDED
Binary file (590 Bytes). View file
|
|
env/Lib/site-packages/pip/__pycache__/__main__.cpython-39.pyc
ADDED
Binary file (587 Bytes). View file
|
|
env/Lib/site-packages/pip/_internal/__init__.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import List, Optional
|
2 |
+
|
3 |
+
import pip._internal.utils.inject_securetransport # noqa
|
4 |
+
|
5 |
+
|
6 |
+
def main(args=None):
|
7 |
+
# type: (Optional[List[str]]) -> int
|
8 |
+
"""This is preserved for old console scripts that may still be referencing
|
9 |
+
it.
|
10 |
+
|
11 |
+
For additional details, see https://github.com/pypa/pip/issues/7498.
|
12 |
+
"""
|
13 |
+
from pip._internal.utils.entrypoints import _wrapper
|
14 |
+
|
15 |
+
return _wrapper(args)
|
env/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-39.pyc
ADDED
Binary file (639 Bytes). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-39.pyc
ADDED
Binary file (8.88 kB). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-39.pyc
ADDED
Binary file (7.84 kB). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-39.pyc
ADDED
Binary file (10.7 kB). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-39.pyc
ADDED
Binary file (15.6 kB). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/main.cpython-39.pyc
ADDED
Binary file (576 Bytes). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-39.pyc
ADDED
Binary file (3.45 kB). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-39.pyc
ADDED
Binary file (4.34 kB). View file
|
|
env/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-39.pyc
ADDED
Binary file (8.28 kB). View file
|
|
env/Lib/site-packages/pip/_internal/build_env.py
ADDED
@@ -0,0 +1,283 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Build Environment used for isolation during sdist building
|
2 |
+
"""
|
3 |
+
|
4 |
+
import contextlib
|
5 |
+
import logging
|
6 |
+
import os
|
7 |
+
import pathlib
|
8 |
+
import sys
|
9 |
+
import textwrap
|
10 |
+
import zipfile
|
11 |
+
from collections import OrderedDict
|
12 |
+
from sysconfig import get_paths
|
13 |
+
from types import TracebackType
|
14 |
+
from typing import TYPE_CHECKING, Iterable, Iterator, List, Optional, Set, Tuple, Type
|
15 |
+
|
16 |
+
from pip._vendor.certifi import where
|
17 |
+
from pip._vendor.pkg_resources import Requirement, VersionConflict, WorkingSet
|
18 |
+
|
19 |
+
from pip import __file__ as pip_location
|
20 |
+
from pip._internal.cli.spinners import open_spinner
|
21 |
+
from pip._internal.locations import get_platlib, get_prefixed_libs, get_purelib
|
22 |
+
from pip._internal.utils.subprocess import call_subprocess
|
23 |
+
from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
|
24 |
+
|
25 |
+
if TYPE_CHECKING:
|
26 |
+
from pip._internal.index.package_finder import PackageFinder
|
27 |
+
|
28 |
+
logger = logging.getLogger(__name__)
|
29 |
+
|
30 |
+
|
31 |
+
class _Prefix:
|
32 |
+
|
33 |
+
def __init__(self, path):
|
34 |
+
# type: (str) -> None
|
35 |
+
self.path = path
|
36 |
+
self.setup = False
|
37 |
+
self.bin_dir = get_paths(
|
38 |
+
'nt' if os.name == 'nt' else 'posix_prefix',
|
39 |
+
vars={'base': path, 'platbase': path}
|
40 |
+
)['scripts']
|
41 |
+
self.lib_dirs = get_prefixed_libs(path)
|
42 |
+
|
43 |
+
|
44 |
+
@contextlib.contextmanager
|
45 |
+
def _create_standalone_pip() -> Iterator[str]:
|
46 |
+
"""Create a "standalone pip" zip file.
|
47 |
+
|
48 |
+
The zip file's content is identical to the currently-running pip.
|
49 |
+
It will be used to install requirements into the build environment.
|
50 |
+
"""
|
51 |
+
source = pathlib.Path(pip_location).resolve().parent
|
52 |
+
|
53 |
+
# Return the current instance if it is already a zip file. This can happen
|
54 |
+
# if a PEP 517 requirement is an sdist itself.
|
55 |
+
if not source.is_dir() and source.parent.name == "__env_pip__.zip":
|
56 |
+
yield str(source)
|
57 |
+
return
|
58 |
+
|
59 |
+
with TempDirectory(kind="standalone-pip") as tmp_dir:
|
60 |
+
pip_zip = os.path.join(tmp_dir.path, "__env_pip__.zip")
|
61 |
+
with zipfile.ZipFile(pip_zip, "w") as zf:
|
62 |
+
for child in source.rglob("*"):
|
63 |
+
zf.write(child, child.relative_to(source.parent).as_posix())
|
64 |
+
yield os.path.join(pip_zip, "pip")
|
65 |
+
|
66 |
+
|
67 |
+
class BuildEnvironment:
|
68 |
+
"""Creates and manages an isolated environment to install build deps
|
69 |
+
"""
|
70 |
+
|
71 |
+
def __init__(self):
|
72 |
+
# type: () -> None
|
73 |
+
temp_dir = TempDirectory(
|
74 |
+
kind=tempdir_kinds.BUILD_ENV, globally_managed=True
|
75 |
+
)
|
76 |
+
|
77 |
+
self._prefixes = OrderedDict(
|
78 |
+
(name, _Prefix(os.path.join(temp_dir.path, name)))
|
79 |
+
for name in ('normal', 'overlay')
|
80 |
+
)
|
81 |
+
|
82 |
+
self._bin_dirs = [] # type: List[str]
|
83 |
+
self._lib_dirs = [] # type: List[str]
|
84 |
+
for prefix in reversed(list(self._prefixes.values())):
|
85 |
+
self._bin_dirs.append(prefix.bin_dir)
|
86 |
+
self._lib_dirs.extend(prefix.lib_dirs)
|
87 |
+
|
88 |
+
# Customize site to:
|
89 |
+
# - ensure .pth files are honored
|
90 |
+
# - prevent access to system site packages
|
91 |
+
system_sites = {
|
92 |
+
os.path.normcase(site) for site in (get_purelib(), get_platlib())
|
93 |
+
}
|
94 |
+
self._site_dir = os.path.join(temp_dir.path, 'site')
|
95 |
+
if not os.path.exists(self._site_dir):
|
96 |
+
os.mkdir(self._site_dir)
|
97 |
+
with open(os.path.join(self._site_dir, 'sitecustomize.py'), 'w') as fp:
|
98 |
+
fp.write(textwrap.dedent(
|
99 |
+
'''
|
100 |
+
import os, site, sys
|
101 |
+
|
102 |
+
# First, drop system-sites related paths.
|
103 |
+
original_sys_path = sys.path[:]
|
104 |
+
known_paths = set()
|
105 |
+
for path in {system_sites!r}:
|
106 |
+
site.addsitedir(path, known_paths=known_paths)
|
107 |
+
system_paths = set(
|
108 |
+
os.path.normcase(path)
|
109 |
+
for path in sys.path[len(original_sys_path):]
|
110 |
+
)
|
111 |
+
original_sys_path = [
|
112 |
+
path for path in original_sys_path
|
113 |
+
if os.path.normcase(path) not in system_paths
|
114 |
+
]
|
115 |
+
sys.path = original_sys_path
|
116 |
+
|
117 |
+
# Second, add lib directories.
|
118 |
+
# ensuring .pth file are processed.
|
119 |
+
for path in {lib_dirs!r}:
|
120 |
+
assert not path in sys.path
|
121 |
+
site.addsitedir(path)
|
122 |
+
'''
|
123 |
+
).format(system_sites=system_sites, lib_dirs=self._lib_dirs))
|
124 |
+
|
125 |
+
def __enter__(self):
|
126 |
+
# type: () -> None
|
127 |
+
self._save_env = {
|
128 |
+
name: os.environ.get(name, None)
|
129 |
+
for name in ('PATH', 'PYTHONNOUSERSITE', 'PYTHONPATH')
|
130 |
+
}
|
131 |
+
|
132 |
+
path = self._bin_dirs[:]
|
133 |
+
old_path = self._save_env['PATH']
|
134 |
+
if old_path:
|
135 |
+
path.extend(old_path.split(os.pathsep))
|
136 |
+
|
137 |
+
pythonpath = [self._site_dir]
|
138 |
+
|
139 |
+
os.environ.update({
|
140 |
+
'PATH': os.pathsep.join(path),
|
141 |
+
'PYTHONNOUSERSITE': '1',
|
142 |
+
'PYTHONPATH': os.pathsep.join(pythonpath),
|
143 |
+
})
|
144 |
+
|
145 |
+
def __exit__(
|
146 |
+
self,
|
147 |
+
exc_type, # type: Optional[Type[BaseException]]
|
148 |
+
exc_val, # type: Optional[BaseException]
|
149 |
+
exc_tb # type: Optional[TracebackType]
|
150 |
+
):
|
151 |
+
# type: (...) -> None
|
152 |
+
for varname, old_value in self._save_env.items():
|
153 |
+
if old_value is None:
|
154 |
+
os.environ.pop(varname, None)
|
155 |
+
else:
|
156 |
+
os.environ[varname] = old_value
|
157 |
+
|
158 |
+
def check_requirements(self, reqs):
|
159 |
+
# type: (Iterable[str]) -> Tuple[Set[Tuple[str, str]], Set[str]]
|
160 |
+
"""Return 2 sets:
|
161 |
+
- conflicting requirements: set of (installed, wanted) reqs tuples
|
162 |
+
- missing requirements: set of reqs
|
163 |
+
"""
|
164 |
+
missing = set()
|
165 |
+
conflicting = set()
|
166 |
+
if reqs:
|
167 |
+
ws = WorkingSet(self._lib_dirs)
|
168 |
+
for req in reqs:
|
169 |
+
try:
|
170 |
+
if ws.find(Requirement.parse(req)) is None:
|
171 |
+
missing.add(req)
|
172 |
+
except VersionConflict as e:
|
173 |
+
conflicting.add((str(e.args[0].as_requirement()),
|
174 |
+
str(e.args[1])))
|
175 |
+
return conflicting, missing
|
176 |
+
|
177 |
+
def install_requirements(
|
178 |
+
self,
|
179 |
+
finder, # type: PackageFinder
|
180 |
+
requirements, # type: Iterable[str]
|
181 |
+
prefix_as_string, # type: str
|
182 |
+
message # type: str
|
183 |
+
):
|
184 |
+
# type: (...) -> None
|
185 |
+
prefix = self._prefixes[prefix_as_string]
|
186 |
+
assert not prefix.setup
|
187 |
+
prefix.setup = True
|
188 |
+
if not requirements:
|
189 |
+
return
|
190 |
+
with contextlib.ExitStack() as ctx:
|
191 |
+
# TODO: Remove this block when dropping 3.6 support. Python 3.6
|
192 |
+
# lacks importlib.resources and pep517 has issues loading files in
|
193 |
+
# a zip, so we fallback to the "old" method by adding the current
|
194 |
+
# pip directory to the child process's sys.path.
|
195 |
+
if sys.version_info < (3, 7):
|
196 |
+
pip_runnable = os.path.dirname(pip_location)
|
197 |
+
else:
|
198 |
+
pip_runnable = ctx.enter_context(_create_standalone_pip())
|
199 |
+
self._install_requirements(
|
200 |
+
pip_runnable,
|
201 |
+
finder,
|
202 |
+
requirements,
|
203 |
+
prefix,
|
204 |
+
message,
|
205 |
+
)
|
206 |
+
|
207 |
+
@staticmethod
|
208 |
+
def _install_requirements(
|
209 |
+
pip_runnable: str,
|
210 |
+
finder: "PackageFinder",
|
211 |
+
requirements: Iterable[str],
|
212 |
+
prefix: _Prefix,
|
213 |
+
message: str,
|
214 |
+
) -> None:
|
215 |
+
args = [
|
216 |
+
sys.executable, pip_runnable, 'install',
|
217 |
+
'--ignore-installed', '--no-user', '--prefix', prefix.path,
|
218 |
+
'--no-warn-script-location',
|
219 |
+
] # type: List[str]
|
220 |
+
if logger.getEffectiveLevel() <= logging.DEBUG:
|
221 |
+
args.append('-v')
|
222 |
+
for format_control in ('no_binary', 'only_binary'):
|
223 |
+
formats = getattr(finder.format_control, format_control)
|
224 |
+
args.extend(('--' + format_control.replace('_', '-'),
|
225 |
+
','.join(sorted(formats or {':none:'}))))
|
226 |
+
|
227 |
+
index_urls = finder.index_urls
|
228 |
+
if index_urls:
|
229 |
+
args.extend(['-i', index_urls[0]])
|
230 |
+
for extra_index in index_urls[1:]:
|
231 |
+
args.extend(['--extra-index-url', extra_index])
|
232 |
+
else:
|
233 |
+
args.append('--no-index')
|
234 |
+
for link in finder.find_links:
|
235 |
+
args.extend(['--find-links', link])
|
236 |
+
|
237 |
+
for host in finder.trusted_hosts:
|
238 |
+
args.extend(['--trusted-host', host])
|
239 |
+
if finder.allow_all_prereleases:
|
240 |
+
args.append('--pre')
|
241 |
+
if finder.prefer_binary:
|
242 |
+
args.append('--prefer-binary')
|
243 |
+
args.append('--')
|
244 |
+
args.extend(requirements)
|
245 |
+
extra_environ = {"_PIP_STANDALONE_CERT": where()}
|
246 |
+
with open_spinner(message) as spinner:
|
247 |
+
call_subprocess(args, spinner=spinner, extra_environ=extra_environ)
|
248 |
+
|
249 |
+
|
250 |
+
class NoOpBuildEnvironment(BuildEnvironment):
|
251 |
+
"""A no-op drop-in replacement for BuildEnvironment
|
252 |
+
"""
|
253 |
+
|
254 |
+
def __init__(self):
|
255 |
+
# type: () -> None
|
256 |
+
pass
|
257 |
+
|
258 |
+
def __enter__(self):
|
259 |
+
# type: () -> None
|
260 |
+
pass
|
261 |
+
|
262 |
+
def __exit__(
|
263 |
+
self,
|
264 |
+
exc_type, # type: Optional[Type[BaseException]]
|
265 |
+
exc_val, # type: Optional[BaseException]
|
266 |
+
exc_tb # type: Optional[TracebackType]
|
267 |
+
):
|
268 |
+
# type: (...) -> None
|
269 |
+
pass
|
270 |
+
|
271 |
+
def cleanup(self):
|
272 |
+
# type: () -> None
|
273 |
+
pass
|
274 |
+
|
275 |
+
def install_requirements(
|
276 |
+
self,
|
277 |
+
finder, # type: PackageFinder
|
278 |
+
requirements, # type: Iterable[str]
|
279 |
+
prefix_as_string, # type: str
|
280 |
+
message # type: str
|
281 |
+
):
|
282 |
+
# type: (...) -> None
|
283 |
+
raise NotImplementedError()
|
env/Lib/site-packages/pip/_internal/cache.py
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Cache Management
|
2 |
+
"""
|
3 |
+
|
4 |
+
import hashlib
|
5 |
+
import json
|
6 |
+
import logging
|
7 |
+
import os
|
8 |
+
from typing import Any, Dict, List, Optional, Set
|
9 |
+
|
10 |
+
from pip._vendor.packaging.tags import Tag, interpreter_name, interpreter_version
|
11 |
+
from pip._vendor.packaging.utils import canonicalize_name
|
12 |
+
|
13 |
+
from pip._internal.exceptions import InvalidWheelFilename
|
14 |
+
from pip._internal.models.format_control import FormatControl
|
15 |
+
from pip._internal.models.link import Link
|
16 |
+
from pip._internal.models.wheel import Wheel
|
17 |
+
from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
|
18 |
+
from pip._internal.utils.urls import path_to_url
|
19 |
+
|
20 |
+
logger = logging.getLogger(__name__)
|
21 |
+
|
22 |
+
|
23 |
+
def _hash_dict(d):
|
24 |
+
# type: (Dict[str, str]) -> str
|
25 |
+
"""Return a stable sha224 of a dictionary."""
|
26 |
+
s = json.dumps(d, sort_keys=True, separators=(",", ":"), ensure_ascii=True)
|
27 |
+
return hashlib.sha224(s.encode("ascii")).hexdigest()
|
28 |
+
|
29 |
+
|
30 |
+
class Cache:
|
31 |
+
"""An abstract class - provides cache directories for data from links
|
32 |
+
|
33 |
+
|
34 |
+
:param cache_dir: The root of the cache.
|
35 |
+
:param format_control: An object of FormatControl class to limit
|
36 |
+
binaries being read from the cache.
|
37 |
+
:param allowed_formats: which formats of files the cache should store.
|
38 |
+
('binary' and 'source' are the only allowed values)
|
39 |
+
"""
|
40 |
+
|
41 |
+
def __init__(self, cache_dir, format_control, allowed_formats):
|
42 |
+
# type: (str, FormatControl, Set[str]) -> None
|
43 |
+
super().__init__()
|
44 |
+
assert not cache_dir or os.path.isabs(cache_dir)
|
45 |
+
self.cache_dir = cache_dir or None
|
46 |
+
self.format_control = format_control
|
47 |
+
self.allowed_formats = allowed_formats
|
48 |
+
|
49 |
+
_valid_formats = {"source", "binary"}
|
50 |
+
assert self.allowed_formats.union(_valid_formats) == _valid_formats
|
51 |
+
|
52 |
+
def _get_cache_path_parts(self, link):
|
53 |
+
# type: (Link) -> List[str]
|
54 |
+
"""Get parts of part that must be os.path.joined with cache_dir
|
55 |
+
"""
|
56 |
+
|
57 |
+
# We want to generate an url to use as our cache key, we don't want to
|
58 |
+
# just re-use the URL because it might have other items in the fragment
|
59 |
+
# and we don't care about those.
|
60 |
+
key_parts = {"url": link.url_without_fragment}
|
61 |
+
if link.hash_name is not None and link.hash is not None:
|
62 |
+
key_parts[link.hash_name] = link.hash
|
63 |
+
if link.subdirectory_fragment:
|
64 |
+
key_parts["subdirectory"] = link.subdirectory_fragment
|
65 |
+
|
66 |
+
# Include interpreter name, major and minor version in cache key
|
67 |
+
# to cope with ill-behaved sdists that build a different wheel
|
68 |
+
# depending on the python version their setup.py is being run on,
|
69 |
+
# and don't encode the difference in compatibility tags.
|
70 |
+
# https://github.com/pypa/pip/issues/7296
|
71 |
+
key_parts["interpreter_name"] = interpreter_name()
|
72 |
+
key_parts["interpreter_version"] = interpreter_version()
|
73 |
+
|
74 |
+
# Encode our key url with sha224, we'll use this because it has similar
|
75 |
+
# security properties to sha256, but with a shorter total output (and
|
76 |
+
# thus less secure). However the differences don't make a lot of
|
77 |
+
# difference for our use case here.
|
78 |
+
hashed = _hash_dict(key_parts)
|
79 |
+
|
80 |
+
# We want to nest the directories some to prevent having a ton of top
|
81 |
+
# level directories where we might run out of sub directories on some
|
82 |
+
# FS.
|
83 |
+
parts = [hashed[:2], hashed[2:4], hashed[4:6], hashed[6:]]
|
84 |
+
|
85 |
+
return parts
|
86 |
+
|
87 |
+
def _get_candidates(self, link, canonical_package_name):
|
88 |
+
# type: (Link, str) -> List[Any]
|
89 |
+
can_not_cache = (
|
90 |
+
not self.cache_dir or
|
91 |
+
not canonical_package_name or
|
92 |
+
not link
|
93 |
+
)
|
94 |
+
if can_not_cache:
|
95 |
+
return []
|
96 |
+
|
97 |
+
formats = self.format_control.get_allowed_formats(
|
98 |
+
canonical_package_name
|
99 |
+
)
|
100 |
+
if not self.allowed_formats.intersection(formats):
|
101 |
+
return []
|
102 |
+
|
103 |
+
candidates = []
|
104 |
+
path = self.get_path_for_link(link)
|
105 |
+
if os.path.isdir(path):
|
106 |
+
for candidate in os.listdir(path):
|
107 |
+
candidates.append((candidate, path))
|
108 |
+
return candidates
|
109 |
+
|
110 |
+
def get_path_for_link(self, link):
|
111 |
+
# type: (Link) -> str
|
112 |
+
"""Return a directory to store cached items in for link.
|
113 |
+
"""
|
114 |
+
raise NotImplementedError()
|
115 |
+
|
116 |
+
def get(
|
117 |
+
self,
|
118 |
+
link, # type: Link
|
119 |
+
package_name, # type: Optional[str]
|
120 |
+
supported_tags, # type: List[Tag]
|
121 |
+
):
|
122 |
+
# type: (...) -> Link
|
123 |
+
"""Returns a link to a cached item if it exists, otherwise returns the
|
124 |
+
passed link.
|
125 |
+
"""
|
126 |
+
raise NotImplementedError()
|
127 |
+
|
128 |
+
|
129 |
+
class SimpleWheelCache(Cache):
|
130 |
+
"""A cache of wheels for future installs.
|
131 |
+
"""
|
132 |
+
|
133 |
+
def __init__(self, cache_dir, format_control):
|
134 |
+
# type: (str, FormatControl) -> None
|
135 |
+
super().__init__(cache_dir, format_control, {"binary"})
|
136 |
+
|
137 |
+
def get_path_for_link(self, link):
|
138 |
+
# type: (Link) -> str
|
139 |
+
"""Return a directory to store cached wheels for link
|
140 |
+
|
141 |
+
Because there are M wheels for any one sdist, we provide a directory
|
142 |
+
to cache them in, and then consult that directory when looking up
|
143 |
+
cache hits.
|
144 |
+
|
145 |
+
We only insert things into the cache if they have plausible version
|
146 |
+
numbers, so that we don't contaminate the cache with things that were
|
147 |
+
not unique. E.g. ./package might have dozens of installs done for it
|
148 |
+
and build a version of 0.0...and if we built and cached a wheel, we'd
|
149 |
+
end up using the same wheel even if the source has been edited.
|
150 |
+
|
151 |
+
:param link: The link of the sdist for which this will cache wheels.
|
152 |
+
"""
|
153 |
+
parts = self._get_cache_path_parts(link)
|
154 |
+
assert self.cache_dir
|
155 |
+
# Store wheels within the root cache_dir
|
156 |
+
return os.path.join(self.cache_dir, "wheels", *parts)
|
157 |
+
|
158 |
+
def get(
|
159 |
+
self,
|
160 |
+
link, # type: Link
|
161 |
+
package_name, # type: Optional[str]
|
162 |
+
supported_tags, # type: List[Tag]
|
163 |
+
):
|
164 |
+
# type: (...) -> Link
|
165 |
+
candidates = []
|
166 |
+
|
167 |
+
if not package_name:
|
168 |
+
return link
|
169 |
+
|
170 |
+
canonical_package_name = canonicalize_name(package_name)
|
171 |
+
for wheel_name, wheel_dir in self._get_candidates(
|
172 |
+
link, canonical_package_name
|
173 |
+
):
|
174 |
+
try:
|
175 |
+
wheel = Wheel(wheel_name)
|
176 |
+
except InvalidWheelFilename:
|
177 |
+
continue
|
178 |
+
if canonicalize_name(wheel.name) != canonical_package_name:
|
179 |
+
logger.debug(
|
180 |
+
"Ignoring cached wheel %s for %s as it "
|
181 |
+
"does not match the expected distribution name %s.",
|
182 |
+
wheel_name, link, package_name,
|
183 |
+
)
|
184 |
+
continue
|
185 |
+
if not wheel.supported(supported_tags):
|
186 |
+
# Built for a different python/arch/etc
|
187 |
+
continue
|
188 |
+
candidates.append(
|
189 |
+
(
|
190 |
+
wheel.support_index_min(supported_tags),
|
191 |
+
wheel_name,
|
192 |
+
wheel_dir,
|
193 |
+
)
|
194 |
+
)
|
195 |
+
|
196 |
+
if not candidates:
|
197 |
+
return link
|
198 |
+
|
199 |
+
_, wheel_name, wheel_dir = min(candidates)
|
200 |
+
return Link(path_to_url(os.path.join(wheel_dir, wheel_name)))
|
201 |
+
|
202 |
+
|
203 |
+
class EphemWheelCache(SimpleWheelCache):
|
204 |
+
"""A SimpleWheelCache that creates it's own temporary cache directory
|
205 |
+
"""
|
206 |
+
|
207 |
+
def __init__(self, format_control):
|
208 |
+
# type: (FormatControl) -> None
|
209 |
+
self._temp_dir = TempDirectory(
|
210 |
+
kind=tempdir_kinds.EPHEM_WHEEL_CACHE,
|
211 |
+
globally_managed=True,
|
212 |
+
)
|
213 |
+
|
214 |
+
super().__init__(self._temp_dir.path, format_control)
|
215 |
+
|
216 |
+
|
217 |
+
class CacheEntry:
|
218 |
+
def __init__(
|
219 |
+
self,
|
220 |
+
link, # type: Link
|
221 |
+
persistent, # type: bool
|
222 |
+
):
|
223 |
+
self.link = link
|
224 |
+
self.persistent = persistent
|
225 |
+
|
226 |
+
|
227 |
+
class WheelCache(Cache):
|
228 |
+
"""Wraps EphemWheelCache and SimpleWheelCache into a single Cache
|
229 |
+
|
230 |
+
This Cache allows for gracefully degradation, using the ephem wheel cache
|
231 |
+
when a certain link is not found in the simple wheel cache first.
|
232 |
+
"""
|
233 |
+
|
234 |
+
def __init__(self, cache_dir, format_control):
|
235 |
+
# type: (str, FormatControl) -> None
|
236 |
+
super().__init__(cache_dir, format_control, {'binary'})
|
237 |
+
self._wheel_cache = SimpleWheelCache(cache_dir, format_control)
|
238 |
+
self._ephem_cache = EphemWheelCache(format_control)
|
239 |
+
|
240 |
+
def get_path_for_link(self, link):
|
241 |
+
# type: (Link) -> str
|
242 |
+
return self._wheel_cache.get_path_for_link(link)
|
243 |
+
|
244 |
+
def get_ephem_path_for_link(self, link):
|
245 |
+
# type: (Link) -> str
|
246 |
+
return self._ephem_cache.get_path_for_link(link)
|
247 |
+
|
248 |
+
def get(
|
249 |
+
self,
|
250 |
+
link, # type: Link
|
251 |
+
package_name, # type: Optional[str]
|
252 |
+
supported_tags, # type: List[Tag]
|
253 |
+
):
|
254 |
+
# type: (...) -> Link
|
255 |
+
cache_entry = self.get_cache_entry(link, package_name, supported_tags)
|
256 |
+
if cache_entry is None:
|
257 |
+
return link
|
258 |
+
return cache_entry.link
|
259 |
+
|
260 |
+
def get_cache_entry(
|
261 |
+
self,
|
262 |
+
link, # type: Link
|
263 |
+
package_name, # type: Optional[str]
|
264 |
+
supported_tags, # type: List[Tag]
|
265 |
+
):
|
266 |
+
# type: (...) -> Optional[CacheEntry]
|
267 |
+
"""Returns a CacheEntry with a link to a cached item if it exists or
|
268 |
+
None. The cache entry indicates if the item was found in the persistent
|
269 |
+
or ephemeral cache.
|
270 |
+
"""
|
271 |
+
retval = self._wheel_cache.get(
|
272 |
+
link=link,
|
273 |
+
package_name=package_name,
|
274 |
+
supported_tags=supported_tags,
|
275 |
+
)
|
276 |
+
if retval is not link:
|
277 |
+
return CacheEntry(retval, persistent=True)
|
278 |
+
|
279 |
+
retval = self._ephem_cache.get(
|
280 |
+
link=link,
|
281 |
+
package_name=package_name,
|
282 |
+
supported_tags=supported_tags,
|
283 |
+
)
|
284 |
+
if retval is not link:
|
285 |
+
return CacheEntry(retval, persistent=False)
|
286 |
+
|
287 |
+
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 (272 Bytes). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-39.pyc
ADDED
Binary file (4.97 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-39.pyc
ADDED
Binary file (5.79 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-39.pyc
ADDED
Binary file (21 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-39.pyc
ADDED
Binary file (1.22 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-39.pyc
ADDED
Binary file (1.32 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-39.pyc
ADDED
Binary file (2.1 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-39.pyc
ADDED
Binary file (9.37 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-39.pyc
ADDED
Binary file (7.44 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-39.pyc
ADDED
Binary file (11.2 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-39.pyc
ADDED
Binary file (4.61 kB). View file
|
|
env/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-39.pyc
ADDED
Binary file (351 Bytes). View file
|
|
env/Lib/site-packages/pip/_internal/cli/autocompletion.py
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Logic that powers autocompletion installed by ``pip completion``.
|
2 |
+
"""
|
3 |
+
|
4 |
+
import optparse
|
5 |
+
import os
|
6 |
+
import sys
|
7 |
+
from itertools import chain
|
8 |
+
from typing import Any, Iterable, List, Optional
|
9 |
+
|
10 |
+
from pip._internal.cli.main_parser import create_main_parser
|
11 |
+
from pip._internal.commands import commands_dict, create_command
|
12 |
+
from pip._internal.utils.misc import get_installed_distributions
|
13 |
+
|
14 |
+
|
15 |
+
def autocomplete():
|
16 |
+
# type: () -> None
|
17 |
+
"""Entry Point for completion of main and subcommand options."""
|
18 |
+
# Don't complete if user hasn't sourced bash_completion file.
|
19 |
+
if "PIP_AUTO_COMPLETE" not in os.environ:
|
20 |
+
return
|
21 |
+
cwords = os.environ["COMP_WORDS"].split()[1:]
|
22 |
+
cword = int(os.environ["COMP_CWORD"])
|
23 |
+
try:
|
24 |
+
current = cwords[cword - 1]
|
25 |
+
except IndexError:
|
26 |
+
current = ""
|
27 |
+
|
28 |
+
parser = create_main_parser()
|
29 |
+
subcommands = list(commands_dict)
|
30 |
+
options = []
|
31 |
+
|
32 |
+
# subcommand
|
33 |
+
subcommand_name = None # type: Optional[str]
|
34 |
+
for word in cwords:
|
35 |
+
if word in subcommands:
|
36 |
+
subcommand_name = word
|
37 |
+
break
|
38 |
+
# subcommand options
|
39 |
+
if subcommand_name is not None:
|
40 |
+
# special case: 'help' subcommand has no options
|
41 |
+
if subcommand_name == "help":
|
42 |
+
sys.exit(1)
|
43 |
+
# special case: list locally installed dists for show and uninstall
|
44 |
+
should_list_installed = not current.startswith("-") and subcommand_name in [
|
45 |
+
"show",
|
46 |
+
"uninstall",
|
47 |
+
]
|
48 |
+
if should_list_installed:
|
49 |
+
lc = current.lower()
|
50 |
+
installed = [
|
51 |
+
dist.key
|
52 |
+
for dist in get_installed_distributions(local_only=True)
|
53 |
+
if dist.key.startswith(lc) and dist.key not in cwords[1:]
|
54 |
+
]
|
55 |
+
# if there are no dists installed, fall back to option completion
|
56 |
+
if installed:
|
57 |
+
for dist in installed:
|
58 |
+
print(dist)
|
59 |
+
sys.exit(1)
|
60 |
+
|
61 |
+
subcommand = create_command(subcommand_name)
|
62 |
+
|
63 |
+
for opt in subcommand.parser.option_list_all:
|
64 |
+
if opt.help != optparse.SUPPRESS_HELP:
|
65 |
+
for opt_str in opt._long_opts + opt._short_opts:
|
66 |
+
options.append((opt_str, opt.nargs))
|
67 |
+
|
68 |
+
# filter out previously specified options from available options
|
69 |
+
prev_opts = [x.split("=")[0] for x in cwords[1 : cword - 1]]
|
70 |
+
options = [(x, v) for (x, v) in options if x not in prev_opts]
|
71 |
+
# filter options by current input
|
72 |
+
options = [(k, v) for k, v in options if k.startswith(current)]
|
73 |
+
# get completion type given cwords and available subcommand options
|
74 |
+
completion_type = get_path_completion_type(
|
75 |
+
cwords,
|
76 |
+
cword,
|
77 |
+
subcommand.parser.option_list_all,
|
78 |
+
)
|
79 |
+
# get completion files and directories if ``completion_type`` is
|
80 |
+
# ``<file>``, ``<dir>`` or ``<path>``
|
81 |
+
if completion_type:
|
82 |
+
paths = auto_complete_paths(current, completion_type)
|
83 |
+
options = [(path, 0) for path in paths]
|
84 |
+
for option in options:
|
85 |
+
opt_label = option[0]
|
86 |
+
# append '=' to options which require args
|
87 |
+
if option[1] and option[0][:2] == "--":
|
88 |
+
opt_label += "="
|
89 |
+
print(opt_label)
|
90 |
+
else:
|
91 |
+
# show main parser options only when necessary
|
92 |
+
|
93 |
+
opts = [i.option_list for i in parser.option_groups]
|
94 |
+
opts.append(parser.option_list)
|
95 |
+
flattened_opts = chain.from_iterable(opts)
|
96 |
+
if current.startswith("-"):
|
97 |
+
for opt in flattened_opts:
|
98 |
+
if opt.help != optparse.SUPPRESS_HELP:
|
99 |
+
subcommands += opt._long_opts + opt._short_opts
|
100 |
+
else:
|
101 |
+
# get completion type given cwords and all available options
|
102 |
+
completion_type = get_path_completion_type(cwords, cword, flattened_opts)
|
103 |
+
if completion_type:
|
104 |
+
subcommands = list(auto_complete_paths(current, completion_type))
|
105 |
+
|
106 |
+
print(" ".join([x for x in subcommands if x.startswith(current)]))
|
107 |
+
sys.exit(1)
|
108 |
+
|
109 |
+
|
110 |
+
def get_path_completion_type(cwords, cword, opts):
|
111 |
+
# type: (List[str], int, Iterable[Any]) -> Optional[str]
|
112 |
+
"""Get the type of path completion (``file``, ``dir``, ``path`` or None)
|
113 |
+
|
114 |
+
:param cwords: same as the environmental variable ``COMP_WORDS``
|
115 |
+
:param cword: same as the environmental variable ``COMP_CWORD``
|
116 |
+
:param opts: The available options to check
|
117 |
+
:return: path completion type (``file``, ``dir``, ``path`` or None)
|
118 |
+
"""
|
119 |
+
if cword < 2 or not cwords[cword - 2].startswith("-"):
|
120 |
+
return None
|
121 |
+
for opt in opts:
|
122 |
+
if opt.help == optparse.SUPPRESS_HELP:
|
123 |
+
continue
|
124 |
+
for o in str(opt).split("/"):
|
125 |
+
if cwords[cword - 2].split("=")[0] == o:
|
126 |
+
if not opt.metavar or any(
|
127 |
+
x in ("path", "file", "dir") for x in opt.metavar.split("/")
|
128 |
+
):
|
129 |
+
return opt.metavar
|
130 |
+
return None
|
131 |
+
|
132 |
+
|
133 |
+
def auto_complete_paths(current, completion_type):
|
134 |
+
# type: (str, str) -> Iterable[str]
|
135 |
+
"""If ``completion_type`` is ``file`` or ``path``, list all regular files
|
136 |
+
and directories starting with ``current``; otherwise only list directories
|
137 |
+
starting with ``current``.
|
138 |
+
|
139 |
+
:param current: The word to be completed
|
140 |
+
:param completion_type: path completion type(`file`, `path` or `dir`)i
|
141 |
+
:return: A generator of regular files and/or directories
|
142 |
+
"""
|
143 |
+
directory, filename = os.path.split(current)
|
144 |
+
current_path = os.path.abspath(directory)
|
145 |
+
# Don't complete paths if they can't be accessed
|
146 |
+
if not os.access(current_path, os.R_OK):
|
147 |
+
return
|
148 |
+
filename = os.path.normcase(filename)
|
149 |
+
# list all files that start with ``filename``
|
150 |
+
file_list = (
|
151 |
+
x for x in os.listdir(current_path) if os.path.normcase(x).startswith(filename)
|
152 |
+
)
|
153 |
+
for f in file_list:
|
154 |
+
opt = os.path.join(current_path, f)
|
155 |
+
comp_file = os.path.normcase(os.path.join(directory, f))
|
156 |
+
# complete regular files when there is not ``<dir>`` after option
|
157 |
+
# complete directories when there is ``<file>``, ``<path>`` or
|
158 |
+
# ``<dir>``after option
|
159 |
+
if completion_type != "dir" and os.path.isfile(opt):
|
160 |
+
yield comp_file
|
161 |
+
elif os.path.isdir(opt):
|
162 |
+
yield os.path.join(comp_file, "")
|
env/Lib/site-packages/pip/_internal/cli/base_command.py
ADDED
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Base Command class, and related routines"""
|
2 |
+
|
3 |
+
import logging
|
4 |
+
import logging.config
|
5 |
+
import optparse
|
6 |
+
import os
|
7 |
+
import sys
|
8 |
+
import traceback
|
9 |
+
from optparse import Values
|
10 |
+
from typing import Any, List, Optional, Tuple
|
11 |
+
|
12 |
+
from pip._internal.cli import cmdoptions
|
13 |
+
from pip._internal.cli.command_context import CommandContextMixIn
|
14 |
+
from pip._internal.cli.parser import ConfigOptionParser, UpdatingDefaultsHelpFormatter
|
15 |
+
from pip._internal.cli.status_codes import (
|
16 |
+
ERROR,
|
17 |
+
PREVIOUS_BUILD_DIR_ERROR,
|
18 |
+
UNKNOWN_ERROR,
|
19 |
+
VIRTUALENV_NOT_FOUND,
|
20 |
+
)
|
21 |
+
from pip._internal.exceptions import (
|
22 |
+
BadCommand,
|
23 |
+
CommandError,
|
24 |
+
InstallationError,
|
25 |
+
NetworkConnectionError,
|
26 |
+
PreviousBuildDirError,
|
27 |
+
UninstallationError,
|
28 |
+
)
|
29 |
+
from pip._internal.utils.deprecation import deprecated
|
30 |
+
from pip._internal.utils.filesystem import check_path_owner
|
31 |
+
from pip._internal.utils.logging import BrokenStdoutLoggingError, setup_logging
|
32 |
+
from pip._internal.utils.misc import get_prog, normalize_path
|
33 |
+
from pip._internal.utils.temp_dir import TempDirectoryTypeRegistry as TempDirRegistry
|
34 |
+
from pip._internal.utils.temp_dir import global_tempdir_manager, tempdir_registry
|
35 |
+
from pip._internal.utils.virtualenv import running_under_virtualenv
|
36 |
+
|
37 |
+
__all__ = ["Command"]
|
38 |
+
|
39 |
+
logger = logging.getLogger(__name__)
|
40 |
+
|
41 |
+
|
42 |
+
class Command(CommandContextMixIn):
|
43 |
+
usage = None # type: str
|
44 |
+
ignore_require_venv = False # type: bool
|
45 |
+
|
46 |
+
def __init__(self, name, summary, isolated=False):
|
47 |
+
# type: (str, str, bool) -> None
|
48 |
+
super().__init__()
|
49 |
+
|
50 |
+
self.name = name
|
51 |
+
self.summary = summary
|
52 |
+
self.parser = ConfigOptionParser(
|
53 |
+
usage=self.usage,
|
54 |
+
prog=f"{get_prog()} {name}",
|
55 |
+
formatter=UpdatingDefaultsHelpFormatter(),
|
56 |
+
add_help_option=False,
|
57 |
+
name=name,
|
58 |
+
description=self.__doc__,
|
59 |
+
isolated=isolated,
|
60 |
+
)
|
61 |
+
|
62 |
+
self.tempdir_registry = None # type: Optional[TempDirRegistry]
|
63 |
+
|
64 |
+
# Commands should add options to this option group
|
65 |
+
optgroup_name = f"{self.name.capitalize()} Options"
|
66 |
+
self.cmd_opts = optparse.OptionGroup(self.parser, optgroup_name)
|
67 |
+
|
68 |
+
# Add the general options
|
69 |
+
gen_opts = cmdoptions.make_option_group(
|
70 |
+
cmdoptions.general_group,
|
71 |
+
self.parser,
|
72 |
+
)
|
73 |
+
self.parser.add_option_group(gen_opts)
|
74 |
+
|
75 |
+
self.add_options()
|
76 |
+
|
77 |
+
def add_options(self):
|
78 |
+
# type: () -> None
|
79 |
+
pass
|
80 |
+
|
81 |
+
def handle_pip_version_check(self, options):
|
82 |
+
# type: (Values) -> None
|
83 |
+
"""
|
84 |
+
This is a no-op so that commands by default do not do the pip version
|
85 |
+
check.
|
86 |
+
"""
|
87 |
+
# Make sure we do the pip version check if the index_group options
|
88 |
+
# are present.
|
89 |
+
assert not hasattr(options, "no_index")
|
90 |
+
|
91 |
+
def run(self, options, args):
|
92 |
+
# type: (Values, List[Any]) -> int
|
93 |
+
raise NotImplementedError
|
94 |
+
|
95 |
+
def parse_args(self, args):
|
96 |
+
# type: (List[str]) -> Tuple[Any, Any]
|
97 |
+
# factored out for testability
|
98 |
+
return self.parser.parse_args(args)
|
99 |
+
|
100 |
+
def main(self, args):
|
101 |
+
# type: (List[str]) -> int
|
102 |
+
try:
|
103 |
+
with self.main_context():
|
104 |
+
return self._main(args)
|
105 |
+
finally:
|
106 |
+
logging.shutdown()
|
107 |
+
|
108 |
+
def _main(self, args):
|
109 |
+
# type: (List[str]) -> int
|
110 |
+
# We must initialize this before the tempdir manager, otherwise the
|
111 |
+
# configuration would not be accessible by the time we clean up the
|
112 |
+
# tempdir manager.
|
113 |
+
self.tempdir_registry = self.enter_context(tempdir_registry())
|
114 |
+
# Intentionally set as early as possible so globally-managed temporary
|
115 |
+
# directories are available to the rest of the code.
|
116 |
+
self.enter_context(global_tempdir_manager())
|
117 |
+
|
118 |
+
options, args = self.parse_args(args)
|
119 |
+
|
120 |
+
# Set verbosity so that it can be used elsewhere.
|
121 |
+
self.verbosity = options.verbose - options.quiet
|
122 |
+
|
123 |
+
level_number = setup_logging(
|
124 |
+
verbosity=self.verbosity,
|
125 |
+
no_color=options.no_color,
|
126 |
+
user_log_file=options.log,
|
127 |
+
)
|
128 |
+
|
129 |
+
# TODO: Try to get these passing down from the command?
|
130 |
+
# without resorting to os.environ to hold these.
|
131 |
+
# This also affects isolated builds and it should.
|
132 |
+
|
133 |
+
if options.no_input:
|
134 |
+
os.environ["PIP_NO_INPUT"] = "1"
|
135 |
+
|
136 |
+
if options.exists_action:
|
137 |
+
os.environ["PIP_EXISTS_ACTION"] = " ".join(options.exists_action)
|
138 |
+
|
139 |
+
if options.require_venv and not self.ignore_require_venv:
|
140 |
+
# If a venv is required check if it can really be found
|
141 |
+
if not running_under_virtualenv():
|
142 |
+
logger.critical("Could not find an activated virtualenv (required).")
|
143 |
+
sys.exit(VIRTUALENV_NOT_FOUND)
|
144 |
+
|
145 |
+
if options.cache_dir:
|
146 |
+
options.cache_dir = normalize_path(options.cache_dir)
|
147 |
+
if not check_path_owner(options.cache_dir):
|
148 |
+
logger.warning(
|
149 |
+
"The directory '%s' or its parent directory is not owned "
|
150 |
+
"or is not writable by the current user. The cache "
|
151 |
+
"has been disabled. Check the permissions and owner of "
|
152 |
+
"that directory. If executing pip with sudo, you should "
|
153 |
+
"use sudo's -H flag.",
|
154 |
+
options.cache_dir,
|
155 |
+
)
|
156 |
+
options.cache_dir = None
|
157 |
+
|
158 |
+
if getattr(options, "build_dir", None):
|
159 |
+
deprecated(
|
160 |
+
reason=(
|
161 |
+
"The -b/--build/--build-dir/--build-directory "
|
162 |
+
"option is deprecated and has no effect anymore."
|
163 |
+
),
|
164 |
+
replacement=(
|
165 |
+
"use the TMPDIR/TEMP/TMP environment variable, "
|
166 |
+
"possibly combined with --no-clean"
|
167 |
+
),
|
168 |
+
gone_in="21.3",
|
169 |
+
issue=8333,
|
170 |
+
)
|
171 |
+
|
172 |
+
if "2020-resolver" in options.features_enabled:
|
173 |
+
logger.warning(
|
174 |
+
"--use-feature=2020-resolver no longer has any effect, "
|
175 |
+
"since it is now the default dependency resolver in pip. "
|
176 |
+
"This will become an error in pip 21.0."
|
177 |
+
)
|
178 |
+
|
179 |
+
try:
|
180 |
+
status = self.run(options, args)
|
181 |
+
assert isinstance(status, int)
|
182 |
+
return status
|
183 |
+
except PreviousBuildDirError as exc:
|
184 |
+
logger.critical(str(exc))
|
185 |
+
logger.debug("Exception information:", exc_info=True)
|
186 |
+
|
187 |
+
return PREVIOUS_BUILD_DIR_ERROR
|
188 |
+
except (
|
189 |
+
InstallationError,
|
190 |
+
UninstallationError,
|
191 |
+
BadCommand,
|
192 |
+
NetworkConnectionError,
|
193 |
+
) as exc:
|
194 |
+
logger.critical(str(exc))
|
195 |
+
logger.debug("Exception information:", exc_info=True)
|
196 |
+
|
197 |
+
return ERROR
|
198 |
+
except CommandError as exc:
|
199 |
+
logger.critical("%s", exc)
|
200 |
+
logger.debug("Exception information:", exc_info=True)
|
201 |
+
|
202 |
+
return ERROR
|
203 |
+
except BrokenStdoutLoggingError:
|
204 |
+
# Bypass our logger and write any remaining messages to stderr
|
205 |
+
# because stdout no longer works.
|
206 |
+
print("ERROR: Pipe to stdout was broken", file=sys.stderr)
|
207 |
+
if level_number <= logging.DEBUG:
|
208 |
+
traceback.print_exc(file=sys.stderr)
|
209 |
+
|
210 |
+
return ERROR
|
211 |
+
except KeyboardInterrupt:
|
212 |
+
logger.critical("Operation cancelled by user")
|
213 |
+
logger.debug("Exception information:", exc_info=True)
|
214 |
+
|
215 |
+
return ERROR
|
216 |
+
except BaseException:
|
217 |
+
logger.critical("Exception:", exc_info=True)
|
218 |
+
|
219 |
+
return UNKNOWN_ERROR
|
220 |
+
finally:
|
221 |
+
self.handle_pip_version_check(options)
|
env/Lib/site-packages/pip/_internal/cli/cmdoptions.py
ADDED
@@ -0,0 +1,1024 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
shared options and groups
|
3 |
+
|
4 |
+
The principle here is to define options once, but *not* instantiate them
|
5 |
+
globally. One reason being that options with action='append' can carry state
|
6 |
+
between parses. pip parses general options twice internally, and shouldn't
|
7 |
+
pass on state. To be consistent, all options will follow this design.
|
8 |
+
"""
|
9 |
+
|
10 |
+
# The following comment should be removed at some point in the future.
|
11 |
+
# mypy: strict-optional=False
|
12 |
+
|
13 |
+
import os
|
14 |
+
import textwrap
|
15 |
+
import warnings
|
16 |
+
from functools import partial
|
17 |
+
from optparse import SUPPRESS_HELP, Option, OptionGroup, OptionParser, Values
|
18 |
+
from textwrap import dedent
|
19 |
+
from typing import Any, Callable, Dict, Optional, Tuple
|
20 |
+
|
21 |
+
from pip._vendor.packaging.utils import canonicalize_name
|
22 |
+
|
23 |
+
from pip._internal.cli.parser import ConfigOptionParser
|
24 |
+
from pip._internal.cli.progress_bars import BAR_TYPES
|
25 |
+
from pip._internal.exceptions import CommandError
|
26 |
+
from pip._internal.locations import USER_CACHE_DIR, get_src_prefix
|
27 |
+
from pip._internal.models.format_control import FormatControl
|
28 |
+
from pip._internal.models.index import PyPI
|
29 |
+
from pip._internal.models.target_python import TargetPython
|
30 |
+
from pip._internal.utils.hashes import STRONG_HASHES
|
31 |
+
from pip._internal.utils.misc import strtobool
|
32 |
+
|
33 |
+
|
34 |
+
def raise_option_error(parser, option, msg):
|
35 |
+
# type: (OptionParser, Option, str) -> None
|
36 |
+
"""
|
37 |
+
Raise an option parsing error using parser.error().
|
38 |
+
|
39 |
+
Args:
|
40 |
+
parser: an OptionParser instance.
|
41 |
+
option: an Option instance.
|
42 |
+
msg: the error text.
|
43 |
+
"""
|
44 |
+
msg = f"{option} error: {msg}"
|
45 |
+
msg = textwrap.fill(" ".join(msg.split()))
|
46 |
+
parser.error(msg)
|
47 |
+
|
48 |
+
|
49 |
+
def make_option_group(group, parser):
|
50 |
+
# type: (Dict[str, Any], ConfigOptionParser) -> OptionGroup
|
51 |
+
"""
|
52 |
+
Return an OptionGroup object
|
53 |
+
group -- assumed to be dict with 'name' and 'options' keys
|
54 |
+
parser -- an optparse Parser
|
55 |
+
"""
|
56 |
+
option_group = OptionGroup(parser, group["name"])
|
57 |
+
for option in group["options"]:
|
58 |
+
option_group.add_option(option())
|
59 |
+
return option_group
|
60 |
+
|
61 |
+
|
62 |
+
def check_install_build_global(options, check_options=None):
|
63 |
+
# type: (Values, Optional[Values]) -> None
|
64 |
+
"""Disable wheels if per-setup.py call options are set.
|
65 |
+
|
66 |
+
:param options: The OptionParser options to update.
|
67 |
+
:param check_options: The options to check, if not supplied defaults to
|
68 |
+
options.
|
69 |
+
"""
|
70 |
+
if check_options is None:
|
71 |
+
check_options = options
|
72 |
+
|
73 |
+
def getname(n):
|
74 |
+
# type: (str) -> Optional[Any]
|
75 |
+
return getattr(check_options, n, None)
|
76 |
+
|
77 |
+
names = ["build_options", "global_options", "install_options"]
|
78 |
+
if any(map(getname, names)):
|
79 |
+
control = options.format_control
|
80 |
+
control.disallow_binaries()
|
81 |
+
warnings.warn(
|
82 |
+
"Disabling all use of wheels due to the use of --build-option "
|
83 |
+
"/ --global-option / --install-option.",
|
84 |
+
stacklevel=2,
|
85 |
+
)
|
86 |
+
|
87 |
+
|
88 |
+
def check_dist_restriction(options, check_target=False):
|
89 |
+
# type: (Values, bool) -> None
|
90 |
+
"""Function for determining if custom platform options are allowed.
|
91 |
+
|
92 |
+
:param options: The OptionParser options.
|
93 |
+
:param check_target: Whether or not to check if --target is being used.
|
94 |
+
"""
|
95 |
+
dist_restriction_set = any(
|
96 |
+
[
|
97 |
+
options.python_version,
|
98 |
+
options.platforms,
|
99 |
+
options.abis,
|
100 |
+
options.implementation,
|
101 |
+
]
|
102 |
+
)
|
103 |
+
|
104 |
+
binary_only = FormatControl(set(), {":all:"})
|
105 |
+
sdist_dependencies_allowed = (
|
106 |
+
options.format_control != binary_only and not options.ignore_dependencies
|
107 |
+
)
|
108 |
+
|
109 |
+
# Installations or downloads using dist restrictions must not combine
|
110 |
+
# source distributions and dist-specific wheels, as they are not
|
111 |
+
# guaranteed to be locally compatible.
|
112 |
+
if dist_restriction_set and sdist_dependencies_allowed:
|
113 |
+
raise CommandError(
|
114 |
+
"When restricting platform and interpreter constraints using "
|
115 |
+
"--python-version, --platform, --abi, or --implementation, "
|
116 |
+
"either --no-deps must be set, or --only-binary=:all: must be "
|
117 |
+
"set and --no-binary must not be set (or must be set to "
|
118 |
+
":none:)."
|
119 |
+
)
|
120 |
+
|
121 |
+
if check_target:
|
122 |
+
if dist_restriction_set and not options.target_dir:
|
123 |
+
raise CommandError(
|
124 |
+
"Can not use any platform or abi specific options unless "
|
125 |
+
"installing via '--target'"
|
126 |
+
)
|
127 |
+
|
128 |
+
|
129 |
+
def _path_option_check(option, opt, value):
|
130 |
+
# type: (Option, str, str) -> str
|
131 |
+
return os.path.expanduser(value)
|
132 |
+
|
133 |
+
|
134 |
+
def _package_name_option_check(option, opt, value):
|
135 |
+
# type: (Option, str, str) -> str
|
136 |
+
return canonicalize_name(value)
|
137 |
+
|
138 |
+
|
139 |
+
class PipOption(Option):
|
140 |
+
TYPES = Option.TYPES + ("path", "package_name")
|
141 |
+
TYPE_CHECKER = Option.TYPE_CHECKER.copy()
|
142 |
+
TYPE_CHECKER["package_name"] = _package_name_option_check
|
143 |
+
TYPE_CHECKER["path"] = _path_option_check
|
144 |
+
|
145 |
+
|
146 |
+
###########
|
147 |
+
# options #
|
148 |
+
###########
|
149 |
+
|
150 |
+
help_ = partial(
|
151 |
+
Option,
|
152 |
+
"-h",
|
153 |
+
"--help",
|
154 |
+
dest="help",
|
155 |
+
action="help",
|
156 |
+
help="Show help.",
|
157 |
+
) # type: Callable[..., Option]
|
158 |
+
|
159 |
+
isolated_mode = partial(
|
160 |
+
Option,
|
161 |
+
"--isolated",
|
162 |
+
dest="isolated_mode",
|
163 |
+
action="store_true",
|
164 |
+
default=False,
|
165 |
+
help=(
|
166 |
+
"Run pip in an isolated mode, ignoring environment variables and user "
|
167 |
+
"configuration."
|
168 |
+
),
|
169 |
+
) # type: Callable[..., Option]
|
170 |
+
|
171 |
+
require_virtualenv = partial(
|
172 |
+
Option,
|
173 |
+
# Run only if inside a virtualenv, bail if not.
|
174 |
+
"--require-virtualenv",
|
175 |
+
"--require-venv",
|
176 |
+
dest="require_venv",
|
177 |
+
action="store_true",
|
178 |
+
default=False,
|
179 |
+
help=SUPPRESS_HELP,
|
180 |
+
) # type: Callable[..., Option]
|
181 |
+
|
182 |
+
verbose = partial(
|
183 |
+
Option,
|
184 |
+
"-v",
|
185 |
+
"--verbose",
|
186 |
+
dest="verbose",
|
187 |
+
action="count",
|
188 |
+
default=0,
|
189 |
+
help="Give more output. Option is additive, and can be used up to 3 times.",
|
190 |
+
) # type: Callable[..., Option]
|
191 |
+
|
192 |
+
no_color = partial(
|
193 |
+
Option,
|
194 |
+
"--no-color",
|
195 |
+
dest="no_color",
|
196 |
+
action="store_true",
|
197 |
+
default=False,
|
198 |
+
help="Suppress colored output.",
|
199 |
+
) # type: Callable[..., Option]
|
200 |
+
|
201 |
+
version = partial(
|
202 |
+
Option,
|
203 |
+
"-V",
|
204 |
+
"--version",
|
205 |
+
dest="version",
|
206 |
+
action="store_true",
|
207 |
+
help="Show version and exit.",
|
208 |
+
) # type: Callable[..., Option]
|
209 |
+
|
210 |
+
quiet = partial(
|
211 |
+
Option,
|
212 |
+
"-q",
|
213 |
+
"--quiet",
|
214 |
+
dest="quiet",
|
215 |
+
action="count",
|
216 |
+
default=0,
|
217 |
+
help=(
|
218 |
+
"Give less output. Option is additive, and can be used up to 3"
|
219 |
+
" times (corresponding to WARNING, ERROR, and CRITICAL logging"
|
220 |
+
" levels)."
|
221 |
+
),
|
222 |
+
) # type: Callable[..., Option]
|
223 |
+
|
224 |
+
progress_bar = partial(
|
225 |
+
Option,
|
226 |
+
"--progress-bar",
|
227 |
+
dest="progress_bar",
|
228 |
+
type="choice",
|
229 |
+
choices=list(BAR_TYPES.keys()),
|
230 |
+
default="on",
|
231 |
+
help=(
|
232 |
+
"Specify type of progress to be displayed ["
|
233 |
+
+ "|".join(BAR_TYPES.keys())
|
234 |
+
+ "] (default: %default)"
|
235 |
+
),
|
236 |
+
) # type: Callable[..., Option]
|
237 |
+
|
238 |
+
log = partial(
|
239 |
+
PipOption,
|
240 |
+
"--log",
|
241 |
+
"--log-file",
|
242 |
+
"--local-log",
|
243 |
+
dest="log",
|
244 |
+
metavar="path",
|
245 |
+
type="path",
|
246 |
+
help="Path to a verbose appending log.",
|
247 |
+
) # type: Callable[..., Option]
|
248 |
+
|
249 |
+
no_input = partial(
|
250 |
+
Option,
|
251 |
+
# Don't ask for input
|
252 |
+
"--no-input",
|
253 |
+
dest="no_input",
|
254 |
+
action="store_true",
|
255 |
+
default=False,
|
256 |
+
help="Disable prompting for input.",
|
257 |
+
) # type: Callable[..., Option]
|
258 |
+
|
259 |
+
proxy = partial(
|
260 |
+
Option,
|
261 |
+
"--proxy",
|
262 |
+
dest="proxy",
|
263 |
+
type="str",
|
264 |
+
default="",
|
265 |
+
help="Specify a proxy in the form [user:passwd@]proxy.server:port.",
|
266 |
+
) # type: Callable[..., Option]
|
267 |
+
|
268 |
+
retries = partial(
|
269 |
+
Option,
|
270 |
+
"--retries",
|
271 |
+
dest="retries",
|
272 |
+
type="int",
|
273 |
+
default=5,
|
274 |
+
help="Maximum number of retries each connection should attempt "
|
275 |
+
"(default %default times).",
|
276 |
+
) # type: Callable[..., Option]
|
277 |
+
|
278 |
+
timeout = partial(
|
279 |
+
Option,
|
280 |
+
"--timeout",
|
281 |
+
"--default-timeout",
|
282 |
+
metavar="sec",
|
283 |
+
dest="timeout",
|
284 |
+
type="float",
|
285 |
+
default=15,
|
286 |
+
help="Set the socket timeout (default %default seconds).",
|
287 |
+
) # type: Callable[..., Option]
|
288 |
+
|
289 |
+
|
290 |
+
def exists_action():
|
291 |
+
# type: () -> Option
|
292 |
+
return Option(
|
293 |
+
# Option when path already exist
|
294 |
+
"--exists-action",
|
295 |
+
dest="exists_action",
|
296 |
+
type="choice",
|
297 |
+
choices=["s", "i", "w", "b", "a"],
|
298 |
+
default=[],
|
299 |
+
action="append",
|
300 |
+
metavar="action",
|
301 |
+
help="Default action when a path already exists: "
|
302 |
+
"(s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.",
|
303 |
+
)
|
304 |
+
|
305 |
+
|
306 |
+
cert = partial(
|
307 |
+
PipOption,
|
308 |
+
"--cert",
|
309 |
+
dest="cert",
|
310 |
+
type="path",
|
311 |
+
metavar="path",
|
312 |
+
help=(
|
313 |
+
"Path to PEM-encoded CA certificate bundle. "
|
314 |
+
"If provided, overrides the default. "
|
315 |
+
"See 'SSL Certificate Verification' in pip documentation "
|
316 |
+
"for more information."
|
317 |
+
),
|
318 |
+
) # type: Callable[..., Option]
|
319 |
+
|
320 |
+
client_cert = partial(
|
321 |
+
PipOption,
|
322 |
+
"--client-cert",
|
323 |
+
dest="client_cert",
|
324 |
+
type="path",
|
325 |
+
default=None,
|
326 |
+
metavar="path",
|
327 |
+
help="Path to SSL client certificate, a single file containing the "
|
328 |
+
"private key and the certificate in PEM format.",
|
329 |
+
) # type: Callable[..., Option]
|
330 |
+
|
331 |
+
index_url = partial(
|
332 |
+
Option,
|
333 |
+
"-i",
|
334 |
+
"--index-url",
|
335 |
+
"--pypi-url",
|
336 |
+
dest="index_url",
|
337 |
+
metavar="URL",
|
338 |
+
default=PyPI.simple_url,
|
339 |
+
help="Base URL of the Python Package Index (default %default). "
|
340 |
+
"This should point to a repository compliant with PEP 503 "
|
341 |
+
"(the simple repository API) or a local directory laid out "
|
342 |
+
"in the same format.",
|
343 |
+
) # type: Callable[..., Option]
|
344 |
+
|
345 |
+
|
346 |
+
def extra_index_url():
|
347 |
+
# type: () -> Option
|
348 |
+
return Option(
|
349 |
+
"--extra-index-url",
|
350 |
+
dest="extra_index_urls",
|
351 |
+
metavar="URL",
|
352 |
+
action="append",
|
353 |
+
default=[],
|
354 |
+
help="Extra URLs of package indexes to use in addition to "
|
355 |
+
"--index-url. Should follow the same rules as "
|
356 |
+
"--index-url.",
|
357 |
+
)
|
358 |
+
|
359 |
+
|
360 |
+
no_index = partial(
|
361 |
+
Option,
|
362 |
+
"--no-index",
|
363 |
+
dest="no_index",
|
364 |
+
action="store_true",
|
365 |
+
default=False,
|
366 |
+
help="Ignore package index (only looking at --find-links URLs instead).",
|
367 |
+
) # type: Callable[..., Option]
|
368 |
+
|
369 |
+
|
370 |
+
def find_links():
|
371 |
+
# type: () -> Option
|
372 |
+
return Option(
|
373 |
+
"-f",
|
374 |
+
"--find-links",
|
375 |
+
dest="find_links",
|
376 |
+
action="append",
|
377 |
+
default=[],
|
378 |
+
metavar="url",
|
379 |
+
help="If a URL or path to an html file, then parse for links to "
|
380 |
+
"archives such as sdist (.tar.gz) or wheel (.whl) files. "
|
381 |
+
"If a local path or file:// URL that's a directory, "
|
382 |
+
"then look for archives in the directory listing. "
|
383 |
+
"Links to VCS project URLs are not supported.",
|
384 |
+
)
|
385 |
+
|
386 |
+
|
387 |
+
def trusted_host():
|
388 |
+
# type: () -> Option
|
389 |
+
return Option(
|
390 |
+
"--trusted-host",
|
391 |
+
dest="trusted_hosts",
|
392 |
+
action="append",
|
393 |
+
metavar="HOSTNAME",
|
394 |
+
default=[],
|
395 |
+
help="Mark this host or host:port pair as trusted, even though it "
|
396 |
+
"does not have valid or any HTTPS.",
|
397 |
+
)
|
398 |
+
|
399 |
+
|
400 |
+
def constraints():
|
401 |
+
# type: () -> Option
|
402 |
+
return Option(
|
403 |
+
"-c",
|
404 |
+
"--constraint",
|
405 |
+
dest="constraints",
|
406 |
+
action="append",
|
407 |
+
default=[],
|
408 |
+
metavar="file",
|
409 |
+
help="Constrain versions using the given constraints file. "
|
410 |
+
"This option can be used multiple times.",
|
411 |
+
)
|
412 |
+
|
413 |
+
|
414 |
+
def requirements():
|
415 |
+
# type: () -> Option
|
416 |
+
return Option(
|
417 |
+
"-r",
|
418 |
+
"--requirement",
|
419 |
+
dest="requirements",
|
420 |
+
action="append",
|
421 |
+
default=[],
|
422 |
+
metavar="file",
|
423 |
+
help="Install from the given requirements file. "
|
424 |
+
"This option can be used multiple times.",
|
425 |
+
)
|
426 |
+
|
427 |
+
|
428 |
+
def editable():
|
429 |
+
# type: () -> Option
|
430 |
+
return Option(
|
431 |
+
"-e",
|
432 |
+
"--editable",
|
433 |
+
dest="editables",
|
434 |
+
action="append",
|
435 |
+
default=[],
|
436 |
+
metavar="path/url",
|
437 |
+
help=(
|
438 |
+
"Install a project in editable mode (i.e. setuptools "
|
439 |
+
'"develop mode") from a local project path or a VCS url.'
|
440 |
+
),
|
441 |
+
)
|
442 |
+
|
443 |
+
|
444 |
+
def _handle_src(option, opt_str, value, parser):
|
445 |
+
# type: (Option, str, str, OptionParser) -> None
|
446 |
+
value = os.path.abspath(value)
|
447 |
+
setattr(parser.values, option.dest, value)
|
448 |
+
|
449 |
+
|
450 |
+
src = partial(
|
451 |
+
PipOption,
|
452 |
+
"--src",
|
453 |
+
"--source",
|
454 |
+
"--source-dir",
|
455 |
+
"--source-directory",
|
456 |
+
dest="src_dir",
|
457 |
+
type="path",
|
458 |
+
metavar="dir",
|
459 |
+
default=get_src_prefix(),
|
460 |
+
action="callback",
|
461 |
+
callback=_handle_src,
|
462 |
+
help="Directory to check out editable projects into. "
|
463 |
+
'The default in a virtualenv is "<venv path>/src". '
|
464 |
+
'The default for global installs is "<current dir>/src".',
|
465 |
+
) # type: Callable[..., Option]
|
466 |
+
|
467 |
+
|
468 |
+
def _get_format_control(values, option):
|
469 |
+
# type: (Values, Option) -> Any
|
470 |
+
"""Get a format_control object."""
|
471 |
+
return getattr(values, option.dest)
|
472 |
+
|
473 |
+
|
474 |
+
def _handle_no_binary(option, opt_str, value, parser):
|
475 |
+
# type: (Option, str, str, OptionParser) -> None
|
476 |
+
existing = _get_format_control(parser.values, option)
|
477 |
+
FormatControl.handle_mutual_excludes(
|
478 |
+
value,
|
479 |
+
existing.no_binary,
|
480 |
+
existing.only_binary,
|
481 |
+
)
|
482 |
+
|
483 |
+
|
484 |
+
def _handle_only_binary(option, opt_str, value, parser):
|
485 |
+
# type: (Option, str, str, OptionParser) -> None
|
486 |
+
existing = _get_format_control(parser.values, option)
|
487 |
+
FormatControl.handle_mutual_excludes(
|
488 |
+
value,
|
489 |
+
existing.only_binary,
|
490 |
+
existing.no_binary,
|
491 |
+
)
|
492 |
+
|
493 |
+
|
494 |
+
def no_binary():
|
495 |
+
# type: () -> Option
|
496 |
+
format_control = FormatControl(set(), set())
|
497 |
+
return Option(
|
498 |
+
"--no-binary",
|
499 |
+
dest="format_control",
|
500 |
+
action="callback",
|
501 |
+
callback=_handle_no_binary,
|
502 |
+
type="str",
|
503 |
+
default=format_control,
|
504 |
+
help="Do not use binary packages. Can be supplied multiple times, and "
|
505 |
+
'each time adds to the existing value. Accepts either ":all:" to '
|
506 |
+
'disable all binary packages, ":none:" to empty the set (notice '
|
507 |
+
"the colons), or one or more package names with commas between "
|
508 |
+
"them (no colons). Note that some packages are tricky to compile "
|
509 |
+
"and may fail to install when this option is used on them.",
|
510 |
+
)
|
511 |
+
|
512 |
+
|
513 |
+
def only_binary():
|
514 |
+
# type: () -> Option
|
515 |
+
format_control = FormatControl(set(), set())
|
516 |
+
return Option(
|
517 |
+
"--only-binary",
|
518 |
+
dest="format_control",
|
519 |
+
action="callback",
|
520 |
+
callback=_handle_only_binary,
|
521 |
+
type="str",
|
522 |
+
default=format_control,
|
523 |
+
help="Do not use source packages. Can be supplied multiple times, and "
|
524 |
+
'each time adds to the existing value. Accepts either ":all:" to '
|
525 |
+
'disable all source packages, ":none:" to empty the set, or one '
|
526 |
+
"or more package names with commas between them. Packages "
|
527 |
+
"without binary distributions will fail to install when this "
|
528 |
+
"option is used on them.",
|
529 |
+
)
|
530 |
+
|
531 |
+
|
532 |
+
platforms = partial(
|
533 |
+
Option,
|
534 |
+
"--platform",
|
535 |
+
dest="platforms",
|
536 |
+
metavar="platform",
|
537 |
+
action="append",
|
538 |
+
default=None,
|
539 |
+
help=(
|
540 |
+
"Only use wheels compatible with <platform>. Defaults to the "
|
541 |
+
"platform of the running system. Use this option multiple times to "
|
542 |
+
"specify multiple platforms supported by the target interpreter."
|
543 |
+
),
|
544 |
+
) # type: Callable[..., Option]
|
545 |
+
|
546 |
+
|
547 |
+
# This was made a separate function for unit-testing purposes.
|
548 |
+
def _convert_python_version(value):
|
549 |
+
# type: (str) -> Tuple[Tuple[int, ...], Optional[str]]
|
550 |
+
"""
|
551 |
+
Convert a version string like "3", "37", or "3.7.3" into a tuple of ints.
|
552 |
+
|
553 |
+
:return: A 2-tuple (version_info, error_msg), where `error_msg` is
|
554 |
+
non-None if and only if there was a parsing error.
|
555 |
+
"""
|
556 |
+
if not value:
|
557 |
+
# The empty string is the same as not providing a value.
|
558 |
+
return (None, None)
|
559 |
+
|
560 |
+
parts = value.split(".")
|
561 |
+
if len(parts) > 3:
|
562 |
+
return ((), "at most three version parts are allowed")
|
563 |
+
|
564 |
+
if len(parts) == 1:
|
565 |
+
# Then we are in the case of "3" or "37".
|
566 |
+
value = parts[0]
|
567 |
+
if len(value) > 1:
|
568 |
+
parts = [value[0], value[1:]]
|
569 |
+
|
570 |
+
try:
|
571 |
+
version_info = tuple(int(part) for part in parts)
|
572 |
+
except ValueError:
|
573 |
+
return ((), "each version part must be an integer")
|
574 |
+
|
575 |
+
return (version_info, None)
|
576 |
+
|
577 |
+
|
578 |
+
def _handle_python_version(option, opt_str, value, parser):
|
579 |
+
# type: (Option, str, str, OptionParser) -> None
|
580 |
+
"""
|
581 |
+
Handle a provided --python-version value.
|
582 |
+
"""
|
583 |
+
version_info, error_msg = _convert_python_version(value)
|
584 |
+
if error_msg is not None:
|
585 |
+
msg = "invalid --python-version value: {!r}: {}".format(
|
586 |
+
value,
|
587 |
+
error_msg,
|
588 |
+
)
|
589 |
+
raise_option_error(parser, option=option, msg=msg)
|
590 |
+
|
591 |
+
parser.values.python_version = version_info
|
592 |
+
|
593 |
+
|
594 |
+
python_version = partial(
|
595 |
+
Option,
|
596 |
+
"--python-version",
|
597 |
+
dest="python_version",
|
598 |
+
metavar="python_version",
|
599 |
+
action="callback",
|
600 |
+
callback=_handle_python_version,
|
601 |
+
type="str",
|
602 |
+
default=None,
|
603 |
+
help=dedent(
|
604 |
+
"""\
|
605 |
+
The Python interpreter version to use for wheel and "Requires-Python"
|
606 |
+
compatibility checks. Defaults to a version derived from the running
|
607 |
+
interpreter. The version can be specified using up to three dot-separated
|
608 |
+
integers (e.g. "3" for 3.0.0, "3.7" for 3.7.0, or "3.7.3"). A major-minor
|
609 |
+
version can also be given as a string without dots (e.g. "37" for 3.7.0).
|
610 |
+
"""
|
611 |
+
),
|
612 |
+
) # type: Callable[..., Option]
|
613 |
+
|
614 |
+
|
615 |
+
implementation = partial(
|
616 |
+
Option,
|
617 |
+
"--implementation",
|
618 |
+
dest="implementation",
|
619 |
+
metavar="implementation",
|
620 |
+
default=None,
|
621 |
+
help=(
|
622 |
+
"Only use wheels compatible with Python "
|
623 |
+
"implementation <implementation>, e.g. 'pp', 'jy', 'cp', "
|
624 |
+
" or 'ip'. If not specified, then the current "
|
625 |
+
"interpreter implementation is used. Use 'py' to force "
|
626 |
+
"implementation-agnostic wheels."
|
627 |
+
),
|
628 |
+
) # type: Callable[..., Option]
|
629 |
+
|
630 |
+
|
631 |
+
abis = partial(
|
632 |
+
Option,
|
633 |
+
"--abi",
|
634 |
+
dest="abis",
|
635 |
+
metavar="abi",
|
636 |
+
action="append",
|
637 |
+
default=None,
|
638 |
+
help=(
|
639 |
+
"Only use wheels compatible with Python abi <abi>, e.g. 'pypy_41'. "
|
640 |
+
"If not specified, then the current interpreter abi tag is used. "
|
641 |
+
"Use this option multiple times to specify multiple abis supported "
|
642 |
+
"by the target interpreter. Generally you will need to specify "
|
643 |
+
"--implementation, --platform, and --python-version when using this "
|
644 |
+
"option."
|
645 |
+
),
|
646 |
+
) # type: Callable[..., Option]
|
647 |
+
|
648 |
+
|
649 |
+
def add_target_python_options(cmd_opts):
|
650 |
+
# type: (OptionGroup) -> None
|
651 |
+
cmd_opts.add_option(platforms())
|
652 |
+
cmd_opts.add_option(python_version())
|
653 |
+
cmd_opts.add_option(implementation())
|
654 |
+
cmd_opts.add_option(abis())
|
655 |
+
|
656 |
+
|
657 |
+
def make_target_python(options):
|
658 |
+
# type: (Values) -> TargetPython
|
659 |
+
target_python = TargetPython(
|
660 |
+
platforms=options.platforms,
|
661 |
+
py_version_info=options.python_version,
|
662 |
+
abis=options.abis,
|
663 |
+
implementation=options.implementation,
|
664 |
+
)
|
665 |
+
|
666 |
+
return target_python
|
667 |
+
|
668 |
+
|
669 |
+
def prefer_binary():
|
670 |
+
# type: () -> Option
|
671 |
+
return Option(
|
672 |
+
"--prefer-binary",
|
673 |
+
dest="prefer_binary",
|
674 |
+
action="store_true",
|
675 |
+
default=False,
|
676 |
+
help="Prefer older binary packages over newer source packages.",
|
677 |
+
)
|
678 |
+
|
679 |
+
|
680 |
+
cache_dir = partial(
|
681 |
+
PipOption,
|
682 |
+
"--cache-dir",
|
683 |
+
dest="cache_dir",
|
684 |
+
default=USER_CACHE_DIR,
|
685 |
+
metavar="dir",
|
686 |
+
type="path",
|
687 |
+
help="Store the cache data in <dir>.",
|
688 |
+
) # type: Callable[..., Option]
|
689 |
+
|
690 |
+
|
691 |
+
def _handle_no_cache_dir(option, opt, value, parser):
|
692 |
+
# type: (Option, str, str, OptionParser) -> None
|
693 |
+
"""
|
694 |
+
Process a value provided for the --no-cache-dir option.
|
695 |
+
|
696 |
+
This is an optparse.Option callback for the --no-cache-dir option.
|
697 |
+
"""
|
698 |
+
# The value argument will be None if --no-cache-dir is passed via the
|
699 |
+
# command-line, since the option doesn't accept arguments. However,
|
700 |
+
# the value can be non-None if the option is triggered e.g. by an
|
701 |
+
# environment variable, like PIP_NO_CACHE_DIR=true.
|
702 |
+
if value is not None:
|
703 |
+
# Then parse the string value to get argument error-checking.
|
704 |
+
try:
|
705 |
+
strtobool(value)
|
706 |
+
except ValueError as exc:
|
707 |
+
raise_option_error(parser, option=option, msg=str(exc))
|
708 |
+
|
709 |
+
# Originally, setting PIP_NO_CACHE_DIR to a value that strtobool()
|
710 |
+
# converted to 0 (like "false" or "no") caused cache_dir to be disabled
|
711 |
+
# rather than enabled (logic would say the latter). Thus, we disable
|
712 |
+
# the cache directory not just on values that parse to True, but (for
|
713 |
+
# backwards compatibility reasons) also on values that parse to False.
|
714 |
+
# In other words, always set it to False if the option is provided in
|
715 |
+
# some (valid) form.
|
716 |
+
parser.values.cache_dir = False
|
717 |
+
|
718 |
+
|
719 |
+
no_cache = partial(
|
720 |
+
Option,
|
721 |
+
"--no-cache-dir",
|
722 |
+
dest="cache_dir",
|
723 |
+
action="callback",
|
724 |
+
callback=_handle_no_cache_dir,
|
725 |
+
help="Disable the cache.",
|
726 |
+
) # type: Callable[..., Option]
|
727 |
+
|
728 |
+
no_deps = partial(
|
729 |
+
Option,
|
730 |
+
"--no-deps",
|
731 |
+
"--no-dependencies",
|
732 |
+
dest="ignore_dependencies",
|
733 |
+
action="store_true",
|
734 |
+
default=False,
|
735 |
+
help="Don't install package dependencies.",
|
736 |
+
) # type: Callable[..., Option]
|
737 |
+
|
738 |
+
build_dir = partial(
|
739 |
+
PipOption,
|
740 |
+
"-b",
|
741 |
+
"--build",
|
742 |
+
"--build-dir",
|
743 |
+
"--build-directory",
|
744 |
+
dest="build_dir",
|
745 |
+
type="path",
|
746 |
+
metavar="dir",
|
747 |
+
help=SUPPRESS_HELP,
|
748 |
+
) # type: Callable[..., Option]
|
749 |
+
|
750 |
+
ignore_requires_python = partial(
|
751 |
+
Option,
|
752 |
+
"--ignore-requires-python",
|
753 |
+
dest="ignore_requires_python",
|
754 |
+
action="store_true",
|
755 |
+
help="Ignore the Requires-Python information.",
|
756 |
+
) # type: Callable[..., Option]
|
757 |
+
|
758 |
+
no_build_isolation = partial(
|
759 |
+
Option,
|
760 |
+
"--no-build-isolation",
|
761 |
+
dest="build_isolation",
|
762 |
+
action="store_false",
|
763 |
+
default=True,
|
764 |
+
help="Disable isolation when building a modern source distribution. "
|
765 |
+
"Build dependencies specified by PEP 518 must be already installed "
|
766 |
+
"if this option is used.",
|
767 |
+
) # type: Callable[..., Option]
|
768 |
+
|
769 |
+
|
770 |
+
def _handle_no_use_pep517(option, opt, value, parser):
|
771 |
+
# type: (Option, str, str, OptionParser) -> None
|
772 |
+
"""
|
773 |
+
Process a value provided for the --no-use-pep517 option.
|
774 |
+
|
775 |
+
This is an optparse.Option callback for the no_use_pep517 option.
|
776 |
+
"""
|
777 |
+
# Since --no-use-pep517 doesn't accept arguments, the value argument
|
778 |
+
# will be None if --no-use-pep517 is passed via the command-line.
|
779 |
+
# However, the value can be non-None if the option is triggered e.g.
|
780 |
+
# by an environment variable, for example "PIP_NO_USE_PEP517=true".
|
781 |
+
if value is not None:
|
782 |
+
msg = """A value was passed for --no-use-pep517,
|
783 |
+
probably using either the PIP_NO_USE_PEP517 environment variable
|
784 |
+
or the "no-use-pep517" config file option. Use an appropriate value
|
785 |
+
of the PIP_USE_PEP517 environment variable or the "use-pep517"
|
786 |
+
config file option instead.
|
787 |
+
"""
|
788 |
+
raise_option_error(parser, option=option, msg=msg)
|
789 |
+
|
790 |
+
# Otherwise, --no-use-pep517 was passed via the command-line.
|
791 |
+
parser.values.use_pep517 = False
|
792 |
+
|
793 |
+
|
794 |
+
use_pep517 = partial(
|
795 |
+
Option,
|
796 |
+
"--use-pep517",
|
797 |
+
dest="use_pep517",
|
798 |
+
action="store_true",
|
799 |
+
default=None,
|
800 |
+
help="Use PEP 517 for building source distributions "
|
801 |
+
"(use --no-use-pep517 to force legacy behaviour).",
|
802 |
+
) # type: Any
|
803 |
+
|
804 |
+
no_use_pep517 = partial(
|
805 |
+
Option,
|
806 |
+
"--no-use-pep517",
|
807 |
+
dest="use_pep517",
|
808 |
+
action="callback",
|
809 |
+
callback=_handle_no_use_pep517,
|
810 |
+
default=None,
|
811 |
+
help=SUPPRESS_HELP,
|
812 |
+
) # type: Any
|
813 |
+
|
814 |
+
install_options = partial(
|
815 |
+
Option,
|
816 |
+
"--install-option",
|
817 |
+
dest="install_options",
|
818 |
+
action="append",
|
819 |
+
metavar="options",
|
820 |
+
help="Extra arguments to be supplied to the setup.py install "
|
821 |
+
'command (use like --install-option="--install-scripts=/usr/local/'
|
822 |
+
'bin"). Use multiple --install-option options to pass multiple '
|
823 |
+
"options to setup.py install. If you are using an option with a "
|
824 |
+
"directory path, be sure to use absolute path.",
|
825 |
+
) # type: Callable[..., Option]
|
826 |
+
|
827 |
+
build_options = partial(
|
828 |
+
Option,
|
829 |
+
"--build-option",
|
830 |
+
dest="build_options",
|
831 |
+
metavar="options",
|
832 |
+
action="append",
|
833 |
+
help="Extra arguments to be supplied to 'setup.py bdist_wheel'.",
|
834 |
+
) # type: Callable[..., Option]
|
835 |
+
|
836 |
+
global_options = partial(
|
837 |
+
Option,
|
838 |
+
"--global-option",
|
839 |
+
dest="global_options",
|
840 |
+
action="append",
|
841 |
+
metavar="options",
|
842 |
+
help="Extra global options to be supplied to the setup.py "
|
843 |
+
"call before the install or bdist_wheel command.",
|
844 |
+
) # type: Callable[..., Option]
|
845 |
+
|
846 |
+
no_clean = partial(
|
847 |
+
Option,
|
848 |
+
"--no-clean",
|
849 |
+
action="store_true",
|
850 |
+
default=False,
|
851 |
+
help="Don't clean up build directories.",
|
852 |
+
) # type: Callable[..., Option]
|
853 |
+
|
854 |
+
pre = partial(
|
855 |
+
Option,
|
856 |
+
"--pre",
|
857 |
+
action="store_true",
|
858 |
+
default=False,
|
859 |
+
help="Include pre-release and development versions. By default, "
|
860 |
+
"pip only finds stable versions.",
|
861 |
+
) # type: Callable[..., Option]
|
862 |
+
|
863 |
+
disable_pip_version_check = partial(
|
864 |
+
Option,
|
865 |
+
"--disable-pip-version-check",
|
866 |
+
dest="disable_pip_version_check",
|
867 |
+
action="store_true",
|
868 |
+
default=False,
|
869 |
+
help="Don't periodically check PyPI to determine whether a new version "
|
870 |
+
"of pip is available for download. Implied with --no-index.",
|
871 |
+
) # type: Callable[..., Option]
|
872 |
+
|
873 |
+
|
874 |
+
def _handle_merge_hash(option, opt_str, value, parser):
|
875 |
+
# type: (Option, str, str, OptionParser) -> None
|
876 |
+
"""Given a value spelled "algo:digest", append the digest to a list
|
877 |
+
pointed to in a dict by the algo name."""
|
878 |
+
if not parser.values.hashes:
|
879 |
+
parser.values.hashes = {}
|
880 |
+
try:
|
881 |
+
algo, digest = value.split(":", 1)
|
882 |
+
except ValueError:
|
883 |
+
parser.error(
|
884 |
+
"Arguments to {} must be a hash name " # noqa
|
885 |
+
"followed by a value, like --hash=sha256:"
|
886 |
+
"abcde...".format(opt_str)
|
887 |
+
)
|
888 |
+
if algo not in STRONG_HASHES:
|
889 |
+
parser.error(
|
890 |
+
"Allowed hash algorithms for {} are {}.".format( # noqa
|
891 |
+
opt_str, ", ".join(STRONG_HASHES)
|
892 |
+
)
|
893 |
+
)
|
894 |
+
parser.values.hashes.setdefault(algo, []).append(digest)
|
895 |
+
|
896 |
+
|
897 |
+
hash = partial(
|
898 |
+
Option,
|
899 |
+
"--hash",
|
900 |
+
# Hash values eventually end up in InstallRequirement.hashes due to
|
901 |
+
# __dict__ copying in process_line().
|
902 |
+
dest="hashes",
|
903 |
+
action="callback",
|
904 |
+
callback=_handle_merge_hash,
|
905 |
+
type="string",
|
906 |
+
help="Verify that the package's archive matches this "
|
907 |
+
"hash before installing. Example: --hash=sha256:abcdef...",
|
908 |
+
) # type: Callable[..., Option]
|
909 |
+
|
910 |
+
|
911 |
+
require_hashes = partial(
|
912 |
+
Option,
|
913 |
+
"--require-hashes",
|
914 |
+
dest="require_hashes",
|
915 |
+
action="store_true",
|
916 |
+
default=False,
|
917 |
+
help="Require a hash to check each requirement against, for "
|
918 |
+
"repeatable installs. This option is implied when any package in a "
|
919 |
+
"requirements file has a --hash option.",
|
920 |
+
) # type: Callable[..., Option]
|
921 |
+
|
922 |
+
|
923 |
+
list_path = partial(
|
924 |
+
PipOption,
|
925 |
+
"--path",
|
926 |
+
dest="path",
|
927 |
+
type="path",
|
928 |
+
action="append",
|
929 |
+
help="Restrict to the specified installation path for listing "
|
930 |
+
"packages (can be used multiple times).",
|
931 |
+
) # type: Callable[..., Option]
|
932 |
+
|
933 |
+
|
934 |
+
def check_list_path_option(options):
|
935 |
+
# type: (Values) -> None
|
936 |
+
if options.path and (options.user or options.local):
|
937 |
+
raise CommandError("Cannot combine '--path' with '--user' or '--local'")
|
938 |
+
|
939 |
+
|
940 |
+
list_exclude = partial(
|
941 |
+
PipOption,
|
942 |
+
"--exclude",
|
943 |
+
dest="excludes",
|
944 |
+
action="append",
|
945 |
+
metavar="package",
|
946 |
+
type="package_name",
|
947 |
+
help="Exclude specified package from the output",
|
948 |
+
) # type: Callable[..., Option]
|
949 |
+
|
950 |
+
|
951 |
+
no_python_version_warning = partial(
|
952 |
+
Option,
|
953 |
+
"--no-python-version-warning",
|
954 |
+
dest="no_python_version_warning",
|
955 |
+
action="store_true",
|
956 |
+
default=False,
|
957 |
+
help="Silence deprecation warnings for upcoming unsupported Pythons.",
|
958 |
+
) # type: Callable[..., Option]
|
959 |
+
|
960 |
+
|
961 |
+
use_new_feature = partial(
|
962 |
+
Option,
|
963 |
+
"--use-feature",
|
964 |
+
dest="features_enabled",
|
965 |
+
metavar="feature",
|
966 |
+
action="append",
|
967 |
+
default=[],
|
968 |
+
choices=["2020-resolver", "fast-deps", "in-tree-build"],
|
969 |
+
help="Enable new functionality, that may be backward incompatible.",
|
970 |
+
) # type: Callable[..., Option]
|
971 |
+
|
972 |
+
use_deprecated_feature = partial(
|
973 |
+
Option,
|
974 |
+
"--use-deprecated",
|
975 |
+
dest="deprecated_features_enabled",
|
976 |
+
metavar="feature",
|
977 |
+
action="append",
|
978 |
+
default=[],
|
979 |
+
choices=["legacy-resolver"],
|
980 |
+
help=("Enable deprecated functionality, that will be removed in the future."),
|
981 |
+
) # type: Callable[..., Option]
|
982 |
+
|
983 |
+
|
984 |
+
##########
|
985 |
+
# groups #
|
986 |
+
##########
|
987 |
+
|
988 |
+
general_group = {
|
989 |
+
"name": "General Options",
|
990 |
+
"options": [
|
991 |
+
help_,
|
992 |
+
isolated_mode,
|
993 |
+
require_virtualenv,
|
994 |
+
verbose,
|
995 |
+
version,
|
996 |
+
quiet,
|
997 |
+
log,
|
998 |
+
no_input,
|
999 |
+
proxy,
|
1000 |
+
retries,
|
1001 |
+
timeout,
|
1002 |
+
exists_action,
|
1003 |
+
trusted_host,
|
1004 |
+
cert,
|
1005 |
+
client_cert,
|
1006 |
+
cache_dir,
|
1007 |
+
no_cache,
|
1008 |
+
disable_pip_version_check,
|
1009 |
+
no_color,
|
1010 |
+
no_python_version_warning,
|
1011 |
+
use_new_feature,
|
1012 |
+
use_deprecated_feature,
|
1013 |
+
],
|
1014 |
+
} # type: Dict[str, Any]
|
1015 |
+
|
1016 |
+
index_group = {
|
1017 |
+
"name": "Package Index Options",
|
1018 |
+
"options": [
|
1019 |
+
index_url,
|
1020 |
+
extra_index_url,
|
1021 |
+
no_index,
|
1022 |
+
find_links,
|
1023 |
+
],
|
1024 |
+
} # type: Dict[str, Any]
|
env/Lib/site-packages/pip/_internal/cli/command_context.py
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from contextlib import ExitStack, contextmanager
|
2 |
+
from typing import ContextManager, Iterator, TypeVar
|
3 |
+
|
4 |
+
_T = TypeVar("_T", covariant=True)
|
5 |
+
|
6 |
+
|
7 |
+
class CommandContextMixIn:
|
8 |
+
def __init__(self):
|
9 |
+
# type: () -> None
|
10 |
+
super().__init__()
|
11 |
+
self._in_main_context = False
|
12 |
+
self._main_context = ExitStack()
|
13 |
+
|
14 |
+
@contextmanager
|
15 |
+
def main_context(self):
|
16 |
+
# type: () -> Iterator[None]
|
17 |
+
assert not self._in_main_context
|
18 |
+
|
19 |
+
self._in_main_context = True
|
20 |
+
try:
|
21 |
+
with self._main_context:
|
22 |
+
yield
|
23 |
+
finally:
|
24 |
+
self._in_main_context = False
|
25 |
+
|
26 |
+
def enter_context(self, context_provider):
|
27 |
+
# type: (ContextManager[_T]) -> _T
|
28 |
+
assert self._in_main_context
|
29 |
+
|
30 |
+
return self._main_context.enter_context(context_provider)
|