Searched +full:python3 +full:- +full:virtualenv (Results 1 – 25 of 134) sorted by relevance
123456
| /external/grpc-grpc/tools/buildgen/ |
| D | generate_projects.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 set -e 19 export TEST=${TEST:-false} 21 YAML_OK=$(python3 -c "import yaml; print(yaml.__version__.split('.') >= ['5', '4', '1'])") 26 python3 -m pip install --upgrade --ignore-installed PyYAML==5.3.1 --user 32 rm -f build_autogenerated.yaml 33 python3 tools/buildgen/extract_metadata_from_bazel_xml.py 37 # /usr/local/google/home/rbellevi/dev/tmp/grpc/venv/bin/python3: No module named virtualenv 38 # Generate xds-protos 39 if [[ ! -d generate_projects_virtual_environment ]]; then [all …]
|
| /external/grpc-grpc/tools/distrib/ |
| D | black_code.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 18 ACTION="${1:-}" 19 [[ $ACTION == '' ]] || [[ $ACTION == '--diff' ]] || [[ $ACTION == '--check' ]] 32 VIRTUALENV=black_virtual_environment 34 python3 -m virtualenv $VIRTUALENV -p $(which python3) 35 PYTHON=${VIRTUALENV}/bin/python 36 "$PYTHON" -m pip install black==23.3.0 38 $PYTHON -m black --config=black.toml $ACTION "${DIRS[@]}"
|
| D | pylint_code.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 19 IGNORE_PATTERNS=--ignore-patterns='.*pb2\.py,.*pb2_grpc\.py' 39 VIRTUALENV=python_pylint_venv 40 python3 -m virtualenv $VIRTUALENV -p $(which python3) 42 PYTHON=$VIRTUALENV/bin/python 44 $PYTHON -m pip install --upgrade pip==19.3.1 47 $PYTHON -m pip install --upgrade astroid==2.3.3 \ 54 $PYTHON -m pylint --rcfile=.pylintrc -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1 58 $PYTHON -m pylint --rcfile=.pylintrc-tests -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1 [all …]
|
| D | isort_code.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 18 ACTION=${1:---overwrite-in-place} 19 [[ $ACTION == '--overwrite-in-place' ]] || [[ $ACTION == '--diff' ]] 21 if [[ $ACTION == '--diff' ]]; then 22 ACTION="--diff --check" 36 VIRTUALENV=isort_virtual_environment 38 python3 -m virtualenv $VIRTUALENV 39 PYTHON=${VIRTUALENV}/bin/python 40 "$PYTHON" -m pip install isort==5.9.2 [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/distrib/ |
| D | yapf_code.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 18 ACTION=${1:---in-place} 19 [[ $ACTION == '--in-place' ]] || [[ $ACTION == '--diff' ]] 32 VIRTUALENV=yapf_virtual_environment 34 python3 -m virtualenv $VIRTUALENV -p $(which python3) 35 PYTHON=${VIRTUALENV}/bin/python 36 "$PYTHON" -m pip install yapf==0.30.0 38 $PYTHON -m yapf $ACTION --parallel --recursive --style=setup.cfg "${DIRS[@]}" -e "**/site-packages/…
|
| D | pylint_code.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 19 IGNORE_PATTERNS=--ignore-patterns='.*pb2\.py,.*pb2_grpc\.py' 41 VIRTUALENV=python_pylint_venv 42 python3 -m virtualenv $VIRTUALENV -p $(which python3) 44 PYTHON=$VIRTUALENV/bin/python 46 $PYTHON -m pip install --upgrade pip==19.3.1 49 $PYTHON -m pip install --upgrade astroid==2.3.3 pylint==2.2.2 "isort>=4.3.0,<5.0.0" 53 $PYTHON -m pylint --rcfile=.pylintrc -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1 57 $PYTHON -m pylint --rcfile=.pylintrc-tests -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1 [all …]
|
| D | isort_code.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 18 ACTION=${1:---overwrite-in-place} 19 [[ $ACTION == '--overwrite-in-place' ]] || [[ $ACTION == '--diff' ]] 21 if [[ $ACTION == '--diff' ]]; then 22 ACTION="--diff --check" 37 VIRTUALENV=isort_virtual_environment 39 python3 -m virtualenv $VIRTUALENV 40 PYTHON=${VIRTUALENV}/bin/python 41 "$PYTHON" -m pip install isort==5.9.2 [all …]
|
| /external/armnn/delegate/ |
| D | DelegateQuickStartGuide.md | 14 armnn_delegate = tflite.load_delegate( library="<path-to-armnn-binaries>/libarmnnDelegate.so", 15 … options={"backends": "CpuAcc,GpuAcc,CpuRef", "logging-severity":"info"}) 17 interpreter = tflite.Interpreter(model_path="<your-armnn-repo-dir>/delegate/python/test/test_data/m… 38 Pre-requisites: 40 * python3 (Depends on TfLite version) 41 * virtualenv 45 ….md). Otherwise, you can download the binaries [here](https://github.com/ARM-software/armnn/releas… 51 …g a virtual environment for this tutorial. For the following code to work python3 is needed. Please 55 # Install python3 (We ended up with python3.5.3) and virtualenv 56 sudo apt-get install python3-pip [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/dockerfile/distribtest/python_ubuntu1604_x64/ |
| D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 RUN apt-get update -y && apt-get install -y python3 python3-pip 19 # Necessary to fix virtualenv compatibility problems with python2.7 20 RUN python3 -m pip install --upgrade pip==19.3.1 22 # Ubuntu's python-pip package installs pip to /usr/bin, whereas the upgraded 24 # this will all be replaced with python3. 25 RUN /usr/local/bin/pip install virtualenv
|
| /external/tensorflow/tensorflow/tools/ci_build/builds/ |
| D | pip_new.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 28 # TF_PYTHON_VERSION: ( python3.6 | python3.7 | python3.8 ) 30 # e.g. TF_BUILD_FLAGS="--config=opt" 32 # e.g. TF_TEST_FLAGS="--verbose_failures=true \ 33 # --build_tests_only --test_output=errors" 35 # input tags for `--test_filter_tags` flag. 36 # e.g. TF_TEST_FILTER_TAGS="no_pip,-nomac,no_oss" 39 # -//tensorflow/contrib/... \ 40 # -//tensorflow/python/..." 43 # e.g. IS_NIGHTLY=0 # non-nightly runs [all …]
|
| /external/python/httplib2/script/ |
| D | test | 2 set -eux 3 # By default, run tests with pytest-forked plugin, 4 # disable in terminal for debugging, you may add --forked 5 flag_forked="--forked" 6 if [[ -z "${CONTINUOUS_INTEGRATION-}" ]] && [[ -t 1 ]] ; then 17 if [[ -n "${CONTINUOUS_INTEGRATION-}" ]] ; then 18 case "${test_group-}" in 23 flake8 python3/ tests/ 33 pip install -e . 34 httplib2_test_still_run_skipped=1 pytest --fulltrace -k test_303 $@ tests/ || true [all …]
|
| /external/python/absl-py/docs/ |
| D | Makefile | 5 # $ sudo apt-get install virtualenv python3-venv 6 # $ virtualenv myproject # or python3 -m venv myproject 11 # $ pip install sphinxcontrib-apidoc 12 # $ pip install sphinx-rtd-theme 26 SPHINXBUILD ?= sphinx-build 27 SPHINXAPIDOC ?= sphinx-apidoc 32 @$(SPHINXAPIDOC) -o $(RSTDIR) $(SOURCEDIR) $(APIDOC_EXCLUDE) 37 @$(SPHINXBUILD) -b html -c $(RSTDIR) $(RSTDIR) $(HTMLDIR)
|
| /external/python/bumble/rust/ |
| D | README.md | 13 Set up a virtualenv for Bumble, or otherwise have an isolated Python environment 18 it's necessary to explicitly point to the virtualenv's `site-packages`. Use 19 suitable virtualenv paths as appropriate for your OS, as seen here running 23 PYTHONPATH=..:~/.virtualenvs/bumble/lib/python3.10/site-packages/ \ 24 cargo run --example battery_client -- \ 25 --transport android-netsim --target-addr F0:F1:F2:F3:F4:F5 36 PYTHONPATH=..:[virtualenv site-packages] \ 37 cargo run --features bumble-tools --bin bumble -- --help 42 - `firmware realtek download`: download Realtek firmware for various chipsets so that it can be aut… 43 - `usb probe`: show USB devices, highlighting the ones usable for Bluetooth [all …]
|
| /external/tensorflow/tensorflow/tools/ci_build/install/ |
| D | install_pip_packages.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 set -e 20 wget https://bootstrap.pypa.io/get-pip.py 21 python3.6 get-pip.py 22 rm -f get-pip.py 24 # Install pip packages from whl files to avoid the time-consuming process of 32 # absl-py, which uses install_requires notation introduced in setuptools 20.5. 33 pip3 install --upgrade setuptools==39.1.0 35 pip3 install virtualenv 38 pip3 install --upgrade six==1.12.0 [all …]
|
| D | install_python3.6_pip_packages.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # Install packages required by Python3.6 build 21 # fkrull/deadsnakes is for Python3.6 22 add-apt-repository -y ppa:fkrull/deadsnakes 24 apt-get update 25 apt-get upgrade 28 apt-get install python-dev 30 apt-get install libbz2-dev 32 apt-get install libncurses5 libncurses5-dev 33 apt-get install libncursesw5 libncursesw5-dev [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/internal_ci/linux/ |
| D | grpc_xds_ruby_test_in_docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 set -ex -o igncr || set -ex 19 mkdir -p /var/local/git 22 && git submodule update --init --reference /var/local/jenkins/grpc/${name} \ 26 python3 -m pip install virtualenv 27 VIRTUAL_ENV=$(mktemp -d) 28 python3 -m virtualenv "$VIRTUAL_ENV" -p python3 30 "$PYTHON" -m pip install --upgrade pip==19.3.1 31 "$PYTHON" -m pip install --upgrade grpcio-tools google-api-python-client google-auth-httplib2 oauth… 37 mkdir -p "$PROTO_DEST_DIR" [all …]
|
| D | grpc_xds_bazel_test_in_docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 set -ex -o igncr || set -ex 19 mkdir -p /var/local/git 22 && git submodule update --init --reference /var/local/jenkins/grpc/${name} \ 26 python3 -m pip install virtualenv 27 VIRTUAL_ENV=$(mktemp -d) 28 python3 -m virtualenv "$VIRTUAL_ENV" -p python3 30 "$PYTHON" -m pip install --upgrade pip==19.3.1 31 # TODO(sergiitk): Unpin grpcio-tools when a version of xds-protos 33 "$PYTHON" -m pip install --upgrade grpcio grpcio-tools==1.48.1 google-api-python-client google-auth… [all …]
|
| D | grpc_xds_bazel_python_test_in_docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 set -ex -o igncr || set -ex 19 mkdir -p /var/local/git 22 && git submodule update --init --reference /var/local/jenkins/grpc/${name} \ 26 python3 -m pip install virtualenv 27 VIRTUAL_ENV=$(mktemp -d) 28 python3 -m virtualenv "$VIRTUAL_ENV" -p python3 30 "$PYTHON" -m pip install --upgrade pip==19.3.1 31 # TODO(sergiitk): Unpin grpcio-tools when a version of xds-protos 33 "$PYTHON" -m pip install --upgrade grpcio-tools==1.48.1 google-api-python-client google-auth-httpli… [all …]
|
| /external/python/pycparser/ |
| D | TODO.txt | 2 ---- 5 -------------- 8 - Make sure _build_tables was run in pycparser/ 9 - If PLY version changes, note it in README and ply/LICENSE 10 - Run tox tests 18 Now create a new virtualenv and in it install the tarball with 20 interpreter of this virtualenv; run pycparser tests from this virtualenv. 22 After this it's OK to rerun `python3.6 -m twine upload dist/*` to push to PyPI 25 - Tag in git. When pushing to GitHub, git push --tags 28 ---- [all …]
|
| /external/grpc-grpc/tools/internal_ci/linux/ |
| D | grpc_xds_bazel_test_in_docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 set -ex -o igncr || set -ex 19 mkdir -p /var/local/git 20 git clone -b master --single-branch --depth=1 https://github.com/grpc/grpc.git /var/local/git/grpc 23 python3 -m pip install virtualenv 24 VIRTUAL_ENV=$(mktemp -d) 25 python3 -m virtualenv "$VIRTUAL_ENV" -p python3 27 "$PYTHON" -m pip install --upgrade pip==19.3.1 28 # TODO(sergiitk): Unpin grpcio-tools when a version of xds-protos 30 "$PYTHON" -m pip install --upgrade grpcio grpcio-tools==1.48.1 google-api-python-client google-auth… [all …]
|
| D | grpc_xds_bazel_python_test_in_docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 set -ex -o igncr || set -ex 20 mkdir -p /var/local/git 21 git clone -b master --single-branch --depth=1 https://github.com/grpc/grpc.git /var/local/git/grpc 24 python3 -m pip install virtualenv 25 VIRTUAL_ENV=$(mktemp -d) 26 python3 -m virtualenv "$VIRTUAL_ENV" -p python3 28 "$PYTHON" -m pip install --upgrade pip==19.3.1 29 # TODO(sergiitk): Unpin grpcio-tools when a version of xds-protos 31 "$PYTHON" -m pip install --upgrade grpcio-tools==1.48.1 google-api-python-client google-auth-httpli… [all …]
|
| /external/pigweed/pw_env_setup/py/pw_env_setup/ |
| D | env_setup.py | 9 # https://www.apache.org/licenses/LICENSE-2.0 38 # If we're running oxidized, filesystem-centric import hacks won't work. In that 62 import pw_env_setup # pylint: disable=unused-import 66 # pylint: disable=wrong-import-position 168 # TODO(mohrr) remove disable=useless-object-inheritance once in Python 3. 169 # pylint: disable=useless-object-inheritance 170 # pylint: disable=too-many-instance-attributes 171 # pylint: disable=too-many-arguments 207 self._virtualenv_root = os.path.join(self._install_dir, 'pigweed-venv') 302 # However, other tools may use it, so we double-check that it's correct. [all …]
|
| /external/fmtlib/doc/ |
| D | build.py | 1 #!/usr/bin/env python3 25 def create_build_env(venv_dir='virtualenv'): 26 # Create virtualenv. 28 check_call(['python3', '-m', 'venv', venv_dir]) 34 # See: https://github.com/sphinx-doc/sphinx/issues/9777 37 # See: https://github.com/sphinx-doc/sphinx/issues/10291 48 cmd = ['doxygen', '-'] 86 '''.format(include_dir, doxyxml_dir).encode('UTF-8')) 87 out = out.decode('utf-8') 105 main_versions = reversed(versions[-3:]) [all …]
|
| /external/grpc-grpc/templates/tools/dockerfile/ |
| D | run_tests_python_deps_pep668.include | 7 RUN apt-get update && apt-get install -y ${'\\'} 8 python3 ${'\\'} 9 python3-pip ${'\\'} 10 python3-setuptools ${'\\'} 11 python3-yaml ${'\\'} 12 && apt-get clean 16 # --break-system-packages is to workaround that. We should look into using 17 # virtualenv in Dockerfile though. 18 RUN python3 -m pip install --break-system-packages --upgrade pip==19.3.1 22 RUN python3 -m pip install six==1.16.0
|
| /external/rust/crates/grpcio-sys/grpc/tools/dockerfile/distribtest/python_dev_ubuntu1804_x64/ |
| D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 RUN apt-get update -y && apt-get install -y python3 python3-pip 19 RUN apt-get install -y build-essential 20 RUN apt-get install -y python3-dev 22 RUN python3 -m pip install virtualenv
|
123456