| /external/cronet/third_party/re2/src/.github/workflows/ |
| D | python.yml | 9 wheel-linux: 11 runs-on: ${{ matrix.arch.runs-on }} 13 image: quay.io/pypa/${{ matrix.os }}_${{ matrix.arch.python-name }} 17 options: --init --user 1001 19 fail-fast: false 22 - { name: X64, python-name: x86_64, runs-on: [ubuntu-latest] } 23 - { name: ARM64, python-name: aarch64, runs-on: [self-hosted, linux, arm64] } 32 - uses: actions/checkout@v3 34 - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" 37 - uses: bazelbuild/setup-bazelisk@6244971d4f7ba9aca943c2f3ede2bbd813fcca51 [all …]
|
| /external/rust/crates/grpcio-sys/grpc/third_party/upb/.github/workflows/ |
| D | python_tests.yml | 6 - main 7 - '[0-9]+.x' 10 - main 11 - '[0-9]+.x' 17 runs-on: ubuntu-large 21 …DOCKER_IMAGE: us-docker.pkg.dev/protobuf-build/release-containers/linux/apple@sha256:bb1d147384499… 24 - uses: actions/checkout@v2 25 - name: Set up Cloud SDK 26 uses: google-github-actions/auth@v0 30 - name: Use gcloud CLI [all …]
|
| /external/cronet/third_party/google_benchmark/src/docs/ |
| D | python_bindings.md | 3 Python bindings are available as wheels on [PyPI](https://pypi.org/project/google-benchmark/) for i… 5 Currently, pre-built wheels exist for macOS (both ARM64 and Intel x86), Linux x86-64 and 64-bit Win… 6 Supported Python versions are Python 3.7 - 3.10. 11 python -m pip install --upgrade pip # for manylinux2014 support 12 python -m pip install google-benchmark 19 To build a wheel directly from source, you can follow these steps: 24 python3 -m venv venv --system-site-packages 25 source venv/bin/activate # .\venv\Scripts\Activate.ps1 on Windows 27 # upgrade Python's system-wide packages 28 python -m pip install --upgrade pip setuptools wheel [all …]
|
| /external/bazelbuild-rules_python/examples/wheel/ |
| D | wheel_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 "wheel", 31 "example_minimal_library-0.0.1-py3-none-any.whl", 37 "examples/wheel/lib/module_with_data.py", 38 "examples/wheel/lib/simple_module.py", 39 "example_minimal_library-0.0.1.dist-info/WHEEL", 40 "example_minimal_library-0.0.1.dist-info/METADATA", 41 "example_minimal_library-0.0.1.dist-info/RECORD", 50 "wheel", 51 "example_minimal_package-0.0.1-py3-none-any.whl", [all …]
|
| D | BUILD.bazel | 7 # http://www.apache.org/licenses/LICENSE-2.0 16 load("//examples/wheel/private:wheel_utils.bzl", "directory_writer", "make_variable_tags") 29 "//examples/wheel/lib:simple_module", 30 "//examples/wheel/lib:module_with_data", 31 # Example dependency which is not packaged in the wheel 55 # Package data. We're building "example_minimal_library-0.0.1-py3-none-any.whl" 60 "//examples/wheel/lib:module_with_data", 61 "//examples/wheel/lib:simple_module", 68 # - abi, python_tag: introspect a toolchain to map to appropriate cpython tags 69 # - version: populate given this or a dependent module's version [all …]
|
| /external/tensorflow/tensorflow/lite/tools/pip_package/ |
| D | README.md | 8 To build a binary wheel run this script: 11 sudo apt install swig libjpeg-dev zlib1g-dev python3-dev python3-numpy 19 pip install --upgrade <wheel> 22 You can also build a wheel inside docker container using make tool. For example 23 the following command will cross-compile tflite-runtime package for python2.7 27 make BASE_IMAGE=debian:buster PYTHON=python TENSORFLOW_TARGET=rpi docker-build 28 make BASE_IMAGE=debian:buster PYTHON=python3 TENSORFLOW_TARGET=rpi docker-build 31 Another option is to cross-compile for python3.5 (from Debian Stretch) on ARM64 35 make BASE_IMAGE=debian:stretch PYTHON=python3 TENSORFLOW_TARGET=aarch64 docker-build 42 make BASE_IMAGE=ubuntu:18.04 PYTHON=python3 TENSORFLOW_TARGET=native docker-build [all …]
|
| /external/tensorflow/tensorflow/tools/ci_build/release/ |
| D | common.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 31 if [[ $? -ne 0 ]]; then 49 set -x 55 mkdir -p /tmpfs/bazel_output 62 case "$(uname -s)" in 63 Darwin) local name=bazelisk-darwin-amd64 ;; 65 case "$(uname -m)" in 66 x86_64) local name=bazelisk-linux-amd64 ;; 67 aarch64) local name=bazelisk-linux-arm64 ;; 68 *) die "Unknown machine type: $(uname -m)" ;; [all …]
|
| /external/bazelbuild-rules_python/examples/pip_repository_annotations/ |
| D | pip_repository_annotations_test.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 30 def wheel_pkg_dir(self) -> str: 66 ".exe" if platform.system() == "windows" else ".py", 78 stdout = proc.stdout.decode("utf-8").strip() 85 …_info_dir = "pip_repository_annotations_example/external/{}/site-packages/wheel-{}.dist-info".form… 91 # `METADATA` is expected to be there to show dist-info files are included in the runfiles. 94 # However, `WHEEL` was explicitly excluded, so it should be missing 95 wheel_path = r.Rlocation("{}/WHEEL".format(dist_info_dir)) 97 # Because windows does not have `--enable_runfiles` on by default, the 100 if platform.system() == "Windows": [all …]
|
| /external/google-benchmark/docs/ |
| D | python_bindings.md | 3 Python bindings are available as wheels on [PyPI](https://pypi.org/project/google-benchmark/) for i… 5 Currently, pre-built wheels exist for macOS (both ARM64 and Intel x86), Linux x86-64 and 64-bit Win… 6 Supported Python versions are Python 3.8 - 3.12. 11 python -m pip install --upgrade pip # for manylinux2014 support 12 python -m pip install google-benchmark 19 To build a wheel directly from source, you can follow these steps: 24 python3 -m venv venv --system-site-packages 25 source venv/bin/activate # .\venv\Scripts\Activate.ps1 on Windows 27 # upgrade Python's system-wide packages 28 python -m pip install --upgrade pip build [all …]
|
| /external/fonttools/.github/workflows/ |
| D | wheels.yml | 7 …# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispat… 11 # skip binary wheels for pypy (preferable to use pure-python) and 32-bit Linux 17 CIBW_TEST_COMMAND: "tox -c {package}/tox.ini -e py-cy-noextra --installpkg {wheel}" 22 runs-on: ubuntu-latest 24 - uses: actions/checkout@v4 25 - name: Set up Python 26 uses: actions/setup-python@v5 28 python-version: '3.x' 29 - name: Install dependencies 31 pip install setuptools wheel twine [all …]
|
| /external/bazelbuild-rules_python/python/pip_install/tools/wheel_installer/ |
| D | wheel_installer.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Build and/or fetch a single wheel based on the requirement passed in""" 33 from python.pip_install.tools.wheel_installer import arguments, namespace_pkgs, wheel 36 def _configure_reproducible_wheels() -> None: 37 """Modifies the environment to make wheel building reproducible. 42 …# wheel, by default, enables debug symbols in GCC. This incidentally captures the build path in th… 46 os.environ["CFLAGS"] += " -g0" 48 os.environ["CFLAGS"] = "-g0" 51 …m/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#python-setuppy-bdist_wheel-… 55 # Python wheel metadata files can be unstable. [all …]
|
| /external/tensorflow/tensorflow/tools/ci_build/nightly_release/windows/ |
| D | upload_nightly_pip.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -e 17 set -x 22 python3.9 -m venv venv && source venv/bin/activate 25 python -m pip install --upgrade pip setuptools 28 python -m pip install --upgrade twine 30 # Install a more recent version of wheel (needed for renaming) 31 python -m pip install --upgrade wheel 34 for f in $(ls "${KOKORO_GFILE_DIR}"/tf_nightly_gpu*dev*cp3*-cp3*-win_amd64.whl); do 40 # Note: The windows wheels are built by separate jobs, this one just uploads [all …]
|
| /external/grpc-grpc/tools/run_tests/helper_scripts/ |
| D | build_python.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 25 PLATFORM=$(uname -s) 60 if [[ -n "${VIRTUAL_ENV}" ]]; then 67 $1 -c "import sys; print('py{}{}'.format(*sys.version_info[:2]))" 93 PYTHON=${1:-python2.7} 94 VENV=${2:-$(venv "$PYTHON")} 95 VENV_RELATIVE_PYTHON=${3:-$(venv_relative_python)} 96 TOOLCHAIN=${4:-$(toolchain)} 105 export CFLAGS="-I$ROOT/include -fno-wrapv $CFLAGS" [all …]
|
| /external/python/pyyaml/.github/workflows/ |
| D | ci.yaml | 1 --- 21 runs-on: ubuntu-latest 23 - name: Checkout PyYAML 26 - name: Install a python 27 uses: actions/setup-python@v2 29 python-version: 3.x 31 - name: Build sdist 36 python -V 37 python -m pip install build 39 python -m build . [all …]
|
| D | manual_artifact_build.yaml | 1 --- 19 runs-on: ubuntu-latest 21 - name: Checkout PyYAML 24 - name: Install a python 25 uses: actions/setup-python@v2 27 python-version: 3.x 29 - name: Build sdist 34 python -V 35 python -m pip install build 37 python -m build . [all …]
|
| /external/python/cpython3/Misc/NEWS.d/ |
| D | 3.10.0a5.rst | 2 .. date: 2021-01-18-09-27-31 4 .. release date: 2021-02-02 13 .. date: 2021-01-30-11-31-44 26 .. date: 2021-01-29-17-48-44 27 .. nonce: jR-3kC 36 .. date: 2021-01-24-20-19-55 45 .. date: 2021-01-24-18-02-05 49 Improve error message in the parser when using un-parenthesised tuples in 55 .. date: 2021-01-20-23-44-15 59 Fix parser crash when reporting syntax errors in f-string with newlines. [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpcio_tools/ |
| D | setup.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 56 'Development Status :: 5 - Production/Stable', 76 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin… 77 # without statically linking libstdc++ (which leads to a slight increase in the wheel size). 79 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version 80 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols. 91 cpp_test = subprocess.Popen([cxx, '-x', 'c++', '-std=c++14', '-'], 98 # Double-check to see if -latomic actually can solve the problem. 101 [cxx, '-x', 'c++', '-std=c++14', '-', '-latomic'], 115 # E.g. on x64 linux the suffix is ".cpython-XYZ-x86_64-linux-gnu.so" [all …]
|
| /external/grpc-grpc/tools/distrib/python/grpcio_tools/ |
| D | setup.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 53 "Development Status :: 5 - Production/Stable", 73 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin… 74 # without statically linking libstdc++ (which leads to a slight increase in the wheel size). 76 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version 77 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols. 92 [cxx, "-x", "c++", "-std=c++14", "-"], 100 # Double-check to see if -latomic actually can solve the problem. 103 [cxx, "-x", "c++", "-std=c++14", "-", "-latomic"], 118 # E.g. on x64 linux the suffix is ".cpython-XYZ-x86_64-linux-gnu.so" [all …]
|
| /external/angle/scripts/ |
| D | generate_stats.py | 4 # wheel: < 5 # name: "infra/python/wheels/google-auth-py2_py3" 9 # wheel: < 10 # name: "infra/python/wheels/pyasn1-py2_py3" 14 # wheel: < 15 # name: "infra/python/wheels/pyasn1_modules-py2_py3" 19 # wheel: < 24 # wheel: < 25 # name: "infra/python/wheels/cachetools-py2_py3" 28 # wheel: < [all …]
|
| /external/bazelbuild-rules_python/examples/bzlmod/whl_mods/ |
| D | pip_whl_mods_test.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 30 def package_path(self) -> str: 33 def wheel_pkg_dir(self) -> str: 72 ".exe" if platform.system() == "windows" else ".py", 84 stdout = proc.stdout.decode("utf-8").strip() 91 dist_info_dir = "{}{}/site-packages/wheel-{}.dist-info".format( 98 # `METADATA` is expected to be there to show dist-info files are included in the runfiles. 101 # However, `WHEEL` was explicitly excluded, so it should be missing 102 wheel_path = r.Rlocation("{}/WHEEL".format(dist_info_dir)) 107 def requests_pkg_dir(self) -> str:
|
| /external/python/cpython2/Doc/installing/ |
| D | index.rst | 3 .. _installing-index: 9 :Email: distutils-sig@python.org 22 :ref:`distribution guide <distributing-index>`. 37 * a virtual environment is a semi-isolated Python environment that allows 69 python -m pip install SomePackage 77 (commonly called ``virtualenv`` or ``python-virtualenv``). 79 For Windows users, the examples in this guide assume that the option to 88 python -m pip install SomePackage==1.0.4 # specific version 89 python -m pip install "SomePackage>=1.0.4" # minimum version 95 python -m pip install --upgrade SomePackage [all …]
|
| /external/rust/crates/tokio/src/runtime/time/ |
| D | mod.rs | 19 mod wheel; module 36 /// instances. The `Driver` implementation is thread-safe and, as such, is able 54 /// A hashed timing wheel is a vector of slots, where each slot handles a time 57 /// end of the wheel, it starts again at the beginning. 60 /// levels go up, the slots of the associated wheel represent larger intervals 61 /// of time. At each level, the wheel has 64 slots. Each slot covers a range of 62 /// time equal to the wheel at the lower level. At level zero, each slot 76 /// levels, all entries will be redistributed across the wheel at the next level 81 /// [paper]: http://www.cs.columbia.edu/~nahum/w6998/papers/ton97-timing-wheels.pdf 104 // and pausing the clock is restricted to a single-threaded runtime. [all …]
|
| /external/python/cpython3/Lib/ensurepip/ |
| D | __init__.py | 25 # Directory of system wheel packages. Some Linux distribution packaging 27 # installs wheel packages in the /usr/share/python-wheels/ directory and don't 39 # Make the code deterministic if a directory contains multiple wheel files 44 # filename is like 'pip-21.2.4-py3-none-any.whl' 48 prefix = name + '-' 54 # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl' 55 version = filename.removeprefix(prefix).partition('-')[0] 68 wheel_name = f"{name}-{version}-{py_tag}-none-any.whl" 72 # only used the wheel package directory if all packages are found there 95 '-W', [all …]
|
| /external/python/cpython3/Doc/installing/ |
| D | index.rst | 3 .. _installing-index: 9 :Email: distutils-sig@python.org 22 :ref:`distribution guide <distributing-index>`. 37 * A *virtual environment* is a semi-isolated Python environment that allows 71 <https://packaging.python.org/installing/#creating-virtual-environments>`__ 83 python -m pip install SomePackage 90 For Windows users, the examples in this guide assume that the option to 99 python -m pip install SomePackage==1.0.4 # specific version 100 python -m pip install "SomePackage>=1.0.4" # minimum version 106 python -m pip install --upgrade SomePackage [all …]
|
| /external/grpc-grpc/src/python/grpcio/ |
| D | README.rst | 8 .. |compat_check_pypi| image:: https://python-compatibility-tools.appspot.com/one_badge_image?packa… 9 :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=grpcio 12 ------------------------- 16 ------------ 18 gRPC Python is available for Linux, macOS, and Windows. 35 If you're on Windows make sure that you installed the :code:`pip.exe` component 42 Windows users may need to invoke :code:`pip.exe` from a command line ran as 45 n.b. On Windows and on Mac OS X one *must* have a recent release of :code:`pip` 46 to retrieve the proper wheel from PyPI. Be sure to upgrade to the latest 53 package named :code:`python-dev`). [all …]
|