post_install() {
  set -e
  cd /usr/share/wifibroot
  python2 -m virtualenv venv
  source venv/bin/activate &&
    pip2 install --isolated --root="/usr/share/wifibroot" --prefix='venv' \
      'scapy==2.4.0' 'pbkdf2' 'future'
}

post_upgrade() {
  post_install "$@"
}

