Refactor get_requirements() in setup.py

From what `ipython3` tells me, both of these functions have the same output, except this version gets rid of the flag value. Is this acceptable? I hope I haven't missed something. :)