cocos2d/cocos2d-x — pull request #5564 by minggo (2014-03-05 09:07:11+00:00)
Title: make setup script smart

* install.py -> setup.py
* will add environment variable in `~/.bash_profile`, `~/.bash_login` or `~/.profile` if exists. Will create `~/.bash_profile` if none of them exists, and write environment variable.
* will not add environment variable more than one time
* will output the result if successful