This comes from distutils. Apparently newer versions install Python files into site-packages and data files into dist-packages. debian/rules of openerp-server only moves the site-packages subdirectory to /usr/lib/openerp-server.
The solution is to use --install-layout=deb when calling setup.py (or just use dh_auto_install). Everything will be in dist-packages then and can be moved in one piece again. BTW, according to policy/FHS, Python code and data files belong in /usr/share, not /usr/lib. -- Maximilian Gaß Tel.: +49 (0)21 61 / 46 43-126 credativ GmbH, HRB Mönchengladbach 12080 Hohenzollernstr. 133, 41061 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org