Python: fixed some bugs in new setup.py