setup.py cleanup

Hi there, 
Here are some setup.py fixes:

* use syntax that is supported by both Python 3 and Python 2;
* respect virtualenv in shebang;
* remove unneeded import;
* fix 2-space, 1-tab and inconsistent indentation;
* use https URL for the repo link.