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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
[build-system]
requires = ["setuptools >= 77.0"]
build-backend = "setuptools.build_meta"
[project]
name = "xmlschema"
version = "4.1.0"
description = "An XML Schema validator and decoder"
readme = "README.rst"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.9"
authors = [
{ name = "Davide Brunato", email = "brunato@sissa.it" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"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 :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
"Topic :: Text Processing :: Markup :: XML",
]
dependencies = [
"elementpath>=5.0.1, <6.0.0",
]
[project.optional-dependencies]
codegen = [
"jinja2",
]
dev = [
"coverage",
"flake8",
"lxml",
"lxml-stubs",
"mypy",
"psutil",
"tox",
"xmlschema[docs]",
]
docs = [
"jinja2",
"sphinx",
"sphinx_rtd_theme",
]
[project.scripts]
xmlschema-json2xml = "xmlschema.cli:json2xml"
xmlschema-validate = "xmlschema.cli:validate"
xmlschema-xml2json = "xmlschema.cli:xml2json"
[project.urls]
Homepage = "https://github.com/sissaschool/xmlschema"
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
xmlschema = [
'py.typed',
'locale/**/*.mo',
'locale/**/*.po',
'schemas/*/*.xsd',
'extras/templates/*/*.jinja'
]
[tool.setuptools.packages.find]
include = ["xmlschema*"]
namespaces = false
[tool.mypy]
show_error_code_links = true
[tool.coverage.run]
branch = true
source = ["xmlschema"]
omit = ["xmlschema/testing/*", "xmlschema/utils/protocols.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError()",
'in self._etree_iterparse\(',
]
|