# HG changeset patch
# User Etienne Ferriere <etienne.ferriere@xcg-consulting.fr>
# Date 1733496559 -3600
#      Fri Dec 06 15:49:19 2024 +0100
# Branch 13.0
# Node ID b361024b3860c5709543db1760905c9df58c325c
# Parent  0f106c99d7da102f63d03d33df802577d812d5da
Package the module.

diff --git a/README.rst b/README.rst
--- a/README.rst
+++ b/README.rst
@@ -36,6 +36,6 @@
 Setup
 -----
 
-In Odoo, add an emitter in :menuselection:`Settings --> Xbus Emitters`.
+In Odoo, add an emitter in menu selection `Settings > Xbus Emitters`.
 
 - Follow `xbus-odoo <https://orus.io/xcg/xbus/xbus-odoo>`_ setup docs.
diff --git a/__manifest__.py b/__manifest__.py
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -25,7 +25,7 @@
     "category": "Technical",
     "author": "XCG Consulting",
     "website": "https://odoo.consulting/",
-    "depends": ["base", "web", "base_context"],
+    "depends": ["web", "base_context"],
     "data": [
         "security/ir.model.access.csv",
         "data/xbus.emitter.csv",
diff --git a/pyproject.toml b/pyproject.toml
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,92 @@
+[project]
+name = "odoo-addon-xbus_emitter"
+dynamic = ["version"]
+readme = "README.rst"
+requires-python = "~=3.8"
+license = { file = "LICENSE", name = "GNU Affero General Public License v3" }
+keywords = ["odoo"]
+authors = [{ name = "XCG Consulting" }]
+classifiers = [
+  "Programming Language :: Python",
+  "Programming Language :: Python :: 3",
+  "Programming Language :: Python :: 3.8",
+  "Framework :: Odoo",
+  "Framework :: Odoo :: 13.0",
+  "License :: OSI Approved :: GNU Affero General Public License v3"
+]
+dependencies = ["odoo ==13.0.*", "odoo-addon-base_context >=13.0.1.0.1,<13.0.2"]
+
+[project.optional-dependencies]
+doc = ["sphinx", "sphinx-odoo-autodoc", "odoo-scripts"]
+test = []
+
+[project.urls]
+repository = "https://orus.io/xcg/odoo-modules/xbus_emitter"
+changelog = "https://orus.io/xcg/odoo-modules/xbus_emitter/-/blob/branch/13.0/NEWS.rst"
+
+[build-system]
+requires = ["hatchling >=1.19", "hatch-vcs"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build]
+exclude = [
+  "/doc/",
+  "/.editorconfig",
+  "/.eslintrc.yml",
+  "/.flake8",
+  "/.gitlab-ci.yml",
+  "/.hgignore",
+  "/.hgtags",
+  "/.prettierrc.yml",
+  "/.yamllint.yaml"
+]
+
+[tool.hatch.build.targets.wheel]
+include = [
+  "*.csv",
+  "/i18n/",
+  "/static/",
+  "README.rst",
+  "*.xml",
+  "*.py",
+  "*.svg",
+  "*.png"
+]
+
+[tool.hatch.build.targets.wheel.sources]
+"" = "odoo/addons/xbus_emitter"
+
+[tool.hatch.version]
+source = "vcs"
+
 [tool.black]
 line-length = 79
-target = 3.8
+target-version = ["py38"]
+required-version = "19.3b0"
+
+[tool.isort]
+py_version = 38
+multi_line_output = 3
+include_trailing_comma = true
+force_grid_wrap = 0
+combine_as_imports = true
+sections = [
+  "FUTURE",
+  "STDLIB",
+  "SPECIAL_THIRD_PARTY",
+  "ODOO",
+  "ODOO_ADDONS",
+  "LOCALFOLDER",
+  "THIRDPARTY"
+]
+known_odoo = ["odoo"]
+known_odoo_addons = ["odoo.addons"]
+known_special_third_party = [
+  "dateutil",
+  "lxml",
+  "mock",
+  "requests",
+  "minio",
+  "werkzeug"
+]
+default_section = "THIRDPARTY"