Skip to main content

Generic and simple build backend for a single Odoo addon

Project description

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 WellKnowAddonContributor class
  • Use a plugin system pluggy to add contributors
  • Improve the documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

addon_odoo_wheel-0.4.2.tar.gz (48.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

addon_odoo_wheel-0.4.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file addon_odoo_wheel-0.4.2.tar.gz.

File metadata

  • Download URL: addon_odoo_wheel-0.4.2.tar.gz
  • Upload date:
  • Size: 48.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for addon_odoo_wheel-0.4.2.tar.gz
Algorithm Hash digest
SHA256 078839f44f6da1d0205c05c7aac100eca1ae18213b98c6bea3cd1897f71bfb08
MD5 beb7dc6a28e91afced465365bebad10c
BLAKE2b-256 4be11b5f3dd4f06fe33fa75bca47521fb67d6a2e498e3359446debf039aef0e6

See more details on using hashes here.

File details

Details for the file addon_odoo_wheel-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for addon_odoo_wheel-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d6704db8dee6645aae7cdb787aabec55d4da84e419f7cd6b7e8315b058943c
MD5 8d0e93c2ff5e7ffb8503efb19b57276c
BLAKE2b-256 76911a2ef2879314d8bdc5977b35335e88f7bf9b8eb2035afa2cd5eb173c8d22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page