A library to help packaging Odoo addons with setuptools. It mainly populates the usual setup.py keywords from the Odoo manifest files.
GNU Lesser General Public License v3.0
41
stars
46
forks
source link
setuptools-odoo-makedefault --metapackage option #25
Closed
sbidoul closed 6 years ago
Add an option to
setuptools-odoo-makedefault
to create a python metapackage that has all addons of the repo has dependencies. Example resulting wheels for the OCA/web repo: https://wheelhouse.odoo-community.org/oca-simple/odoo10-addons-oca-web/New option:
--metapackage {name}
The metapackage is a setup.py file in
odoo{series}-addons-{name}
install_requires
entry for each existingsetup/*/setup.py
{series.0}.{YYYYMMDD}
There is existing code that does more or less this in OCA/maintainer-tools. Moving it here will facilitate maintenance.
Also, making the metapackage setup.py explicit makes thing easier to understand and test.