[SciPy-user] egg dependency?

David M. Cooke cookedm at physics.mcmaster.ca
Fri Dec 2 16:59:01 EST 2005


John Hunter <jdhunter at ace.bsd.uchicago.edu> writes:

> I just tried to install the new scipy 0.6.1 on my ubuntu linux, and
> got hit with
>
> peds-pc311:~/python/src/scipy_core-0.6.1> spsi
> Running from scipy core source directory.
> Traceback (most recent call last):
>   File "setup.py", line 38, in ?
>     setup_package()
>   File "setup.py", line 7, in setup_package
>     from scipy.distutils.core import setup
>   File "/home/jdhunter/python/src/scipy_core-0.6.1/scipy/distutils/core.py", line 42, in ?
>     from setuptools.command import bdist_egg, develop, easy_install, egg_info
> ImportError: cannot import name bdist_egg
>
> If the goal is to make scipy core as easy to install as Numeric, is it
> wise to require an egg dependency? In my understanding, egg still has
> installation issues of it's own -- eg, it is not installed with the
> python2.4 in Ubuntu Hoary, which is only 6-7 months old.

I snuck that in at some point, sorry. As Robert pointed, out there is
a check at the top for setuptools. I think you have an old setuptools
installed (bdist_egg was added in March: pre-0.3a2 at least!). I've
committed a fix to svn that checks if bdist_egg can be found also.

Oh, and the latest Numeric does the same thing (haven't fixed that yet).

BTW, this doesn't mean that scipy is eggable yet :-) I think egging
scipy.core is fine, but you can't add scipy full. I've got to figure
out how to use setuptools' namespace feature, which is complicated by
the fact that the scipy.__init__ included with scipy.core is (very
much) not empty.

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca




More information about the SciPy-User mailing list