Commit 3936fb41 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

ci: Fix install script

Check correctly for environment variable $VIRTUAL_ENV;
pass option -N in `setup.py develop'.
parent 4ffce6ff
#!/bin/sh
if [ -n $VIRTUAL_ENV ]; then
if [ -n "$VIRTUAL_ENV" ]; then
OPTIONS=--script-dir=$VIRTUAL_ENV/bin/
echo $OPTIONS
else
......@@ -8,13 +8,16 @@ else
fi
set -e
cwd=`dirname $0`
cd "$cwd"/..
. ./ci/config
# Update version
python update_version.py
devflow-update-version
for project in $PROJECTS; do
cd $project
python setup.py develop $OPTIONS
python setup.py develop -N $OPTIONS
cd -
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment