acsone / setuptools-odoo

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

sbidoul commented 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

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.

sbidoul commented 6 years ago

has a install_requires entry for each existing setup/*/setup.py

Or for each installable addon in the repo