Contributors mailing list archives


Re: how to use odoo setuptools

Lorenzo Battistini.
- 03/03/2017 16:49:51
On 3 March 2017 at 17:44, Lorenzo Battistini <> wrote:
On 3 March 2017 at 17:28, Lorenzo Battistini <> wrote:
On 1 February 2017 at 15:07, <> wrote:
Or package it with

pip wheel git+

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/", 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