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.3.3.tar.gz (47.3 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.3.3-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: addon_odoo_wheel-0.3.3.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for addon_odoo_wheel-0.3.3.tar.gz
Algorithm Hash digest
SHA256 d579b1826c0b2e174024d64355d11bf8de1f0e42ef36d37bf62ac99702260d91
MD5 a3b2a3b208993400069ab95a606aa9d0
BLAKE2b-256 0924553cdd9be0b4df489699dafd6197ff74038e59629b2f0ae89ca724736303

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for addon_odoo_wheel-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0496efc7c8153c1a73fcf0310ff6fba6d6721bc46a5ca9862ec7ab080975905
MD5 84dc4aaefd3dbbf8320817bbe489f773
BLAKE2b-256 9e026c2789e6f83176ecea7598992673b4c3a0a5ac9b9c84d02647692ec05c9f

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