blob: 690e321809e6c6f04578dbce4a871ce58f091832 [file] [log] [blame]
Patrick East657cdcd2016-07-01 16:08:15 -07001#!/bin/bash
2#
3# lib/os_brick
4# Install **os-brick** python module from source
5
6# Dependencies:
7#
8# - functions
9# - DEST, DATA_DIR must be defined
10
11# stack.sh
12# ---------
13# - install_os_brick
14
15# Save trace setting
16_XTRACE_CINDER=$(set +o | grep xtrace)
17set +o xtrace
18
19
20GITDIR["os-brick"]=$DEST/os-brick
21
22# Install os_brick from git only if requested, otherwise it will be pulled from
23# pip repositories by requirements of projects that need it.
24function install_os_brick {
25 if use_library_from_git "os-brick"; then
26 git_clone_by_name "os-brick"
27 setup_dev_lib "os-brick"
28 fi
29}