Skip to content

Conversation

rousseldenis
Copy link

@rousseldenis rousseldenis commented Mar 27, 2025

To support PEP 621 and to be able to install each module separately with python pip command, add a pyproject.toml in each module root.

That one will rely on whool build backend to package individual Odoo addons in an installable one.

https://pypi.org/project/whool/

The module versioning should adopt the 'A.B.X.Y.Z' where A and B are for Odoo version and X, Y and Z for module major, minor and patch ones.

NOTE: this will not harm at all any current install of modules .

@rousseldenis
Copy link
Author

For instance, you can see it's widely adopted in OCA modules like in : https://github.com/OCA/queue/tree/18.0/queue_job

@rousseldenis
Copy link
Author

@pga-odoo

To support PEP 621 and to be able to install each module separately
with python `pip` command, add a pyproject.toml in each
module root.

That one will rely on `whool` build backend to package individual Odoo
addons in an installable one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant