__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
"""Primary application entrypoint.
"""
# The following comment should be removed at some point in the future.
# mypy: disallow-untyped-defs=False
from __future__ import absolute_import
import locale
import logging
import os
import sys
from pip._internal.cli.autocompletion import autocomplete
from pip._internal.cli.main_parser import parse_command
from pip._internal.commands import create_command
from pip._internal.exceptions import PipError
from pip._internal.utils import deprecation
logger = logging.getLogger(__name__)
def main(args=None):
if args is None:
args = sys.argv[1:]
# Configure our deprecation warnings to be sent through loggers
deprecation.install_warning_logger()
autocomplete()
try:
cmd_name, cmd_args = parse_command(args)
except PipError as exc:
sys.stderr.write("ERROR: %s" % exc)
sys.stderr.write(os.linesep)
sys.exit(1)
# Needed for locale.getpreferredencoding(False) to work
# in pip._internal.utils.encoding.auto_decode
try:
locale.setlocale(locale.LC_ALL, '')
except locale.Error as e:
# setlocale can apparently crash if locale are uninitialized
logger.debug("Ignoring error %s when setting locale", e)
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
return command.main(cmd_args)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| cli | Folder | 0755 |
|
|
| commands | Folder | 0755 |
|
|
| distributions | Folder | 0755 |
|
|
| models | Folder | 0755 |
|
|
| network | Folder | 0755 |
|
|
| operations | Folder | 0755 |
|
|
| req | Folder | 0755 |
|
|
| utils | Folder | 0755 |
|
|
| vcs | Folder | 0755 |
|
|
| __init__.py | File | 80 B | 0644 |
|
| build_env.py | File | 7.34 KB | 0644 |
|
| cache.py | File | 8.17 KB | 0644 |
|
| collector.py | File | 17.58 KB | 0644 |
|
| configuration.py | File | 13.88 KB | 0644 |
|
| download.py | File | 20.32 KB | 0644 |
|
| exceptions.py | File | 10.01 KB | 0644 |
|
| index.py | File | 36.02 KB | 0644 |
|
| legacy_resolve.py | File | 16.83 KB | 0644 |
|
| locations.py | File | 5.29 KB | 0644 |
|
| main.py | File | 1.33 KB | 0644 |
|
| pep425tags.py | File | 15.57 KB | 0644 |
|
| pyproject.py | File | 6.34 KB | 0644 |
|
| self_outdated_check.py | File | 7.75 KB | 0644 |
|
| wheel.py | File | 42.07 KB | 0644 |
|