Addon Odoo Wheel Builder
A standards-compliant Python build backend to package individual Odoo addons. The main idea and the code is taken from sbidoul/whool.
Quick Usage
[build-system]
requires = ["addon-odoo-wheel"]
build-backend = "addon_odoo_wheel.builder"
This config will produce a wheel and the module will be available in the odoo/addons namespace.
See complete doc at addon-odoo-wheel to config.
Well Know Odoo contributors
In src/addon_odoo_wheel/well_know.py you can find the contributors.
To register your company, you only need to add class like class MyCompanyContributor(Contributor):
class _YourComanyAddonContributor(WellKnowAddonContributor):
names = ["Author Name"] # Place here all the `author` used in your company
def get_mail(self, odoo_serie_info:OdooSeries|None) -> str|None:
# Place here your mail
return None
def get_package_prefix(self, odoo_series:OdooSeries|None) -> str:
# Place here your package prefix by default is `addon-odoo`
TODO
- Add more option to the
WellKnowAddonContributorclass - Use a plugin system
pluggyto add contributors - Improve the documentation
Metadata
Release files for addon-odoo-wheel 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| addon_odoo_wheel-0.5.1.tar.gz | 49.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| addon_odoo_wheel-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.2 kB
Release files / addon_odoo_wheel-0.5.1.tar.gz
| Download URL | addon_odoo_wheel-0.5.1.tar.gz |
|---|---|
| Size | 49.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
864be0f673cf83f410eb92356b4d857730d65113d4dfd12132e89502eea85a3a
|
|
BLAKE2b-256 checksum How to use checksums |
8b3db3cd2e7ee356281a9e6f30c85f85158a803a1cc8acb66dcb67e43002c489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / addon_odoo_wheel-0.5.1-py3-none-any.whl
| Download URL | addon_odoo_wheel-0.5.1-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66a26aefbd3b397afc17f425bbf59e9c2c13d9efdfb6397176bb1b5b9ac0776a
|
|
BLAKE2b-256 checksum How to use checksums |
02ff3d2a4e8fe6912bca5a4293a678b127af5093655586daa392e3528599b506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|