Add a tox.ini and (almost) make it work