openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #00273
Re: installation as a python package
One tip,
you should use "setuptools "or "distutils" module instead of hard coded
path like:
server/setup.py @ line 124
openerp_site_packages = join('lib', 'python%s' % py_short_version,
'site-packages', 'openerp-server')
more info at:
http://guide.python-distribute.org/
regards,
Nicolas DS
Stephane Wirtel a écrit :
> Ok, I try to fix the problem for trunk and stable.
>
> Thanks
> Davide Corio wrote:
>> Hi *,
>> there is a very urgent (IMHO) issue with the setup.py script of
>> openerp-server.
>>
>> On Ubuntu/Debian (don't know with other distros) the setup installs some
>> files under /usr/local/lib/python2.6/dist-packages and some others
>> under /usr/local/lib/python2.6/site-packages.
>>
>> So, once installed it is necessary to do:
>>
>> mv /usr/local/lib/python2.6/site-packages/openerp-server/*
>> /usr/local/lib/python2.6/dist-packages/openerp-server/
>>
>> otherwise the server won't work.
>>
>> did someone already notice this problem?
>>
>> i know that someone already proposed a solution a long time ago.
>> maybe here:
>> lp:~marrakis/openobject-server/setup-clean
>>
>> regards,
>>
>
>
Follow ups
References