[Distutils] creating rpms of setuptools, sqlobject and formencode

Phillip J. Eby pje at telecommunity.com
Fri Oct 21 21:27:26 CEST 2005

At 08:22 PM 10/21/2005 +0200, Pau Aliagas wrote:

>I'm trying to create rpms for sqlobject, as I've been doing for a while, 
>but since it works with setuptools, I'm unable to do it properly.
>sqlobject requires formencode and also requires setuptools. If I build he 
>rpm with the attached specs, it downloads both of them and packs them in 
>the same rpm.
>This is part of the output:
>+ /usr/bin/python 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.3/s/setuptools/), but
>you may need to enable firewall access for this script first.
>I will start the download in 15 seconds.
>But it is installed in:

Is /usr/bin/python the same Python 2.3?  Try this:

     /usr/bin/python -c "import sys; print sys.path"

If the output of this command doesn't include the setuptools egg, then 
/usr/bin/python isn't the right Python to use.

More information about the Distutils-SIG mailing list