我见过有些模块有写个属性叫 __path__ ,那么可以:
python -c "import setuptools; print setuptools.__path__"
有写没有的,可以看doc:
import setuptoolshelp(setuptools)