Skip to content
Snippets Groups Projects
Commit d5291153 authored by Etienne Ferriere's avatar Etienne Ferriere
Browse files

Package module

parent c39e5558
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !47. Comments created here will be created in the context of that merge request.
include:
- project: xcg/ci-templates
file: /odoo/13.0/gitlab-ci.yaml
variables:
CI_TEMPLATE_NO_INSTALL_MODULE: ""
# Pylint does not like that the module is installed in a different path than odoo other addons
pylint:
variables:
CI_TEMPLATE_NO_INSTALL_MODULE: "no"
[converter]
pulluri = https://orus.io/xcg/odoo-modules/converter
layout = ../converter
track = 13.0
expand =
......@@ -26,7 +26,7 @@
"author": "XCG Consulting",
"website": "https://odoo.consulting/",
# converter: https://orus.io/xcg/odoo-modules/converter
"depends": ["converter", "mail", "web"],
"depends": ["converter"],
"data": [
"security/ir.model.access.csv",
"views/redner_template.xml",
......@@ -37,5 +37,7 @@
],
"installable": True,
# These dependencies are in the "requirements" file.
"external_dependencies": {"python": ["requests_unixsocket"]},
"external_dependencies": {
"python": ["requests_unixsocket", "fastjsonschema"]
},
}
[project]
name = "odoo-addon-redner"
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-converter >=13.0.3.2.0,<13.0.4",
"requests_unixsocket >=0.3.0"
]
[project.optional-dependencies]
doc = ["sphinx", "sphinx-odoo-autodoc", "odoo-scripts"]
test = []
[project.urls]
repository = "https://orus.io/xcg/odoo-modules/redner"
changelog = "https://orus.io/xcg/odoo-modules/redner/-/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/redner"
[tool.hatch.version]
source = "vcs"
[tool.black]
line-length = 79
......@@ -1,3 +66,31 @@
[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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment