stackrc: Make REQUIREMENTS_DIR configurable
In cases where global REQUIREMENTS_DIR is set, use it instead of overwriting it. This is particularly needed in cases where users of pip_install wrapper have the upper-constraints.txt at another location. Change-Id: I34e9f94548c575e1af5bca9655a3b7d1915375a8 Signed-off-by: Flavio Fernandes <flaviof@redhat.com>
This commit is contained in:
parent
63ab664baf
commit
6c15c38f1a
2
stackrc
2
stackrc
@ -240,7 +240,7 @@ WSGI_MODE=${WSGI_MODE:-"uwsgi"}
|
|||||||
GIT_BASE=${GIT_BASE:-https://opendev.org}
|
GIT_BASE=${GIT_BASE:-https://opendev.org}
|
||||||
|
|
||||||
# The location of REQUIREMENTS once cloned
|
# The location of REQUIREMENTS once cloned
|
||||||
REQUIREMENTS_DIR=$DEST/requirements
|
REQUIREMENTS_DIR=${REQUIREMENTS_DIR:-$DEST/requirements}
|
||||||
|
|
||||||
# Which libraries should we install from git instead of using released
|
# Which libraries should we install from git instead of using released
|
||||||
# versions on pypi?
|
# versions on pypi?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user