I\'m trying to create a generic python script for starting up a python app and I would like to install any dependent python modules if they are missing from the target system.
Way late - but if someone finds him/herself here like I did - this worked for me; (python 3.4). My script was one package down from setup.py. Note, you have to have chmod +x on setup.py, I believe.