_download#
- rezbuild_utils._download.download_and_install_build(url: str, install_dir_name: str, extract_if_zip: bool = True, use_cache: bool = False) Path #
Download the given url
Can only be called during rez build.
- Parameters:
url – url to download from, ensure it’s a file.
install_dir_name – name of the directory to put the extracted file in.
extract_if_zip – if True automatically extract the file if it is a .zip
use_cache – True to use the cached downloaded file. Will create it the first time.
- Returns:
directory path where the files have been installed.