/third_party/PyYAML/ |
D | Makefile | 4 PYTHON=/usr/bin/python3 macro 9 ${PYTHON} setup.py build ${PARAMETERS} 12 ${PYTHON} setup.py --with-libyaml build ${PARAMETERS} 15 ${PYTHON} setup.py build -f ${PARAMETERS} 18 ${PYTHON} setup.py --with-libyaml build -f ${PARAMETERS} 21 ${PYTHON} setup.py install ${PARAMETERS} 24 ${PYTHON} setup.py --with-libyaml install ${PARAMETERS} 27 ${PYTHON} tests/lib/test_build.py ${TEST} 30 ${PYTHON} tests/lib/test_build_ext.py ${TEST} 33 ${PYTHON} setup.py test [all …]
|
/third_party/protobuf/kokoro/release/python/windows/ |
D | build_single_artifact.bat | 3 if %PYTHON%==C:\python35_32bit set generator=Visual Studio 14 4 if %PYTHON%==C:\python35_32bit set vcplatform=Win32 6 if %PYTHON%==C:\python35 set generator=Visual Studio 14 Win64 7 if %PYTHON%==C:\python35 set vcplatform=x64 9 if %PYTHON%==C:\python36_32bit set generator=Visual Studio 14 10 if %PYTHON%==C:\python36_32bit set vcplatform=Win32 12 if %PYTHON%==C:\python36 set generator=Visual Studio 14 Win64 13 if %PYTHON%==C:\python36 set vcplatform=x64 15 if %PYTHON%==C:\python37_32bit set generator=Visual Studio 14 16 if %PYTHON%==C:\python37_32bit set vcplatform=Win32 [all …]
|
D | build_artifacts.bat | 35 SET PYTHON=C:\python35_32bit 40 SET PYTHON=C:\python35 45 SET PYTHON=C:\python36_32bit 50 SET PYTHON=C:\python36 55 SET PYTHON=C:\python37_32bit 60 SET PYTHON=C:\python37 65 SET PYTHON=C:\python38_32bit 70 SET PYTHON=C:\python38
|
/third_party/grpc/tools/run_tests/artifacts/ |
D | build_artifact_python.sh | 21 export PYTHON=${PYTHON:-python} 39 ${SETARCH_CMD} "${PYTHON}" setup.py sdist 43 ${SETARCH_CMD} "${PYTHON}" setup.py bdist_wheel 74 "${PYTHON}" tools/distrib/python/make_grpcio_tools.py 77 ${SETARCH_CMD} "${PYTHON}" tools/distrib/python/grpcio_tools/setup.py sdist 80 ${SETARCH_CMD} "${PYTHON}" tools/distrib/python/grpcio_tools/setup.py bdist_wheel 104 if [ "$("$PYTHON" -c "import sys; print(sys.version_info[0])")" == "2" ] 113 ${SETARCH_CMD} "${PYTHON}" src/python/grpcio_testing/setup.py preprocess \ 118 ${SETARCH_CMD} "${PYTHON}" src/python/grpcio_channelz/setup.py \ 123 ${SETARCH_CMD} "${PYTHON}" src/python/grpcio_health_checking/setup.py \ [all …]
|
/third_party/python/Tools/peg_generator/ |
D | Makefile | 3 PYTHON ?= ../../python macro 6 PYTHON ?= ../../python.exe macro 21 $(PYTHON) -m zipfile -e data/xxl.zip data 26 $(PYTHON) -m pegen -q c $(GRAMMAR) $(TOKENS) -o peg_extension/parse.c --compile-extension 35 …$(PYTHON) -c "from peg_extension import parse; import ast; t = parse.parse_file('$(TESTFILE)', mod… 38 $(PYTHON) -m pegen -q python pegen/metagrammar.gram -o pegen/grammar_parser.py 47 $(PYTHON) -m venv $(VENVDIR) 55 $(PYTHON) -c "from peg_extension import parse; t = parse.parse_file('$(TESTFILE)'); exec(t)" 58 $(PYTHON) -c "from peg_extension import parse; t = parse.parse_file('$(TESTFILE)', mode=2)" 61 $(PYTHON) -c "from peg_extension import parse; t = parse.parse_file('$(TESTFILE)', mode=1)" [all …]
|
/third_party/skia/third_party/externals/brotli/python/ |
D | Makefile | 23 PYTHON ?= python macro 26 EXT_SUFFIX=$(shell $(PYTHON) -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))') 36 @cd .. && $(PYTHON) setup.py build_ext --inplace 39 @cd .. && $(PYTHON) setup.py develop 42 @cd .. && $(PYTHON) setup.py install 46 @$(PYTHON) -m unittest discover -v -p '*_test.py' 49 @cd .. && $(PYTHON) setup.py clean
|
/third_party/python/PCbuild/ |
D | blurb.bat | 8 call "%~dp0find_python.bat" %PYTHON% 9 if ERRORLEVEL 1 (echo Cannot locate python.exe on PATH or as PYTHON variable & exit /b 3) 11 if "%1" EQU "--update" (%PYTHON% -m pip install -U blurb && shift) 12 if "%1" EQU "-U" (%PYTHON% -m pip install -U blurb && shift) 14 %PYTHON% -m blurb %1 %2 %3 %4 %5 %6 %7 %8 %9 22 %PYTHON% -c "import blurb" 25 %PYTHON% -m pip install blurb 27 %PYTHON% -m blurb %*
|
D | find_python.bat | 18 @if exist "%*" (set PYTHON="%*") & (set _Py_Python_Source=from environment) & goto :found variable 22 @if exist "%~1" (set PYTHON="%~1") & (set _Py_Python_Source=from environment) & goto :found variable 25 @set PYTHON= variable 28 @if NOT "%VIRTUAL_ENV%"=="" (set PYTHON="%VIRTUAL_ENV%\Scripts\python.exe") & (set _Py_Python_Sourc… variable 34 @if exist "%_Py_EXTERNALS_DIR%\pythonx86\tools\python.exe" (set PYTHON="%_Py_EXTERNALS_DIR%\pythonx… variable 37 …c "import sys; assert sys.version_info[:2] >= (3, 8)" >nul 2>nul && (set PYTHON="%HOST_PYTHON%") &… variable 40 @for %%p in (3.9 3.8) do @py -%%p -EV >nul 2>&1 && (set PYTHON=py -%%p) && (set _Py_Python_Source=f… variable 62 @if not errorlevel 1 (set PYTHON="%_Py_EXTERNALS_DIR%\pythonx86\tools\python.exe") & (set _Py_Pytho… variable 73 @echo Using %PYTHON% (%_Py_Python_Source%)
|
/third_party/grpc/tools/distrib/ |
D | pylint_code.sh | 40 PYTHON=$VIRTUALENV/bin/python 42 $PYTHON -m pip install --upgrade pip==19.3.1 45 $PYTHON -m pip install --upgrade astroid==2.3.3 pylint==2.2.2 "isort>=4.3.0,<5.0.0" 49 $PYTHON -m pylint --rcfile=.pylintrc -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1 53 $PYTHON -m pylint --rcfile=.pylintrc-tests -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1 60 | xargs $PYTHON -m pylint --rcfile=.pylintrc-examples -rn ${IGNORE_PATTERNS}
|
D | yapf_code.sh | 35 PYTHON=${VIRTUALENV}/bin/python 36 "$PYTHON" -m pip install --upgrade pip==19.3.1 37 "$PYTHON" -m pip install --upgrade futures 38 "$PYTHON" -m pip install yapf==0.28.0 40 $PYTHON -m yapf $ACTION --recursive --style=setup.cfg "${DIRS[@]}"
|
D | format_bazel.sh | 23 PYTHON=${VIRTUAL_ENV}/bin/python 24 "$PYTHON" -m pip install --upgrade pip==19.3.1 25 "$PYTHON" -m pip install --upgrade futures 26 "$PYTHON" -m pip install yapf==0.28.0 30 echo "${FILES}" | xargs "$PYTHON" -m yapf -i --style="${CONFIG_PATH}"
|
/third_party/python/Tools/unicode/ |
D | Makefile | 9 PYTHON = python macro 31 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MISC/ build/ 39 $(PYTHON) gencodec.py python-mappings/ build/ 42 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/WINDOWS/ build/ 47 $(PYTHON) gencodec.py MAPPINGS/ISO8859/ build/ iso 51 $(PYTHON) gencodec.py MAPPINGS/VENDORS/APPLE/ build/ mac_ 72 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MICSFT/EBCDIC/ build/ 76 $(PYTHON) gencjkcodecs.py build/
|
/third_party/boost/tools/build/test/toolset-mock/ |
D | project-config.jam | 12 local PYTHON = [ os.environ PYTHON_CMD ] ; 14 using gcc : 4.8.3 : $(PYTHON) $(here)/src/gcc-4.8.3-linux.py : : <target-os>linux ; 15 using gcc : 4.2.1 : $(PYTHON) $(here)/src/gcc-4.2.1-darwin.py : : <target-os>darwin ; 19 using darwin : 4.2.1 : $(PYTHON) $(here)/src/darwin-4.2.1.py 25 using clang-darwin : 3.9.0 : $(PYTHON) $(here)/src/clang-3.9.0-darwin.py 30 using clang-linux : 3.9.0 : $(PYTHON) $(here)/src/clang-linux-3.9.0.py 35 using clang-vxworks : 4.0.1 : $(PYTHON) $(here)/src/clang-vxworks-4.0.1.py 40 using intel-darwin : 10.2 : $(PYTHON) $(here)/src/intel-darwin-10.2.py
|
/third_party/grpc/test/distrib/python/ |
D | test_packages.sh | 39 PYTHON=$VIRTUAL_ENV/bin/python 40 "$PYTHON" -m pip install --upgrade six pip wheel 44 "$PYTHON" -m wheel unpack "$file" -d /tmp || return 1 51 if "$PYTHON" -m pip install "$file"; then 86 "$PYTHON" -m grpc.tools.protoc --help 88 "$PYTHON" distribtest.py
|
/third_party/python/Doc/ |
D | make.bat | 8 call ..\PCbuild\find_python.bat %PYTHON% 10 if not defined PYTHON set PYTHON=py variable 13 %PYTHON% -c "import sphinx" > nul 2> nul 15 echo Installing sphinx with %PYTHON% 16 %PYTHON% -m pip install sphinx==2.2.0 19 set SPHINXBUILD=%PYTHON% -c "import sphinx.cmd.build, sys; sys.exit(sphinx.cmd.build.main())" 22 %PYTHON% -c "import python_docs_theme" > nul 2> nul 24 echo Installing python-docs-theme with %PYTHON% 25 %PYTHON% -m pip install python-docs-theme 30 %PYTHON% -c "import blurb" > nul 2> nul [all …]
|
/third_party/mbedtls/tests/scripts/ |
D | check-python-files.sh | 26 PYTHON=python3 28 PYTHON=python 32 $PYTHON - "$2" <<EOF 70 $PYTHON -m pylint -j 2 scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || { 79 $PYTHON -m mypy scripts/*.py tests/scripts/*.py ||
|
/third_party/openGLES/extensions/ |
D | Makefile | 20 PYTHON = python3 macro 26 $(PYTHON) makeindex.py arbnumber >$@ 29 $(PYTHON) makeindex.py esnumber >$@ 32 $(PYTHON) makeindex.py number >$@
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ |
D | Makefile | 20 PYTHON = python3 macro 26 $(PYTHON) makeindex.py arbnumber >$@ 29 $(PYTHON) makeindex.py esnumber >$@ 32 $(PYTHON) makeindex.py number >$@
|
/third_party/grpc/tools/internal_ci/linux/ |
D | grpc_xds_csharp_test_in_docker.sh | 27 PYTHON="$VIRTUAL_ENV"/bin/python 28 "$PYTHON" -m pip install --upgrade pip 29 "$PYTHON" -m pip install --upgrade grpcio grpcio-tools google-api-python-client google-auth-httplib… 41 "$PYTHON" -m grpc_tools.protoc \ 51 …_client,xds_resolver,xds_routing_lb,cds_lb,eds_lb,priority_lb,weighted_target_lb,lrs_lb "$PYTHON" \
|
D | grpc_xds_ruby_test_in_docker.sh | 27 PYTHON="$VIRTUAL_ENV"/bin/python 28 "$PYTHON" -m pip install --upgrade pip 29 "$PYTHON" -m pip install --upgrade grpcio-tools google-api-python-client google-auth-httplib2 oauth… 41 "$PYTHON" -m grpc_tools.protoc \ 51 …_client,xds_resolver,xds_routing_lb,cds_lb,eds_lb,priority_lb,weighted_target_lb,lrs_lb "$PYTHON" \
|
D | grpc_xds_bazel_python_test_in_docker.sh | 27 PYTHON="$VIRTUAL_ENV"/bin/python 28 "$PYTHON" -m pip install --upgrade pip 29 "$PYTHON" -m pip install --upgrade grpcio-tools google-api-python-client google-auth-httplib2 oauth… 41 "$PYTHON" -m grpc_tools.protoc \ 51 …_client,xds_resolver,xds_routing_lb,cds_lb,eds_lb,priority_lb,weighted_target_lb,lrs_lb "$PYTHON" \
|
D | grpc_xds_bazel_test_in_docker.sh | 27 PYTHON="$VIRTUAL_ENV"/bin/python 28 "$PYTHON" -m pip install --upgrade pip 29 "$PYTHON" -m pip install --upgrade grpcio grpcio-tools google-api-python-client google-auth-httplib… 41 "$PYTHON" -m grpc_tools.protoc \ 56 …_client,xds_resolver,xds_routing_lb,cds_lb,eds_lb,priority_lb,weighted_target_lb,lrs_lb "$PYTHON" \
|
D | grpc_xds_php_test_in_docker.sh | 27 PYTHON="$VIRTUAL_ENV"/bin/python 28 "$PYTHON" -m pip install --upgrade pip 29 "$PYTHON" -m pip install --upgrade grpcio-tools google-api-python-client google-auth-httplib2 oauth… 41 "$PYTHON" -m grpc_tools.protoc \ 61 …_client,xds_resolver,xds_routing_lb,cds_lb,eds_lb,priority_lb,weighted_target_lb,lrs_lb "$PYTHON" \
|
/third_party/grpc/tools/run_tests/helper_scripts/ |
D | build_python.sh | 107 PYTHON=${1:-python2.7} 108 VENV=${2:-$(venv "$PYTHON")} 145 VENV_PYTHON="$PYTHON" 148 $PYTHON -m pip install --user virtualenv==16.7.9 149 $PYTHON -m virtualenv "$VENV"
|
/third_party/freetype/builds/unix/ |
D | ax_prog_python_version.m4 | 13 # ACTION-IF-FALSE are run. Note if $PYTHON is not set (for example by 18 # AC_PATH_PROG([PYTHON],[python]) 24 # NOTE: This macro uses the $PYTHON variable to perform the check. 44 AS_IF([test -n "$PYTHON"],[ 49 …python_version=`$PYTHON -V 2>&1 | $GREP "^Python " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\)/\1/…
|