[Distutils] setuptools in fink

Kurt Schwehr schwehr at gmail.com
Thu Mar 30 01:42:41 CEST 2006

Phillip and others,

Does this look like it is installed correctly?  Or is it that I am calling
setup.py when I should be calling ez_setup?  And what should I pass to
ez_setup?  It does look like setuptools are installed incorrectly since
easy_install -h does not run.  So what is the right way?


easy_install -h
Traceback (most recent call last):
  File "/sw/bin/easy_install", line 5, in ?
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

cat /sw/lib/python2.4/site-packages/setuptools.pth

dpkg -L setuptools-py24 | head -n 15

On 3/29/06, Phillip J. Eby <pje at telecommunity.com> wrote:
> At 10:40 AM 3/29/2006 -0500, Kurt Schwehr wrote:
> >This makes me think setup tools is ok since it is in the default
> >site-packages:
> >
> >& /sw/bin/python2.4
> >Python 2.4.2 (#1, Feb 24 2006, 17:05:21)
> >[GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin
> >Type "help", "copyright", "credits" or "license" for more information.
> > >>> from ez_setup import use_setuptools
> You didn't *call* use_setuptools, or import setuptools itself, so this
> doesn't actually mean that setuptools is okay.  The error message below is
> displayed when use_setuptools() is *called*, not when it's imported.
> My guess is that setuptools isn't actually on the path, either because it
> didn't install correctly, or because the configuration for building
> SQLAlchemy doesn't specify that its build requires setuptools.
> >But then the SQLAlchemy build tries to pull down setuptools, which I
> don't
> >want it to do:
> >
> >CC=gcc-3.3 /sw/bin/python2.4 setup.py build
> >
> >---------------------------------------------------------------------------
> >This script requires setuptools version 0.6a5 to run (even to display
> >help).  I will attempt to download it for you (from
> ><http://cheeseshop.python.org/packages/2.4/s/setuptools/>
> http://cheeseshop.python.org/packages/2.4/s/setuptools/
> >), but
> >you may need to enable firewall access for this script first.
> >I will start the download in 15 seconds.
> >---------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20060329/9f4843fd/attachment.html 

More information about the Distutils-SIG mailing list