@rkh: Where would be the proper place to call the wrapper function? Also, I don't know of a way to check if setuptools is installed (other than launching a Python script which tries to import it).