[pkg] update setup.py script to make it pip installable [applied]