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:28:12
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

Indeed:

$ ls /tmp/test/lib/python2.7/site-packages/odoo/addons
base      test_access_rights  test_converter       test_impex     test_limits     test_pylint      test_workflow
__init__.py   test_assetsbundle   test_documentation_examples  test_inherit   test_mimetypes  test_read_group
__init__.pyc  test_convert  test_exceptions       test_inherits  test_new_api    test_uninstall

Did you ever get into this?

Thanks


--
Lorenzo Battistini
Tel (CH): +41 91 210 23 40
Tel (IT): +39 0331 158 7090 

Reference