Is it possible to have distutils just run the python module dependency analysis (and possibly install missing modules) without actually installing the python module in question? I imagine a command as follows:
./setup.py check-dependencies
that would report if any dependent modules are missing on the target system.
I think the closest you can get is:
which means to run a dry-run (
-n) in verbose (-v) mode.You could also use the distuitls.dep_util module, it wouldn’t work as an option of
setup.pythough.HTH!