Commit c034d62c3885b778bcea4e8fff64ab218d1f257e

Authored by Antonio Terceiro
Committed by Sergio Oliveira
1 parent 3811d05d

vagrant: support colab on /vagrant/colab

This covers the use case of colab being alongside other software in the
root of a larger project.
Showing 1 changed file with 8 additions and 2 deletions   Show diff stats
vagrant/provision.sh
... ... @@ -14,8 +14,14 @@ fi
14 14  
15 15 workon colab
16 16  
17   -pip install -r /vagrant/requirements.txt
18   -pip install -e /vagrant
  17 +for dir in /vagrant/colab /vagrant; do
  18 + if [ -f $dir/setup.py ]; then
  19 + basedir="$dir"
  20 + break
  21 + fi
  22 +done
  23 +pip install -r $basedir/requirements.txt
  24 +pip install -e $basedir
19 25  
20 26 if [ ! -s /etc/colab/settings.yaml ]; then
21 27 colab-init-config > /etc/colab/settings.yaml
... ...