Add setup.py.
Make library python3 compatible.
Merge branch 'setuptools'