I'm not sure that this is the best place for this. Why not just install the phantomjs binary, copy or symlink it to somewhere on the $PATH (`/usr/local/bin` is a typical choice), and use `subprocess.call(["which", "phantomjs"])` below in `functional_tests.py`? That seems more lightweight and flexible to me.