Use PyPi to install dependencies

Requires `--pre` argument to `pip`, since package versions may be
interpreted as [pre-releases][1].

[1]: https://github.com/pypa/pip/issues/974