Ditched PyPI, integrated new dependency resolution.

Things were pretty dodgy before, but now I'm pretty sure everything is working.