Skip to content
Snippets Groups Projects
pyproject.toml 1.84 KiB
Newer Older
arthur.mayer's avatar
arthur.mayer committed
[project]
name = "odoo-addon-account_period"
dynamic = ["version"]
readme = "README.rst"
requires-python = "~=3.10"
arthur.mayer's avatar
arthur.mayer committed
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.10",
  "Programming Language :: Python :: 3.11",
arthur.mayer's avatar
arthur.mayer committed
  "Framework :: Odoo",
  "Framework :: Odoo :: 16.0",
  "License :: OSI Approved :: GNU Affero General Public License v3"
]
dependencies = [
  "odoo==16.0.*",
  "odoo-test-helper ==2.1.0",
  "odoo-addon-account-fiscal-year  >=16.0.1,<16.0.2",
  "odoo-addon-date-range  >=16.0.1,<16.0.2",
  "odoo-addon-onchange-helper >=16.0.1,<16.0.2",
]

[project.optional-dependencies]
doc = ["sphinx", "sphinx-odoo-autodoc", "odoo-scripts"]
arthur.mayer's avatar
arthur.mayer committed
test = []

[project.urls]
repository = "https://orus.io/xcg/odoo-modules/account_period"
changelog = "https://orus.io/xcg/odoo-modules/account_period/-/blob/branch/16.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/account_period"
[tool.hatch.version]
source = "vcs"
arthur.mayer's avatar
arthur.mayer committed

[tool.black]
target-version = ["py310", "py311"]
required-version = "22"
Vincent Hatakeyama's avatar
Vincent Hatakeyama committed
[tool.isort]
arthur.mayer's avatar
arthur.mayer committed
py_version = 310
Vincent Hatakeyama's avatar
Vincent Hatakeyama committed
profile = "black"
known_odoo = ['odoo']
known_odoo_addons = ['odoo.addons']
sections = [
  'FUTURE',
  'STDLIB',
  'THIRDPARTY',
  'ODOO',
  'ODOO_ADDONS',
  'FIRSTPARTY',
  'LOCALFOLDER'
]