Files
Odoo-Build/pyproject.toml
T
Janik von Rotz 9dd6dbae1f fix(core): rename native to source and add hatch-odoo support
* Rename `native` option to `source` in task commands and documentation
* Add `hatch-odoo` dependency and configure pyproject.toml for Odoo builds
* Introduce `start hatch` command option for running Odoo with hatch
* Update compose template with `DB_NAME` and `DB_FILTER` environment variables
* Add `LIST_DB` environment variable with default value
* Improve install script to setup odoo-build with hatch-odoo
* Update help table and documentation to reflect new options and changes
* Add pre-migrate.py template file
2025-10-22 16:50:22 +02:00

31 lines
691 B
TOML

[build-system]
requires = ["hatchling", "hatch-odoo"]
build-backend = "hatchling.build"
[project]
name = "odoo-build"
version = "1.0"
readme = "README.md"
requires-python = ">=3.8"
dynamic = ["dependencies"]
[tool.hatch.metadata.hooks.odoo-addons-dependencies]
[tool.hatch.build.hooks.odoo-addons-dirs]
[tool.hatch-odoo]
odoo_version_override = "18.0"
dependencies = ["odoo-apps-Odoo-Apps-Server-Tools"]
addons_dirs = ["."]
[tool.hatch.build.targets.wheel]
packages = ["."]
[tool.ruff]
line-length = 120
extend-select = ["I", "F", "UP", "TID", "YTT", "E", "W"]
exclude = ["venv*", ".venv*"]
fix = true
unsafe-fixes = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"