Some basic changes that allow setup.py to work with both Python 2 and 3.
Authored by: ryanmay 2010-07-09
Parent: [r8536]
Child: [r8538]