refactor setup.py so that it can print install_requires, needed for testing