[SciPy-dev] Scikits, installation of setuptools required ?

Robert Kern robert.kern at gmail.com
Fri May 25 13:06:29 EDT 2007


David Cournapeau wrote:
> Hi,
> 
>     I was trying to test my package converted for scikits on windows. I 
> never use windows, so I install the bare minimum to test my python 
> packages, which does not contain setuptools. One the point of setuptools 
> was to be able to boostrap itself anyway from what I understood.
>     This works ok, up to the point where when I want to run it, I have a 
> failure because pkg_resources is not found (in the scikits/__init__.py). 
> Does that mean that we cannot use the bootstraping capability of 
> setuptools, and we require setuptools to be installed ? Or did I do 
> something wrong ?

I do not recommend using the ez_setup bootstrap. It is deprecated. Yes,
setuptools is required to be installed. See here for instructions:

  http://www.python.org/pypi/setuptools/0.6c5

You should be importing setuptools in your setup.py script, too, before you
import numpy.distutils.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco



More information about the SciPy-Dev mailing list