My problem might be closely related. In /usr/lib/python2.6/distutils/distutils.cfg, there are the following lines:
[install]
prefix=/usr/local
as a way so all further (non-bundled) Python installations go into /usr/local instead of /usr. The installed /usr/local/bin/openerp-client has:
cd /usr/lib/python2.6/site-packages/openerp-client
I changed it to be:
cd /usr/local/lib/python2.6/dist-packages/openerp-client
I guess we do not argue on the fact that "/local" was missing. About whether "site-packages" or "dist-packages" is to be preferred, I've no strong opinion, yet whatever gets used, should work.
Also, the generated ~/.openerprc got the following lines:
My problem might be closely related. In /usr/lib/ python2. 6/distutils/ distutils. cfg, there are the following lines:
[install]
prefix=/usr/local
as a way so all further (non-bundled) Python installations go into /usr/local instead of /usr. The installed /usr/local/ bin/openerp- client has:
cd /usr/lib/ python2. 6/site- packages/ openerp- client
I changed it to be:
cd /usr/local/ lib/python2. 6/dist- packages/ openerp- client
I guess we do not argue on the fact that "/local" was missing. About whether "site-packages" or "dist-packages" is to be preferred, I've no strong opinion, yet whatever gets used, should work.
Also, the generated ~/.openerprc got the following lines:
pixmaps = /usr/share/ pixmaps/ openerp- client openerp- client
share = /usr/share/
which I need to change so they read:
pixmaps = /usr/local/ share/pixmaps/ openerp- client share/openerp- client
share = /usr/local/
Thanks for listening. François.