Revert "Simplify setup.py"

This reverts commit 8a051b82ca4ece5172795f3f223044fbc58056ce.
Try again