Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 309 for requirement (0.08 seconds)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        class Tester {}
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class);
    
        assertThat(requirements.getPresentFeatures()).isEmpty();
        assertThat(requirements.getAbsentFeatures()).isEmpty();
      }
    
      public void testBuildTesterRequirements_class_empty() throws Exception {
        @Require
        class Tester {}
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. docs/en/docs/deployment/docker.md

    * Using a cloud service that would run a container image for you, etc.
    
    ### Package Requirements { #package-requirements }
    
    You would normally have the **package requirements** for your application in some file.
    
    It would depend mainly on the tool you use to **install** those requirements.
    
    The most common way to do it is to have a file `requirements.txt` with the package names and their versions, one per line.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  3. ci/official/containers/ml_build/setup.python.sh

      grep -v "twine" $REQUIREMENTS > requirements_without_twine.txt
      REQUIREMENTS=requirements_without_twine.txt
    fi
    
    # Disable the cache dir to save image space, and install packages
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 30 20:25:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         * @param requirements Map<String, String> key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. ci/official/requirements_updater/BUILD.bazel

        srcs = [
            "nvidia-requirements.txt",
            "requirements.in",
            ":nvidia_constraints",
        ],
        extra_args = [
            "--allow-unsafe",
            "--build-isolation",
            "--rebuild",
            "-c $(location :nvidia_constraints)",
        ],
        generate_hashes = True,
        requirements_txt = REQUIREMENTS,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 23 11:18:56 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  6. docs/ru/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Тогда в `Dockerfile` нужно изменить пути копирования:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.14
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    # (2)!
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  7. requirements_lock_3_14.txt

        # via -r ci/official/requirements_updater/requirements.in
    
    # The following packages are considered to be unsafe in a requirements file:
    setuptools==78.1.1 \
        --hash=sha256:c3a9c4211ff4c309edb8b8c4f1cbfa7ae324c4ba9f91ff254e3d305b9fd54561 \
        --hash=sha256:fcc17fd9cd898242f6b4adfaca46137a9edef687f43e6f78469692a5e70d851d
        # via
        #   -r ci/official/requirements_updater/requirements.in
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Apr 07 11:39:48 GMT 2026
    - 73.6K bytes
    - Click Count (0)
  8. docs/fr/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Vous n'auriez alors qu'à changer les chemins correspondants pour copier le fichier dans le `Dockerfile` :
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.14
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 32.3K bytes
    - Click Count (0)
  9. docs/zh/docs/deployment/docker.md

    # (2)!
    WORKDIR /code
    
    # (3)!
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)!
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)!
    COPY ./app /code/app
    
    # (6)!
    CMD ["fastapi", "run", "app/main.py", "--port", "80"]
    ```
    
    1. 从官方 Python 基础镜像开始。
    
    2. 将当前工作目录设置为 `/code`。
    
        我们会把 `requirements.txt` 文件和 `app` 目录放在这里。
    
    3. 将依赖文件复制到 `/code` 目录。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  10. docs/es/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Entonces solo tendrías que cambiar las rutas correspondientes para copiar el archivo dentro del `Dockerfile`:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.14
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top