I want to release my simple python script which use some extended module such as argparse and watchdog. I don’t think it reasonable to make the assumption that user of my script already has these modules installed. So I think I should include a configure script to test user environment (if I can automatically install these missing modules, that couldn’t be better:P) in the release.
My question is: is there any utilities like configure for c program. If no such things, is it possible to adapt configure to python environment? Otherwise I have to compose some from scratch:(.
Thanks and best regards.
use PIP with a text file stating all required modules.
like so:
see:
http://www.pip-installer.org/en/latest/requirements.html