/external/python/pyee/ |
D | Makefile | 4 python3 -m venv venv 5 if [ -d venv ]; then . ./venv/bin/activate; fi; pip install pip wheel --upgrade 6 if [ -d venv ]; then . ./venv/bin/activate; fi; pip install -r requirements.txt 7 if [ -d venv ]; then . ./venv/bin/activate; fi; pip install -r requirements_dev.txt 8 if [ -d venv ]; then . ./venv/bin/activate; fi; pip install -e . 12 if [ -d venv ]; then . ./venv/bin/activate; fi; python setup.py check 13 if [ -d venv ]; then . ./venv/bin/activate; fi; python setup.py sdist 14 if [ -d venv ]; then . ./venv/bin/activate; fi; python setup.py bdist_wheel --universal 17 if [ -d venv ]; then . ./venv/bin/activate; fi; twine upload dist/* 20 if [ -d venv ]; then . ./venv/bin/activate; fi; npm run pyright [all …]
|
/external/python/setuptools/setuptools/tests/ |
D | test_distutils_adoption.py | 35 def find_distutils(venv, imports='distutils', env=None, **kwargs): argument 38 return popen_text(venv.run)(cmd, env=win_sr(env), **kwargs) 41 def count_meta_path(venv, env=None): argument 49 return int(popen_text(venv.run)(cmd, env=win_sr(env))) 52 def test_distutils_stdlib(venv): argument 57 assert venv.name not in find_distutils(venv, env=env).split(os.sep) 58 assert count_meta_path(venv, env=env) == 0 61 def test_distutils_local_with_setuptools(venv): argument 66 loc = find_distutils(venv, imports='setuptools, distutils', env=env) 67 assert venv.name in loc.split(os.sep) [all …]
|
D | test_virtualenv.py | 17 def pytest_virtualenv_works(venv): argument 22 venv_prefix = venv.run(["python" , "-c", "import sys; print(sys.prefix)"]).strip() 75 venv = venv_without_setuptools 76 venv.run(["pip", "install", "-U", "wheel"]) 78 venv.run(["python", "-m", "pip", "install", "-U", pip_version, "--retries=1"]) 81 venv.run(["python", "-c", "import setuptools"]) 84 venv.run(["pip", "install", str(setuptools_wheel)]) 86 venv.run(["pip", "install", "--no-cache-dir", "--upgrade", str(setuptools_sdist)]) 89 def _check_test_command_install_requirements(venv, tmpdir): argument 143 venv.run(cmd, cwd=str(tmpdir)) [all …]
|
D | test_editable_install.py | 10 def venv(tmp_path, setuptools_wheel): function 97 def test_editable_with_pyproject(tmp_path, venv, setup_script): argument 103 cmd = [venv.exe(), "-m", "pip", "install", 108 cmd = [venv.exe(), "-m", "mypkg"]
|
/external/python/httplib2/script/ |
D | test | 40 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[@]} 58 ./venv-36/bin/python setup.py sdist
|
D | release | 90 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/timeout-decorator/ |
D | Makefile | 2 venv: target 3 virtualenv venv 6 develop: venv 7 venv/bin/pip install -e . -r requirements-testing.txt tox 11 -rm -rf venv
|
/external/python/cpython3/Doc/using/ |
D | venv-create.inc | 1 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/Lib/test/ |
D | test_venv.py | 21 import venv 99 self.run_with_capture(venv.create, self.env_dir) 126 builder = venv.EnvBuilder() 134 builder = venv.EnvBuilder(prompt='My prompt') 142 builder = venv.EnvBuilder(prompt='.') 151 builder = venv.EnvBuilder() 187 self.run_with_capture(venv.create, self.env_dir) 232 venv.create(self.env_dir) 239 builder = venv.EnvBuilder(clear=True) 259 self.assertRaises((ValueError, OSError), venv.create, self.env_dir) [all …]
|
/external/python/cpython3/Tools/peg_generator/ |
D | Makefile | 8 VENVDIR ?= ./venv 46 venv: target 47 $(PYTHON) -m venv $(VENVDIR) 72 time_compile: venv data/xxl.py 75 time_parse: venv data/xxl.py 78 time_peg_dir: venv 86 time_stdlib: $(CPYTHON) venv
|
/external/pigweed/pw_build/python_dist/ |
D | setup.bat | 17 python3 -m venv %~dp0python-venv 20 %~dp0python-venv\Scripts\python.exe -m pip install --upgrade pip 24 …for %%f in (%~dp0python_wheels\*) do %~dp0python-venv\Scripts\python.exe -m pip install -c %~dp0co… 26 …for %%f in (%~dp0python_wheels\*) do %~dp0python-venv\Scripts\python.exe -m pip install --find-lin…
|
D | README.md | 9 script will create a virtual environment called `python-venv`. 17 installation over an existing venv: 43 python-venv/bin/python -m <MODULE_NAME> [OPTIONS] 48 python-venv\Scripts\python -m <MODULE_NAME> [OPTIONS]
|
/external/python/typing/docs/ |
D | Makefile | 10 VENVDIR = ./venv 15 .PHONY: help clean build html text venv Makefile 37 venv: target 38 $(PYTHON) -m venv $(VENVDIR)
|
/external/protobuf/python/ |
D | release.sh | 14 virtualenv -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/cronet/third_party/protobuf/python/ |
D | release.sh | 14 virtualenv -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/portpicker/ |
D | package.sh | 4 python3 -m venv build/venv 5 . build/venv/bin/activate
|
D | test.sh | 4 python3 -m venv build/venv 5 . build/venv/bin/activate
|
/external/tensorflow/tensorflow/tools/ci_build/rel/macos/ |
D | cpu_py38_nonpip.sh | 29 python -m venv .tf-venv && source .tf-venv/bin/activate
|
D | cpu_py39_nonpip.sh | 29 python -m venv .tf-venv && source .tf-venv/bin/activate
|
D | cpu_py37_nonpip.sh | 29 python -m venv .tf-venv && source .tf-venv/bin/activate
|
D | cpu_py310_nonpip.sh | 32 python -m venv .tf-venv && source .tf-venv/bin/activate
|
/external/tensorflow/tensorflow/tools/ci_build/nightly_release/windows/ |
D | upload_nightly_pip.sh | 22 python3.9 -m venv venv && source venv/bin/activate
|
/external/fonttools/ |
D | .gitignore | 35 .venv 37 venv/ 40 venv.bak/
|
/external/python/bumble/docs/mkdocs/src/development/ |
D | python_environments.md | 12 ## venv section in PYTHON ENVIRONMENTS 14 `venv` is a standard module that is included with python. 15 Visit the [`venv` documentation](https://docs.python.org/3/library/venv.html) page for details.
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/artifacts/ |
D | build_artifact_python.sh | 206 …"${PYTHON}" -m virtualenv venv || { "${PYTHON}" -m pip install virtualenv==16.7.9 && "${PYTHON}" -… 207 venv/bin/python -m pip install "twine<=2.0" 208 venv/bin/python -m twine check dist/* tools/distrib/python/grpcio_tools/dist/* 209 rm -rf venv/
|