Searched full:ensurepip (Results 1 – 25 of 126) sorted by relevance
123456
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_ensurepip.py | 10 import ensurepip 11 import ensurepip._uninstall 24 with (unittest.mock.patch.object(ensurepip, '_PACKAGES', None), 25 unittest.mock.patch.object(ensurepip, '_WHEEL_PKG_DIR', tmpdir)): 26 self.assertEqual(ensurepip.version(), '1.2.3b1') 30 with (unittest.mock.patch.object(ensurepip, '_PACKAGES', None), 31 unittest.mock.patch.object(ensurepip, '_WHEEL_PKG_DIR', None)): 32 packages = ensurepip._get_packages() 35 self.assertEqual(ensurepip._PIP_VERSION, ensurepip.version()) 52 with (unittest.mock.patch.object(ensurepip, '_PACKAGES', None), [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_ensurepip.py | 9 import ensurepip 10 import ensurepip._uninstall 16 self.assertEqual(ensurepip._PIP_VERSION, ensurepip.version()) 22 run_pip_patch = mock.patch("ensurepip._run_pip") 29 os_patch = mock.patch("ensurepip.os") 40 ensurepip.bootstrap() 54 ensurepip.bootstrap(root="/foo/bar/") 66 ensurepip.bootstrap(user=True) 77 ensurepip.bootstrap(upgrade=True) 88 ensurepip.bootstrap(verbosity=1) [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | ensurepip.rst | 1 :mod:`ensurepip` --- Bootstrapping the ``pip`` installer 4 .. module:: ensurepip 10 **Source code:** :source:`Lib/ensurepip` 14 The :mod:`ensurepip` package provides support for bootstrapping the ``pip`` 50 python -m ensurepip 54 is at least as recent as the one available in ``ensurepip``, pass the 57 python -m ensurepip --upgrade 72 X.Y stands for the version of Python used to invoke ``ensurepip``). The 88 :mod:`ensurepip` exposes two functions for programmatic use: 125 .. audit-event:: ensurepip.bootstrap root ensurepip.bootstrap
|
/aosp_15_r20/external/python/cpython2/Doc/library/ |
D | ensurepip.rst | 1 :mod:`ensurepip` --- Bootstrapping the ``pip`` installer 4 .. module:: ensurepip 10 The :mod:`ensurepip` package provides support for bootstrapping the ``pip`` 36 :pep:`477`: Backport ensurepip (PEP 453) to Python 2.7 47 python -m ensurepip 51 is at least as recent as the one bundled with ``ensurepip``, pass the 54 python -m ensurepip --upgrade 69 (where X.Y stands for the version of Python used to invoke ``ensurepip``). The 86 :mod:`ensurepip` exposes two functions for programmatic use:
|
/aosp_15_r20/external/python/cpython3/Lib/ensurepip/ |
D | __init__.py | 20 # Packages bundled in ensurepip._bundled have wheel_name set. 28 # install the ensurepip._bundled package. 152 sys.audit("ensurepip.bootstrap", root) 161 # pip 1.5+ allows ensurepip to request that some of those be left out 177 wheel_path = resources.files("ensurepip") / "_bundled" / wheel_name 219 print(f"ensurepip will only uninstall a matching version " 237 parser = argparse.ArgumentParser(prog="python -m ensurepip")
|
D | _uninstall.py | 4 import ensurepip 9 parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall") 13 version="pip {}".format(ensurepip.version()), 27 return ensurepip._uninstall_helper(verbosity=args.verbosity)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ensurepip/ |
D | __init__.py | 20 # Packages bundled in ensurepip._bundled have wheel_name set. 28 # install the ensurepip._bundled package. 152 sys.audit("ensurepip.bootstrap", root) 161 # pip 1.5+ allows ensurepip to request that some of those be left out 177 wheel_path = resources.files("ensurepip") / "_bundled" / wheel_name 219 print(f"ensurepip will only uninstall a matching version " 237 parser = argparse.ArgumentParser(prog="python -m ensurepip")
|
D | _uninstall.py | 4 import ensurepip 9 parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall") 13 version="pip {}".format(ensurepip.version()), 27 return ensurepip._uninstall_helper(verbosity=args.verbosity)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ensurepip/ |
D | __init__.py | 20 # Packages bundled in ensurepip._bundled have wheel_name set. 28 # install the ensurepip._bundled package. 152 sys.audit("ensurepip.bootstrap", root) 161 # pip 1.5+ allows ensurepip to request that some of those be left out 177 wheel_path = resources.files("ensurepip") / "_bundled" / wheel_name 219 print(f"ensurepip will only uninstall a matching version " 237 parser = argparse.ArgumentParser(prog="python -m ensurepip")
|
D | _uninstall.py | 4 import ensurepip 9 parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall") 13 version="pip {}".format(ensurepip.version()), 27 return ensurepip._uninstall_helper(verbosity=args.verbosity)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ensurepip/ |
D | __init__.py | 20 # Packages bundled in ensurepip._bundled have wheel_name set. 28 # install the ensurepip._bundled package. 152 sys.audit("ensurepip.bootstrap", root) 161 # pip 1.5+ allows ensurepip to request that some of those be left out 177 wheel_path = resources.files("ensurepip") / "_bundled" / wheel_name 219 print(f"ensurepip will only uninstall a matching version " 237 parser = argparse.ArgumentParser(prog="python -m ensurepip")
|
D | _uninstall.py | 4 import ensurepip 9 parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall") 13 version="pip {}".format(ensurepip.version()), 27 return ensurepip._uninstall_helper(verbosity=args.verbosity)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ensurepip/ |
D | __init__.py | 20 # Packages bundled in ensurepip._bundled have wheel_name set. 28 # install the ensurepip._bundled package. 152 sys.audit("ensurepip.bootstrap", root) 161 # pip 1.5+ allows ensurepip to request that some of those be left out 177 wheel_path = resources.files("ensurepip") / "_bundled" / wheel_name 219 print(f"ensurepip will only uninstall a matching version " 237 parser = argparse.ArgumentParser(prog="python -m ensurepip")
|
D | _uninstall.py | 4 import ensurepip 9 parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall") 13 version="pip {}".format(ensurepip.version()), 27 return ensurepip._uninstall_helper(verbosity=args.verbosity)
|
/aosp_15_r20/external/python/cpython2/ |
D | Makefile.pre.in | 151 # ensurepip options 152 ENSUREPIP= @ENSUREPIP@ 920 if test "x$(ENSUREPIP)" != "xno" ; then \ 921 case $(ENSUREPIP) in \ 922 upgrade) ensurepip="--upgrade" ;; \ 923 install|*) ensurepip="" ;; \ 925 $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ 926 $$ensurepip --root=$(DESTDIR)/ ; \ 931 if test "x$(ENSUREPIP)" != "xno" ; then \ 932 case $(ENSUREPIP) in \ [all …]
|
/aosp_15_r20/external/python/cpython2/Tools/scripts/ |
D | checkpip.py | 3 Checks that the version of the projects bundled in ensurepip are the latest 6 import ensurepip 15 for project, version in ensurepip._PROJECTS: 23 print("The latest version of {} on PyPI is {}, but ensurepip "
|
/aosp_15_r20/external/python/cpython2/Lib/ensurepip/ |
D | _uninstall.py | 4 import ensurepip 9 parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall") 13 version="pip {}".format(ensurepip.version()), 27 return ensurepip._uninstall_helper(verbosity=args.verbosity)
|
D | __init__.py | 88 # pip 1.5+ allows ensurepip to request that some of those be left out 104 "ensurepip", 140 msg = ("ensurepip will only uninstall a matching version " 157 parser = argparse.ArgumentParser(prog="python -m ensurepip")
|
/aosp_15_r20/external/python/cpython3/Tools/scripts/ |
D | checkpip.py | 3 Checks that the version of the projects bundled in ensurepip are the latest 6 import ensurepip 15 for project, version in ensurepip._PROJECTS: 24 print("The latest version of {} on PyPI is {}, but ensurepip "
|
D | verify_ensurepip_wheels.py | 4 Compare checksums for wheels in :mod:`ensurepip` against the Cheeseshop. 18 ENSURE_PIP_ROOT = Path(__file__).parent.parent.parent / "Lib/ensurepip" 45 # Find the version of the package used by ensurepip 52 f"No {package_name} version found in Lib/ensurepip/__init__.py.",
|
/aosp_15_r20/external/python/cpython3/.github/workflows/ |
D | verify-ensurepip-wheels.yml | 7 - 'Lib/ensurepip/_bundled/**' 8 - '.github/workflows/verify-ensurepip-wheels.yml' 12 - 'Lib/ensurepip/_bundled/**' 13 - '.github/workflows/verify-ensurepip-wheels.yml'
|
/aosp_15_r20/external/grpc-grpc/tools/dockerfile/test/python_debian11_default_x64/ |
H A D | Dockerfile | 87 RUN python3.7 -m ensurepip && \ 108 RUN python3.8 -m ensurepip && \ 129 RUN python3.10 -m ensurepip && \ 151 RUN python3.11 -m ensurepip && \ 173 RUN python3.12 -m ensurepip && \
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/dockerfile/test/python_debian11_default_x64/ |
D | Dockerfile | 78 RUN python3.6 -m ensurepip && \ 99 RUN python3.7 -m ensurepip && \ 120 RUN python3.8 -m ensurepip && \ 141 RUN python3.10 -m ensurepip && \
|
/aosp_15_r20/external/python/cpython3/Doc/using/ |
D | configure.rst | 114 Directory of wheel packages used by the :mod:`ensurepip` module 120 :mod:`ensurepip._bundled` package. 200 .. cmdoption:: --with-ensurepip=[upgrade|install|no] 202 Select the :mod:`ensurepip` command run on Python installation: 204 * ``upgrade`` (default): run ``python -m ensurepip --altinstall --upgrade`` 206 * ``install``: run ``python -m ensurepip --altinstall`` command; 207 * ``no``: don't run ensurepip;
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/_distutils/command/ |
D | _framework_compat.py | 17 except ensurepip and venv. 23 ensurepip = os.environ.get("ENSUREPIP_OPTIONS") 24 return PY39 and framework and homebrew and not venv and not ensurepip
|
123456