[Distutils] [buildout] how do I force an egg to rebuild?

Andreas Jung lists at zopyx.com
Mon Feb 16 15:03:44 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16.02.2009 14:38 Uhr, Chris Withers wrote:
> Hi All,
> 
> As a result of the Debian 5.0 release, psycopg2 needs to be recompiled
> to use the new shared library:
> 
>     import psycopg2 as psycopg
>   File "build/bdist.linux-i686/egg/psycopg2/__init__.py", line 60, in
> <module>
>   File "build/bdist.linux-i686/egg/psycopg2/_psycopg.py", line 7, in
> <module>
>   File "build/bdist.linux-i686/egg/psycopg2/_psycopg.py", line 6, in
> __bootstrap__
> ImportError: libpq.so.4: cannot open shared object file: No such file or
> directory
> 
> 
> How do I tell buildout to recompile this egg?
> 
> 

By removing the old one first and reinstalling it?

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkmZckAACgkQCJIWIbr9KYz3ZACeKjpG1vVgEHDOfPoKMUYPxotM
s+UAn0YqRvhzwyOrHR6n0v2lmGjR7kA6
=NTyW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090216/11361a35/attachment.vcf>


More information about the Distutils-SIG mailing list