[Distutils] creating rpms of setuptools, sqlobject and formencode
Pau Aliagas
pau at newtral.org
Sat Oct 22 18:30:13 CEST 2005
On Fri, 21 Oct 2005, Phillip J. Eby wrote:
>> + /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.
>> ---------------------------------------------------------------------------
>> Downloading
>> http://cheeseshop.python.org/packages/2.3/s/setuptools/setuptools-0.6a5-py2.3.egg
>>
>> But it is installed in:
>> /usr/lib/python2.3/site-packages/setuptools-0.6a5-py2.3.egg
Everything is installed in:
/usr/lib/python2.3/site-packages/setuptools-0.6a5-py2.3.egg/
> 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.
This is it, there's the path to site-packages, not directly to the egg.
$ /usr/bin/python -c "import sys; print sys.path"
['', '/home/pau/include', '/var/www/html/include_parametres',
'/var/www/html/include', '/usr/lib/python23.zip', '/usr/lib/python2.3',
'/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',
'/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages/Numeric',
'/usr/lib/python2.3/site-packages/PIL',
'/usr/lib/python2.3/site-packages/gtk-2.0']
What am I doing wrong?
--
Pau
More information about the Distutils-SIG
mailing list