An initial install for devstack-tools, this will need to use all the
fun pip extra variables for installation, however the current
pip_install always prefers python2, and we only want to do python3
here.
Change-Id: I3dcdb35130f76fad81cb7b0d4001b7e96efbbd84
| ... | ... |
@@ -441,6 +441,13 @@ function install_python3 {
|
| 441 | 441 |
fi |
| 442 | 442 |
} |
| 443 | 443 |
|
| 444 |
+function install_devstack_tools {
|
|
| 445 |
+ # intentionally old to ensure devstack-gate has control |
|
| 446 |
+ local dstools_version=${DSTOOLS_VERSION:-0.1.2}
|
|
| 447 |
+ install_python3 |
|
| 448 |
+ sudo pip3 install -U devstack-tools==${dstools_version}
|
|
| 449 |
+} |
|
| 450 |
+ |
|
| 444 | 451 |
# Restore xtrace |
| 445 | 452 |
$INC_PY_TRACE |
| 446 | 453 |
|