Fix incorrect editable flag when packaging.
'editable' flag was being mistakenly set while packaging. Fixed that not to happen. STv3 packages are still editable in development mode, however. Change-Id: I4587477ca39d4026381af22cc9cc32b6ed2e76d9
This commit is contained in:
parent
54fcb6c622
commit
89f3bd0dae
10
build.sh
10
build.sh
@ -95,6 +95,14 @@ pip install librabbitmq
|
|||||||
# Needed by pyrax:
|
# Needed by pyrax:
|
||||||
pip install pbr
|
pip install pbr
|
||||||
|
|
||||||
|
|
||||||
|
if [[ "$PACKAGE" = true ]]
|
||||||
|
then
|
||||||
|
BUILDFLAGS=""
|
||||||
|
else
|
||||||
|
BUILDFLAGS="-e"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$QUICK" = false || "$PACKAGE" = true ]]
|
if [[ "$QUICK" = false || "$PACKAGE" = true ]]
|
||||||
then
|
then
|
||||||
for file in $SOURCE_DIR/*
|
for file in $SOURCE_DIR/*
|
||||||
@ -102,7 +110,7 @@ then
|
|||||||
echo "----------------------- $file ------------------------------"
|
echo "----------------------- $file ------------------------------"
|
||||||
cd $file
|
cd $file
|
||||||
rm -rf build dist
|
rm -rf build dist
|
||||||
pip install --force-reinstall -e .
|
pip install --force-reinstall $BUILDFLAGS .
|
||||||
cd ../..
|
cd ../..
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user