Skip to content

[IMP] Add pyproject.toml files #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

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