Merge "install LIBS_FROM_GIT using python 2 and 3 where appropriate"
This commit is contained in:
commit
0e1e78117e
10
inc/python
10
inc/python
@ -413,6 +413,16 @@ function setup_lib {
|
|||||||
function setup_dev_lib {
|
function setup_dev_lib {
|
||||||
local name=$1
|
local name=$1
|
||||||
local dir=${GITDIR[$name]}
|
local dir=${GITDIR[$name]}
|
||||||
|
if python3_enabled; then
|
||||||
|
# Turn off Python 3 mode and install the package again,
|
||||||
|
# forcing a Python 2 installation. This ensures that all libs
|
||||||
|
# being used for development are installed under both versions
|
||||||
|
# of Python.
|
||||||
|
echo "Installing $name again without Python 3 enabled"
|
||||||
|
USE_PYTHON3=False
|
||||||
|
setup_develop $dir
|
||||||
|
USE_PYTHON3=True
|
||||||
|
fi
|
||||||
setup_develop $dir
|
setup_develop $dir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user