Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: how to use odoo setuptools

by
TAKOBI s.r.l., Lorenzo Battistini.
- 03/03/2017 17:49:51
On 3 March 2017 at 17:44, Lorenzo Battistini <lorenzo.battistini@agilebg.com> wrote:
On 3 March 2017 at 17:28, Lorenzo Battistini <lorenzo.battistini@agilebg.com> wrote:
On 1 February 2017 at 15:07, <Bidoul@pad.odoo-community.org> wrote:
Or package it with

pip wheel git+http://github.com/acsone/odoo@10.0-myprj


It seems this produces a package without addons: I built my local odoo repo with pip wheel . 
But, after having installed it, starting odoo I get

  File "/tmp/test/lib/python2.7/site-packages/odoo/modules/module.py", line 60, in load_module
    f, path, (_suffix, _mode, type_) = imp.find_module(addon_name, ad_paths)
ImportError: No module named web


It seems I have to manually move 'addons' dir to 'odoo' dir, then build it 


Additional info: after having built odoo this way, the problem described at
does not occur

Reference