Re-add some pretty critical things from setup.py to make this work again.