Fix setup.py so it is backwards compatible with pip 1.1

Update setup.py so it is compatible with pip 1.1.