blob: 62fd795a011f16abd35f6f38dbf5db752a8297c0 [file] [log] [blame]
Chris Kayd0837902021-11-17 10:17:52 +00001#!/usr/bin/env bash
2
3#
4# Copyright (c) 2021 Arm Limited. All rights reserved.
5#
6# SPDX-License-Identifier: BSD-3-Clause
7#
8
Chris Kay23be56a2021-12-07 16:25:05 +00009python3 -m venv .venv
10
11source .venv/bin/activate
12
13(
14 export PIP_CACHE_DIR=${project_filer}/pip-cache
15
16 python3 -m pip install --upgrade pip
17 python3 -m pip install -r "${tf_root}/docs/requirements.txt" ||
18 python3 -m pip install -r "${tf_root}/docs/requirements.txt" \
19 --no-cache-dir # Avoid cache concurrency issues
20)