Simplifying setup.py logic.