Doesn't setuptools use easy_install to get the additional dependencies you specify in a setup.py? I'm asking because say I have a setup.py and in the install_requires = ["numpy"]. Now if I run python setup.py install, it gives a error:
_configtest.c:1:20: error: Python.h: No such file or directory
_configtest.c:1:20: error: Python.h: No such file or directory
lipo: can't figure out the architecture type of: /var/tmp//cciDxELX.out
_configtest.c:1:20: error: Python.h: No such file or directory
_configtest.c:1:20: error: Python.h: No such file or directory
However if I run easy_install numpy works. What could cause this kind of behaviour?