[Distutils] Include (.h) files not installed?

Roberto De Almeida roberto at dealmeida.net
Tue Oct 4 22:51:26 CEST 2005


Hi,

I'm using setuptools to distribute my DAP (Data Access Protocol) module. 
  The module depends on Numeric Python and Scientific Python, so I added 
the following to the setup.py script:

   install_requires = [
                       'Numeric>=22.0',
                       'scientificpython>=2.4.9'
                      ],

There's no download URL for Numeric python in PyPI, so I created a 
package index at http://pydap.org/package_index.html. I then try to 
install my module with:

   easy_install -f http://pydap.org/package_index.html dap

Easy_install downloads and install Numeric, and then proceeds to install 
Scientific. Scientific also depends on Numeric, and requires the include 
file "Numeric/arrayobject.h" to be compiled. The problem is that this 
file is not being installed when easy_install installs Numeric.

Any hints?

TIA,
Roberto


More information about the Distutils-SIG mailing list