Searched full:ensurepip (Results 1 – 25 of 79) sorted by relevance
1234
| /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 …]
|
| D | test_venv.py | 8 import ensurepip 456 # ensurepip is different enough from a normal pip invocation 459 # to check that ensurepip (and hence venv) ignores it. 502 expected_version = "pip {}".format(ensurepip.version()) 511 # It seems ensurepip._uninstall calls subprocesses which do not 517 '-m', 'ensurepip._uninstall'])
|
| /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 …]
|
| /external/python/cpython3/Doc/library/ |
| D | ensurepip.rst | 1 :mod:`ensurepip` --- Bootstrapping the ``pip`` installer 4 .. module:: ensurepip 12 The :mod:`ensurepip` package provides support for bootstrapping the ``pip`` 47 python -m ensurepip 51 is at least as recent as the one available in ``ensurepip``, pass the 54 python -m ensurepip --upgrade 69 X.Y stands for the version of Python used to invoke ``ensurepip``). The 85 :mod:`ensurepip` exposes two functions for programmatic use: 122 .. audit-event:: ensurepip.bootstrap root ensurepip.bootstrap
|
| /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:
|
| /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 "
|
| /external/python/cpython3/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 | 21 # Packages bundled in ensurepip._bundled have wheel_name set. 29 # install the ensurepip._bundled package. 143 sys.audit("ensurepip.bootstrap", root) 152 # pip 1.5+ allows ensurepip to request that some of those be left out 167 from ensurepip import _bundled 210 print(f"ensurepip will only uninstall a matching version " 228 parser = argparse.ArgumentParser(prog="python -m ensurepip")
|
| D | __main__.py | 1 import ensurepip 5 sys.exit(ensurepip._main())
|
| /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 "
|
| /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")
|
| D | __main__.py | 1 import ensurepip 5 sys.exit(ensurepip._main())
|
| /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 …]
|
| /external/python/cpython3/Tools/msi/pip/ |
| D | pip.wxs | 28 …datePipCommandLine" Property="UpdatePip" Value='"[PYTHON_EXE]" -E -s -m ensurepip -U --default-pip… 29 …ePipCommandLine" Property="UpdatePip" Value='"[PYTHON_EXE]" -E -s -B -m ensurepip._uninstall' Exec…
|
| /external/python/cpython3/Doc/using/ |
| D | configure.rst | 109 Directory of wheel packages used by the :mod:`ensurepip` module 115 :mod:`ensurepip._bundled` package. 130 .. cmdoption:: --with-ensurepip=[upgrade|install|no] 132 Select the :mod:`ensurepip` command run on Python installation: 134 * ``upgrade`` (default): run ``python -m ensurepip --altinstall --upgrade`` 136 * ``install``: run ``python -m ensurepip --altinstall`` command; 137 * ``no``: don't run ensurepip;
|
| /external/oss-fuzz/projects/mercurial/ |
| D | build.sh | 33 # installing ensurepip takes a while with MSAN instrumentation, so 35 FLAGS+=("--without-ensurepip")
|
| /external/oss-fuzz/projects/cpython3/ |
| D | build.sh | 18 # installing ensurepip takes a while with MSAN instrumentation, so 20 FLAGS+=("--without-ensurepip")
|
| /external/python/cpython3/Mac/ |
| D | Makefile.in | 8 ENSUREPIP=@ENSUREPIP@ 106 -if test "x$(ENSUREPIP)" != "xno" ; then \ 166 -if test "x$(ENSUREPIP)" != "xno" ; then \
|
| /external/oss-fuzz/projects/django/ |
| D | build.sh | 33 # installing ensurepip takes a while with MSAN instrumentation, so 35 FLAGS+=("--without-ensurepip")
|
| /external/python/cpython2/Tools/nuget/ |
| D | make_pkg.proj | 30 …B -c "import sys; sys.path.append(r'$(PySourcePath)\Lib'); import ensurepip; ensurepip._main()"</P…
|
| /external/oss-fuzz/projects/python3-libraries/ |
| D | build.sh | 33 # installing ensurepip takes a while with MSAN instrumentation, so 35 FLAGS+=("--without-ensurepip")
|
| /external/rust/crates/grpcio-sys/grpc/tools/dockerfile/test/python_stretch_default_x64/ |
| D | Dockerfile | 83 RUN python3.6 -m ensurepip && \ 103 RUN python3.8 -m ensurepip && \
|
| /external/python/cpython2/Mac/ |
| D | Makefile.in | 6 ENSUREPIP=@ENSUREPIP@ 97 -if test "x$(ENSUREPIP)" != "xno" ; then \ 130 -if test "x$(ENSUREPIP)" != "xno" ; then \
|
| /external/python/cpython3/ |
| D | Makefile.pre.in | 148 # Variable used by ensurepip 200 # ensurepip options 201 ENSUREPIP= @ENSUREPIP@ 1268 if test "x$(ENSUREPIP)" != "xno" ; then \ 1269 case $(ENSUREPIP) in \ 1270 upgrade) ensurepip="--upgrade" ;; \ 1271 install|*) ensurepip="" ;; \ 1273 $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ 1274 $$ensurepip --root=$(DESTDIR)/ ; \ 1278 if test "x$(ENSUREPIP)" != "xno" ; then \ [all …]
|
1234