couple fixes to merged in code for python3
update setup script so i can pip install