mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[REF] fix precommit
This commit is contained in:
committed by
Darío Lodeiros
parent
587aac7f96
commit
66a985eb36
11
get-pip.py
11
get-pip.py
@@ -28,18 +28,20 @@ if this_python < min_version:
|
||||
message_parts = [
|
||||
"This script does not work on Python {}.{}".format(*this_python),
|
||||
"The minimum supported Python version is {}.{}.".format(*min_version),
|
||||
"Please use https://bootstrap.pypa.io/pip/{}.{}/get-pip.py instead.".format(*this_python),
|
||||
"Please use https://bootstrap.pypa.io/pip/{}.{}/get-pip.py instead.".format(
|
||||
*this_python
|
||||
),
|
||||
]
|
||||
print("ERROR: " + " ".join(message_parts))
|
||||
print("ERROR: " + " ".join(message_parts)) # pylint: disable=print-used
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
import argparse
|
||||
import importlib
|
||||
import os.path
|
||||
import pkgutil
|
||||
import shutil
|
||||
import tempfile
|
||||
import argparse
|
||||
import importlib
|
||||
from base64 import b85decode
|
||||
|
||||
|
||||
@@ -113,6 +115,7 @@ def bootstrap(tmpdir):
|
||||
# Execute the included pip and use it to install the latest pip and
|
||||
# setuptools from PyPI
|
||||
from pip._internal.cli.main import main as pip_entry_point
|
||||
|
||||
args = determine_pip_install_arguments()
|
||||
sys.exit(pip_entry_point(args))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user