forked from dronekit/dronekit-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
25 lines (23 loc) · 793 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision "shell", inline: <<-SHELL
apt-get -y update
echo "[DroneKit]: Installing build essentials"
apt-get -y install build-essential
echo "[DroneKit]: Installing Python Devel"
apt-get -y install python-dev
echo "[DroneKit]: Installing pip ..."
apt-get -y install python-pip
easy_install -U pip
echo "[DroneKit]: Installing Sphinx ... "
pip install sphinx
cd /vagrant
echo "[DroneKit]: Installing DroneKit-Python requirements.txt ... "
pip install -r requirements.txt
echo "[DroneKit]: Building docs "
cd docs/
make html
SHELL
end