Python library changes

Updated Python library to use a setuptools-based 'setup.py' script.