Skip to content

Instantly share code, notes, and snippets.

@veryhappythings
Created October 20, 2017 14:34
Show Gist options
  • Save veryhappythings/36973759064659ca30587cc21d16c4af to your computer and use it in GitHub Desktop.
Save veryhappythings/36973759064659ca30587cc21d16c4af to your computer and use it in GitHub Desktop.
Vagrantfile for packaging python libs as debs
# -*- 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