Created
October 20, 2017 14:34
-
-
Save veryhappythings/36973759064659ca30587cc21d16c4af to your computer and use it in GitHub Desktop.
Vagrantfile for packaging python libs as debs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
INSTALL = <<END | |
sudo apt-get update | |
sudo apt-get install -y python2.7 dh-virtualenv dpkg-dev debhelper | |
curl -O https://bootstrap.pypa.io/get-pip.py | |
sudo python2.7 get-pip.py | |
sudo pip2 install virtualenv make-deb | |
sudo mkdir -p /data/osirium | |
END | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.provision :shell, inline: INSTALL, privileged: false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment