[SciPy-user] egg dependency?

John Hunter jdhunter at ace.bsd.uchicago.edu
Fri Dec 2 15:40:56 CST 2005


>>>>> "Robert" == Robert Kern <robert.kern at gmail.com> writes:

    Robert> Apparently, it thinks you do have setuptools installed.

I do -- but my setuptools doesn't come with egg.  Go figure.

You may want something along these lines (worked for me)


try:
    from setuptools import setup as old_setup
    from setuptools.command import bdist_egg
    have_setuptools = 1
except ImportError:
    from distutils.core import setup as old_setup
    have_setuptools = 0


Thanks for the help,
JDH



More information about the SciPy-user mailing list