X7ROOT File Manager
Current Path:
/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/utils
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
pip
/
_internal
/
utils
/
ðŸ“
..
📄
__init__.py
(0 B)
ðŸ“
__pycache__
📄
_log.py
(1015 B)
📄
appdirs.py
(1.63 KB)
📄
compat.py
(1.84 KB)
📄
compatibility_tags.py
(5.25 KB)
📄
datetime.py
(242 B)
📄
deprecation.py
(3.55 KB)
📄
direct_url_helpers.py
(3.13 KB)
📄
distutils_args.py
(1.09 KB)
📄
egg_link.py
(2.15 KB)
📄
encoding.py
(1.14 KB)
📄
entrypoints.py
(2.91 KB)
📄
filesystem.py
(5 KB)
📄
filetypes.py
(716 B)
📄
glibc.py
(3.04 KB)
📄
hashes.py
(4.7 KB)
📄
inject_securetransport.py
(795 B)
📄
logging.py
(11.36 KB)
📄
misc.py
(21.11 KB)
📄
models.py
(1.17 KB)
📄
packaging.py
(2.06 KB)
📄
setuptools_build.py
(5.52 KB)
📄
subprocess.py
(8.98 KB)
📄
temp_dir.py
(7.52 KB)
📄
unpacking.py
(8.61 KB)
📄
urls.py
(1.72 KB)
📄
virtualenv.py
(3.38 KB)
📄
wheel.py
(4.44 KB)
Editing: distutils_args.py
from getopt import GetoptError, getopt from typing import Dict, List _options = [ "exec-prefix=", "home=", "install-base=", "install-data=", "install-headers=", "install-lib=", "install-platlib=", "install-purelib=", "install-scripts=", "prefix=", "root=", "user", ] def parse_distutils_args(args: List[str]) -> Dict[str, str]: """Parse provided arguments, returning an object that has the matched arguments. Any unknown arguments are ignored. """ result = {} for arg in args: try: parsed_opt, _ = getopt(args=[arg], shortopts="", longopts=_options) except GetoptError: # We don't care about any other options, which here may be # considered unrecognized since our option list is not # exhaustive. continue if not parsed_opt: continue option = parsed_opt[0] name_from_parsed = option[0][2:].replace("-", "_") value_from_parsed = option[1] or "true" result[name_from_parsed] = value_from_parsed return result
Upload File
Create Folder