updating setup.py for cb 1.2 compatibility.