install.sh 306 Bytes
Newer Older
1
#!/bin/sh
Christos Stavrakakis's avatar
Christos Stavrakakis committed
2

Giorgos Korfiatis's avatar
Giorgos Korfiatis committed
3
if [ -n "$VIRTUAL_ENV" ]; then
4
5
6
7
8
9
  OPTIONS=--script-dir=$VIRTUAL_ENV/bin/
  echo $OPTIONS
else
  OPTIONS=
fi

Christos Stavrakakis's avatar
Christos Stavrakakis committed
10
set -e
Giorgos Korfiatis's avatar
Giorgos Korfiatis committed
11
12
13
cwd=`dirname $0`
cd "$cwd"/..

14
15
. ./ci/config

16
# Update version
Giorgos Korfiatis's avatar
Giorgos Korfiatis committed
17
devflow-update-version
18

19
20
for project in $PROJECTS; do
  cd $project
Giorgos Korfiatis's avatar
Giorgos Korfiatis committed
21
  python setup.py develop -N $OPTIONS
22
23
  cd -
done