Contributors mailing list archives

contributors@odoo-community.org

Re: how to use odoo setuptools

by
Agile Business Group, Lorenzo Battistini
- 03/03/2017 16:44:49
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