Skip to content
Snippets Groups Projects
  • Stéphane Bidoul's avatar
    389c2ba9
    [REF] packaging: make odoo a namespaced package · 389c2ba9
    Stéphane Bidoul authored
    by auto-extending addons path with odoo.addons.__path__.
    
    This patch also introduce
      * an explicit declaration of odoo.addons as a namespace package
        This is necessary because the standard way of declaring namespace
        packages in setup.py does not work as long as odoo/__init__.py
        contains code.
      * a more reliable way to find odoo root path.
    389c2ba9
    History
    [REF] packaging: make odoo a namespaced package
    Stéphane Bidoul authored
    by auto-extending addons path with odoo.addons.__path__.
    
    This patch also introduce
      * an explicit declaration of odoo.addons as a namespace package
        This is necessary because the standard way of declaring namespace
        packages in setup.py does not work as long as odoo/__init__.py
        contains code.
      * a more reliable way to find odoo root path.
odoo-bin 143 B