Supersede: Templated setup.py.

Supersede #436.
I think is ready to be merged.