Add support for python 3 distributions.
Merge pull request #1 from jiaweihli/python3

Add support for python 3 distributions.