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:
Monsyne Dragon 2015-09-16 17:17:52 +00:00
parent 54fcb6c622
commit 89f3bd0dae
1 changed files with 9 additions and 1 deletions

View File

@ -95,6 +95,14 @@ pip install librabbitmq
# Needed by pyrax:
pip install pbr
if [[ "$PACKAGE" = true ]]
then
BUILDFLAGS=""
else
BUILDFLAGS="-e"
fi
if [[ "$QUICK" = false || "$PACKAGE" = true ]]
then
for file in $SOURCE_DIR/*
@ -102,7 +110,7 @@ then
echo "----------------------- $file ------------------------------"
cd $file
rm -rf build dist
pip install --force-reinstall -e .
pip install --force-reinstall $BUILDFLAGS .
cd ../..
done
fi