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

Chris Withers chris at simplistix.co.uk
Mon Feb 16 14:38:49 CET 2009


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?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list