-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (59 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
67 lines (59 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[build-system]
requires = ["setuptools>=61.0"] # Specify a modern setuptools version
build-backend = "setuptools.build_meta"
[project]
name = "xsdata_odoo"
dynamic = ["version"]
description = "xsdata Odoo abstract model generator plugin"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
{ name = "Raphaël Valyi", email = "raphael.valyi@akretion.com" },
]
keywords = ["xsd", "wsdl", "schema", "xml", "uml", "odoo", "generator", "cli"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Code Generators",
"Topic :: Text Processing :: Markup :: XML",
]
dependencies = [
"babel",
"nltk",
"ruff",
"lxml>=4.4.1",
"xsdata[cli]>=25.0",
]
[project.urls]
Source = "https://github.com/akretion/xsdata-odoo"
# Homepage = "https://github.com/akretion/xsdata-odoo" # Often the same as Source or a dedicated project page
[project.entry-points."xsdata.plugins.cli"]
xsdata_odoo = "xsdata_odoo.hook"
[project.optional-dependencies]
test = [
"codecov",
"pre-commit",
"pytest",
"pytest-cov",
]
# Tool-specific configurations
[tool.setuptools]
packages = ["xsdata_odoo"]
include-package-data = true
package-data = { "xsdata_odoo" = ["templates/*.jinja2"] }
[tool.setuptools.dynamic]
version = {attr = "xsdata_odoo.__version__"}
# Configure Ruff if you're standardizing on it. Example:
[tool.ruff]
line-length = 88