split install.py to install.[bat|sh]