Home
last modified time | relevance | path

Searched +full:- +full:- +full:wheel +full:- +full:dir (Results 1 – 25 of 128) sorted by relevance

123456

/external/bazelbuild-rules_python/python/
Dpackaging.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
21 # Re-export as public API
35 # Based on https://github.com/aspect-build/bazel-lib/tree/main/lib/private/copy_to_directory.bzl
36 # Avoiding a bazelbuild -> aspect-build dependency :(
38 dir = ctx.actions.declare_directory(ctx.attr.out)
39 name_file = ctx.attr.wheel[PyWheelInfo].name_file
41 "mkdir -p \"%s\"" % dir.path,
42 """cp "{}" "{}/$(cat "{}")" """.format(ctx.files.wheel[0].path, dir.path, name_file.path),
45 inputs = ctx.files.wheel + [name_file],
46 outputs = [dir],
[all …]
/external/grpc-grpc/tools/run_tests/artifacts/
Dbuild_artifact_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
21 export PYTHON=${PYTHON:-python}
22 export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
28 # Needed for building binary distribution wheels -- bdist_wheel
29 "${PYTHON}" -m pip install --upgrade pip wheel setuptools
33 # Install Cython to avoid source wheel build failure.
36 # already have a new-enough version of cython pre-installed.
38 # so we are trying to perform as few download-and-install operations
40 "${PYTHON}" -m pip install --upgrade 'cython<3.0.0rc1'
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/artifacts/
Dbuild_artifact_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
21 export PYTHON=${PYTHON:-python}
22 export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
28 # Needed for building binary distribution wheels -- bdist_wheel
29 "${PYTHON}" -m pip install --upgrade wheel
33 # Install Cython to avoid source wheel build failure.
36 # already have a new-enough version of cython pre-installed.
38 # so we are trying to perform as few download-and-install operations
40 "${PYTHON}" -m pip install --upgrade cython
[all …]
/external/cronet/third_party/re2/src/.github/workflows/
Dpython.yml9 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/pigweed/pw_build/py/pw_build/
Dgenerate_python_wheel.py7 # https://www.apache.org/licenses/LICENSE-2.0
14 """Generate a Python wheel for a pw_python_package or pw_python_distribution."""
31 def _parse_args() -> argparse.Namespace:
34 '--package-dir',
37 help='Path to the root gn build dir.',
40 '--out-dir',
46 '--generate-hashes',
57 ) -> int:
58 """Build a Python wheel."""
60 # Delete existing wheels from the out dir, there may be stale versions.
[all …]
Dcollect_wheels.py7 # https://www.apache.org/licenses/LICENSE-2.0
28 '--prefix',
30 help='Root search path to use in conjunction with --wheels_file',
33 '--suffix-file',
36 'File that lists subdirs relative to --prefix, one per line,'
37 'to search for .whl files to copy into --out_dir'
41 '--out-dir',
49 def copy_wheels(prefix: Path, suffix_file: Path, out_dir: Path) -> None:
53 FileExistsError: If any separate wheel files are copied to the same
56 # Delete existing wheels from the out dir, there may be stale versions.
[all …]
Dgenerate_python_wheel_cache.py7 # https://www.apache.org/licenses/LICENSE-2.0
27 def _parse_args() -> argparse.Namespace:
30 '--pip-download-log',
33 help='Path to the root gn build dir.',
36 '--wheel-dir',
39 help='Path to save wheel files.',
42 '--download-all-platforms',
47 '-r',
48 '--requirement',
62 ) -> int:
[all …]
Dpip_install_python_deps.py7 # https://www.apache.org/licenses/LICENSE-2.0
32 def _parse_args() -> tuple[argparse.Namespace, list[str]]:
35 '--python-dep-list-files',
44 '--gn-packages',
51 '--editable-pip-install',
55 '\'--editable\' option.'
70 ) -> int:
75 FileNotFoundError: if a Python wheel was not found when using pip install
76 with --require-hashes.
98 command_args = [sys.executable, "-m", "pip"]
[all …]
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Dwpa_supplicant.conf.sgml1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
20 including pre-shared keys. See the example configuration file,
31 SIGHUP signal to <command>wpa_supplicant</command> ('killall -HUP
48 <para>WPA-Personal (PSK) as home network and WPA-Enterprise with
49 EAP-TLS as work network.</para>
52 # allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group
53 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
59 key_mgmt=WPA-PSK
63 # work network; use EAP-TLS with WPA; allow only CCMP and TKIP ciphers
67 key_mgmt=WPA-EAP
[all …]
/external/fonttools/
Dtox.ini3 envlist = lint, py3{8,9,10,11,12}-cov, htmlcov
10 # We need this to be able to install skia-pathops on Linux, which uses a
12 # https://github.com/tox-dev/tox/issues/791#issuecomment-518713438
14 # building lxml from source takes too long on CI, force it to download pre-compiled
15 # wheel or fail if none is found with --only-binary=lxml
16 install_command = python -m pip install --only-binary=lxml {opts} {packages}
20 pytest-randomly
21 # add -noextra to tox -e to skip installing extras and only test the core fonttools
22 !noextra: -rrequirements.txt
24 cy: python -c "from fontTools.cu2qu.cu2qu import COMPILED; assert COMPILED"
[all …]
/external/python/cpython3/Lib/test/
Dtest_ensurepip.py22 self.touch(tmpdir, "pip-1.2.3b1-py2.py3-none-any.whl")
23 self.touch(tmpdir, "setuptools-49.1.3-py3-none-any.whl")
29 # Test _get_packages() without a wheel package directory
34 # when bundled wheel packages are used, we get _PIP_VERSION
37 # use bundled wheel packages
42 # Test _get_packages() with a wheel package directory
43 setuptools_filename = "setuptools-49.1.3-py3-none-any.whl"
44 pip_filename = "pip-20.2.2-py2.py3-none-any.whl"
50 self.touch(tmpdir, "wheel-0.34.2-py2.py3-none-any.whl")
63 # wheel package is ignored
[all …]
/external/pigweed/pw_build/
Dpython.gni7 # https://www.apache.org/licenses/LICENSE-2.0
24 # Constraints file selection (arguments to pip install --constraint).
34 # this information run: pw presubmit --step gn_python_test_coverage
65 "wheel",
77 get_path_info(get_label_info(":$target_name", "dir"), "name")) {
91 # DOCSTAG: [default-mypy-args]
93 "--pretty",
94 "--show-error-codes",
96 # Use a mypy cache dir for this target only to avoid cache conflicts in
98 "--cache-dir",
[all …]
Dpython_dist.gni7 # https://www.apache.org/licenses/LICENSE-2.0
26 # .wheel sub-targets along with the .wheel sub-targets of all dependencies,
55 _packages += [ "${_pkg_name}.wheel(${_pkg_toolchain})" ]
82 "--prefix",
84 "--suffix",
86 "--out-dir",
150 # TODO: b/235245034 - Remove the plumbing-through of invoker's public_deps.
349 "--repo-root",
351 "--tree-destination-dir",
353 "--input-list-files",
[all …]
/external/fonttools/.github/workflows/
Dwheels.yml7 …# 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/autotest/utils/
Drun_pylint.py7 # wheel: <
8 # name: "infra/python/wheels/configparser-py2_py3"
11 # wheel: <
12 # name: "infra/python/wheels/futures-py2_py3"
15 # wheel: <
16 # name: "infra/python/wheels/isort-py2_py3"
19 # wheel: <
23 # wheel: <
24 # name: "infra/python/wheels/backports_functools_lru_cache-py2_py3"
27 # wheel: <
[all …]
/external/tflite-support/tensorflow_lite_support/tools/pip_package/
Dbuild_pip_package.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 set -e
20 [[ "$1" = /* ]] || [[ "$1" =~ ^[a-zA-Z]:[/\\].* ]]
29 if [ -e "${arg_to_move}" ]; then
38 PLATFORM="$(uname -s | tr 'A-Z' 'a-z')"
48 if [ $# -lt 1 ] ; then
49 echo "No destination dir provided"
54 mkdir -p "$TMPDIR"
57 echo $(date) : "=== Preparing sources in dir: ${TMPDIR}"
59 if [ ! -d bazel-bin/tensorflow_lite_support ]; then
[all …]
/external/cronet/third_party/protobuf/python/
Drelease.sh3 set -ex
6 grep "__version__ = '.*'" python/google/protobuf/__init__.py | sed -r "s/__version__ = '(.*)'/\1/"
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
22 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI…
24 rm -fr test-venv
31 …read -p "pip install failed, possibly due to delay between upload and availability on pip. Retry? …
37 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI…
[all …]
/external/protobuf/python/
Drelease.sh3 set -ex
6 grep "__version__ = '.*'" python/google/protobuf/__init__.py | sed -r "s/__version__ = '(.*)'/\1/"
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
22 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI…
24 rm -fr test-venv
31 …read -p "pip install failed, possibly due to delay between upload and availability on pip. Retry? …
37 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI…
[all …]
/external/python/cpython3/Lib/
Dftplib.py13 drwxr-xr-x 8 root wheel 1024 Jan 3 1994 .
14 drwxr-xr-x 8 root wheel 1024 Jan 3 1994 ..
15 drwxr-xr-x 2 root wheel 1024 Jan 3 1994 bin
16 drwxr-xr-x 2 root wheel 1024 Jan 3 1994 etc
17 d-wxrwxr-x 2 ftp wheel 1024 Sep 5 13:43 incoming
18 drwxr-xr-x 2 root wheel 1024 Nov 17 1993 lib
19 drwxr-xr-x 6 1094 wheel 1024 Sep 13 19:07 pub
20 drwxr-xr-x 3 root wheel 1024 Jan 3 1994 usr
21 -rw-r--r-- 1 root root 312 Aug 1 1994 welcome.msg
28 python ftplib.py -d localhost -l -p -l
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_virtualenv.py22 venv_prefix = venv.run(["python" , "-c", "import sys; print(sys.prefix)"]).strip()
31 cmd = ["python", "-m", "pip", "install", str(setuptools_wheel)]
49 reason="https://github.com/pypa/setuptools/pull/2865#issuecomment-965834995",
52 # ^-- Even when it is not necessary to install a different version of `pip`
53 # the build process will still try to download `wheel`, see #3147 and #2986.
73 # Install pip/wheel, in a venv without setuptools (as it
76 venv.run(["pip", "install", "-U", "wheel"])
78 venv.run(["python", "-m", "pip", "install", "-U", pip_version, "--retries=1"])
80 # Meta-test to make sure setuptools is not installed
81 venv.run(["python", "-c", "import setuptools"])
[all …]
/external/python/setuptools/setuptools/
Dwheel.py21 r"""^(?P<project_name>.+?)-(?P<version>\d.*?)
22 ((-(?P<build>\d.*?))?-(?P<py_version>.+?)-(?P<abi>.+?)-(?P<platform>.+?)
52 class Wheel: class
57 raise ValueError('invalid wheel name: %r' % filename)
63 '''List tags (py_version, abi, platform) supported by this wheel.'''
71 '''Is the wheel is compatible with the current platform?'''
83 # find the correct name of the .dist-info dir in the wheel file
86 if (dirname.endswith('.dist-info') and
90 raise ValueError("unsupported wheel format. .dist-info not found")
93 '''Install wheel as an egg directory.'''
[all …]
/external/python/cpython2/Lib/
Dftplib.py13 drwxr-xr-x 8 root wheel 1024 Jan 3 1994 .
14 drwxr-xr-x 8 root wheel 1024 Jan 3 1994 ..
15 drwxr-xr-x 2 root wheel 1024 Jan 3 1994 bin
16 drwxr-xr-x 2 root wheel 1024 Jan 3 1994 etc
17 d-wxrwxr-x 2 ftp wheel 1024 Sep 5 13:43 incoming
18 drwxr-xr-x 2 root wheel 1024 Nov 17 1993 lib
19 drwxr-xr-x 6 1094 wheel 1024 Sep 13 19:07 pub
20 drwxr-xr-x 3 root wheel 1024 Jan 3 1994 usr
21 -rw-r--r-- 1 root root 312 Aug 1 1994 welcome.msg
28 python ftplib.py -d localhost -l -p -l
[all …]
/external/tensorflow/tensorflow/tools/ci_build/release/
Dmac_build_utils.sh8 # http://www.apache.org/licenses/LICENSE-2.0
19 set -e
20 set -x
28 # Write an entry to the sponge key-value store for this job.
30 # The location of the key-value CSV file sponge imports.
35 # Runs bazel build and saves wheel files them in PIP_WHL_DIR
38 if [[ -z "${1}" ]]; then
39 die "Missing wheel file path to install and test build"
45 mkdir -p "${PIP_WHL_DIR}"
48 VENV_DIR=".tf-venv"
[all …]
/external/python/markupsafe/.github/workflows/
Dtests.yaml5 - master
6 - '*.x'
9 - master
10 - '*.x'
14 runs-on: ${{ matrix.os }}
16 fail-fast: false
19 - {name: Linux, python: '3.8', os: ubuntu-latest, tox: py38}
20 - {name: Windows, python: '3.8', os: windows-latest, tox: py38}
21 - {name: Mac, python: '3.8', os: macos-latest, tox: py38}
22 - {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
[all …]
/external/python/jinja/.github/workflows/
Dtests.yaml5 - master
6 - '*.x'
9 - master
10 - '*.x'
14 runs-on: ${{ matrix.os }}
16 fail-fast: false
19 - {name: Linux, python: '3.8', os: ubuntu-latest, tox: py38}
20 - {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
21 - {name: '3.6', python: '3.6', os: ubuntu-latest, tox: py36}
22 - {name: 'PyPy', python: pypy3, os: ubuntu-latest, tox: pypy3}
[all …]

123456