Home
last modified time | relevance | path

Searched full:venv (Results 1 – 25 of 173) sorted by relevance

1234567

/external/python/httplib2/script/
Dtest40 if [[ ! -d ./venv-27 ]] ; then
41 virtualenv --python=python2.7 ./venv-27
43 if [[ ! -d ./venv-36 ]] ; then
44 virtualenv --python=python3.6 ./venv-36
47 ./venv-27/bin/pip install -e . -r requirements-test.txt
48 ./venv-27/bin/pytest ${test_flags[@]}
49 ./venv-36/bin/pip install -e . -r requirements-test.txt
50 ./venv-36/bin/pytest ${test_flags[@]}
53 # ./venv-27/bin/flake8 python2/
54 # ./venv-36/bin/flake8 python3/ tests/
[all …]
Drelease90 local venv=./venv-release
91 if [[ ! -d "$venv" ]] ; then
92 virtualenv $venv
93 $venv/bin/pip install -U check-manifest pip 'setuptools>=43.0' wheel twine
95 $venv/bin/python setup.py clean --all
96 $venv/bin/python setup.py sdist bdist_wheel
97 $venv/bin/check-manifest || echo "FIXME check-manifest" >&2
100 $venv/bin/twine upload dist/* || exit 1
/external/python/cpython3/Lib/test/
Dtest_venv.py2 Test harness for the venv module.
22 import venv
31 # another venv, so no need to skip tests that require venv.create().
35 'cannot run venv.create from within a venv on this platform')
49 """Base class for venv tests."""
89 """Test venv module functionality."""
100 self.run_with_capture(venv.create, self.env_dir)
127 builder = venv.EnvBuilder()
135 builder = venv.EnvBuilder(prompt='My prompt')
143 builder = venv.EnvBuilder(prompt='.')
[all …]
/external/python/cpython3/Doc/using/
Dvenv-create.inc1 Creation of :ref:`virtual environments <venv-def>` is done by executing the
2 command ``venv``::
4 python3 -m venv /path/to/new/virtual/environment
9 was run (a common name for the target directory is ``.venv``). It also creates
23 The use of ``venv`` is now recommended for creating virtual environments.
27 On Windows, invoke the ``venv`` command as follows::
29 c:\>c:\Python35\python -m venv c:\path\to\myenv
34 c:\>python -m venv c:\path\to\myenv
38 usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
98 ``include-system-site-packages`` key, set to ``true`` if ``venv`` is
[all …]
/external/python/cpython3/Tools/peg_generator/
DMakefile8 VENVDIR ?= ./venv
46 venv: target
47 $(PYTHON) -m venv $(VENVDIR)
50 @echo "The venv has been created in the $(VENVDIR) directory"
72 time_compile: venv data/xxl.py
75 time_parse: venv data/xxl.py
80 time_old_compile: venv data/xxl.py
83 time_old_parse: venv data/xxl.py
86 time_peg_dir: venv
94 time_stdlib: $(CPYTHON) venv
/external/python/cpython3/.azure-pipelines/
Dposix-steps.yml27 - script: ./python -m venv venv && ./venv/bin/python -m pip install -U coverage
30 - script: ./venv/bin/python -m test.pythoninfo
45 COMMAND: xvfb-run ./venv/bin/python
47 COMMAND: ./venv/bin/python
49 - script: ./venv/bin/python -m coverage xml
52 …- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash) -y .github/codecov…
/external/python/cpython3/
D.travis.yml54 - make venv PYTHON=python
69 - make -C Doc/ PYTHON=../python venv
90 # Need a venv that can parse covered code.
91 - ./python -m venv venv
92 - ./venv/bin/python -m pip install -U coverage
93 - ./venv/bin/python -m pip install -r Misc/requirements-test.txt
94 - ./venv/bin/python -m test.pythoninfo
97 …- xvfb-run ./venv/bin/python -m coverage run --branch --pylib -m test --fail-env-changed -uall,-cp…
100 - source ./venv/bin/activate
/external/fonttools/Doc/source/
Ddeveloper.rst12 …d creating a virtual environment, using the Python 3 `venv <https://docs.python.org/3/library/venv
18 # create new virtual environment called e.g. 'fonttools-venv', or anything you like
19 python -m venv fonttools-venv
22 . fonttools-venv/bin/activate
25 fonttools-venv\Scripts\activate.bat
/external/python/cpython3/.github/workflows/
Dcoverage.yml50 ./python -m venv .venv
51 source ./.venv/bin/activate
57 source ./.venv/bin/activate &&
70 source ./.venv/bin/activate
/external/python/cpython3/PC/layout/support/
Doptions.py26 "venv": {"help": "venv"},
50 "venv",
65 "venv",
81 "venv",
/external/grpc-grpc/tools/run_tests/helper_scripts/
Dbuild_python.sh60 function venv() { function
100 VENV=${2:-$(venv "$PYTHON")}
133 $PYTHON -m virtualenv "$VENV"
134 VENV_PYTHON=$(script_realpath "$VENV/$VENV_RELATIVE_PYTHON")
151 case "$VENV" in
/external/protobuf/python/
Drelease.sh14 virtualenv --no-site-packages -p `which $PYTHON` test-venv
18 touch test-venv/bin/protoc
19 chmod +x test-venv/bin/protoc
21 source test-venv/bin/activate
24 rm -fr test-venv
/external/python/cpython3/Doc/
DMakefile8 VENVDIR = ./venv
25 autobuild-dev autobuild-stable venv
30 @echo " venv to create a venv with necessary tools"
67 echo "Please run 'make venv' to install local copies."; \
143 venv: target
144 $(PYTHON) -m venv $(VENVDIR)
147 @echo "The venv has been created in the $(VENVDIR) directory"
/external/fonttools/
D.gitignore34 .venv
36 venv/
39 venv.bak/
DREADME.rst41 Python 3 `venv <https://docs.python.org/3/library/venv.html>`__ module.
49 # create new virtual environment called e.g. 'fonttools-venv', or anything you like
50 python -m virtualenv fonttools-venv
53 . fonttools-venv/bin/activate
56 fonttools-venv\Scripts\activate.bat
/external/python/cryptography/
DJenkinsfile154 virtualenv .venv
155 source .venv/bin/activate
167 virtualenv .venv
168 source .venv/bin/activate
234 virtualenv .venv
235 source .venv/bin/activate
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/helper_scripts/
Dbuild_python.sh66 function venv() { function
108 VENV=${2:-$(venv "$PYTHON")}
149 $PYTHON -m virtualenv "$VENV"
150 VENV_PYTHON=$(script_realpath "$VENV/$VENV_RELATIVE_PYTHON")
177 case "$VENV" in
/external/python/cpython3/Doc/tutorial/
Dvenv.rst2 .. _tut-venv:
39 :mod:`venv`. :mod:`venv` will usually install the most recent version of
45 place it, and run the :mod:`venv` module as a script with the directory path::
47 python3 -m venv tutorial-env
53 A common directory location for a virtual environment is ``.venv``.
/external/freetype/docs/
DREADME1 After saying `make refdoc' or `make refdoc-venv' the `reference/' directory
14 2. Using `make refdoc-venv' (requires internet access):
17 - Make target with `make refdoc-venv'.
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/artifacts/
Dbuild_artifact_python.sh141 "${PYTHON}" -m virtualenv venv || { "${PYTHON}" -m pip install virtualenv==16.7.9 && "${PYTHON}" -m…
142 venv/bin/python -m pip install "twine<=2.0"
143 venv/bin/python -m twine check dist/* tools/distrib/python/grpcio_tools/dist/*
144 rm -rf venv/
/external/tensorflow/tensorflow/tools/ci_build/nightly_release/windows/
Dupload_nightly_pip.sh22 python3.9 -m venv venv && source venv/bin/activate
/external/python/cpython3/Doc/library/
Dvenv.rst1 :mod:`venv` --- Creation of virtual environments
4 .. module:: venv
12 **Source code:** :source:`Lib/venv/`
18 The :mod:`venv` module provides support for creating lightweight "virtual
36 .. include:: /using/venv-create.inc
128 * ``upgrade_deps`` -- Update the base venv modules to the latest on PyPI
197 Upgrades the core venv dependency packages (currently ``pip`` and
278 import venv
280 class ExtendedEnvBuilder(venv.EnvBuilder):
/external/python/cryptography/.jenkins/
DJenkinsfile-cryptography-wheel-builder110 virtualenv .venv -p ${pythonPath[version]}
111 source .venv/bin/activate
124 otool -L `find .venv -name '_openssl*.so'`
125 lipo -info `find .venv -name '*.so'`
126 otool -L `find .venv -name '_openssl*.so'` | grep -vG "libcrypto\\|libssl"
/external/python/cpython3/Lib/venv/scripts/common/
DActivate.ps119 surrounded by parentheses and followed by a single space (ie. '(.venv) ').
31 Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
200 …ompt based on parent's directory's name. (Is the directory name passed to venv module when creatin…
214 # that there is an activated venv.
239 # Add the venv to the PATH
/external/pigweed/docs/
Dpython_build.rst256 `virtual environment <https://docs.python.org/3/tutorial/venv.html>`_. The
257 default venv to use may be specified using a GN build arg. The venv may be
259 of packages based on which venv is in use.
262 the current venv. If the selected virtual environment is active, packages are
263 installed directly into it. If the venv is not active, it is activated before
269 Currently, all actions occur in the active venv without consulting

1234567