#!/bin/sh -e
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
python -m installer -d "$1" .dist/*.whl
rm -rf "$1/usr/share/polkit-1"