| 1 |
# SPDX-FileCopyrightText: 2013 Fatih Erikli. |
| 2 |
# SPDX-FileCopyrightText: 2014, 2015, 2016 CERN. |
| 3 |
# SPDX-FileCopyrightText: 2016 CERN. |
| 4 |
# SPDX-FileCopyrightText: 2017, 2019 ETH Zurich, Swiss Data Science Center, Jiri Kuncar. |
| 5 |
# SPDX-FileCopyrightText: 2026 TU Wien. |
| 6 |
# SPDX-License-Identifier: MIT |
| 7 |
|
| 8 |
[project] |
| 9 |
name = "dictdiffer" |
| 10 |
description = "Dictdiffer is a library that helps you to diff and patch dictionaries." |
| 11 |
readme = "README.rst" |
| 12 |
requires-python = ">=3.7" |
| 13 |
license = "MIT" |
| 14 |
authors = [ |
| 15 |
{ name = "Invenio Collaboration", email = "[email protected]" }, |
| 16 |
] |
| 17 |
classifiers = [ |
| 18 |
"Development Status :: 5 - Production/Stable", |
| 19 |
"Intended Audience :: Developers", |
| 20 |
"License :: OSI Approved :: MIT License", |
| 21 |
"Operating System :: OS Independent", |
| 22 |
"Programming Language :: Python :: 3", |
| 23 |
"Programming Language :: Python :: 3.5", |
| 24 |
"Programming Language :: Python :: 3.6", |
| 25 |
"Programming Language :: Python :: 3.7", |
| 26 |
"Programming Language :: Python :: 3.8", |
| 27 |
"Programming Language :: Python :: 3.9", |
| 28 |
"Topic :: Utilities", |
| 29 |
] |
| 30 |
dynamic = ["version"] |
| 31 |
|
| 32 |
[project.urls] |
| 33 |
Changelog = "https://github.com/inveniosoftware/dictdiffer/blob/master/CHANGES" |
| 34 |
Docs = "https://dictdiffer.rtfd.io/" |
| 35 |
Homepage = "https://github.com/inveniosoftware/dictdiffer" |
| 36 |
|
| 37 |
[project.optional-dependencies] |
| 38 |
docs = [ |
| 39 |
"sphinx-rtd-theme>=0.2", |
| 40 |
"sphinx>=3", |
| 41 |
] |
| 42 |
numpy = [ |
| 43 |
"numpy>=1.20.0", |
| 44 |
] |
| 45 |
tests = [ |
| 46 |
"mock>=1.3.0", |
| 47 |
"pycodestyle>=2.10.0", |
| 48 |
"pytest-cov>=2.10.1", |
| 49 |
"pytest-isort>=1.2.0", |
| 50 |
"pytest-pydocstyle>=2.2.0", |
| 51 |
"pytest>=6,<9", |
| 52 |
"sphinx>=3", |
| 53 |
"tox>=3.7.0", |
| 54 |
] |
| 55 |
|
| 56 |
[build-system] |
| 57 |
requires = ["hatch-vcs", "hatchling"] |
| 58 |
build-backend = "hatchling.build" |
| 59 |
|
| 60 |
[tool.hatch.version] |
| 61 |
path = "dictdiffer/version.py" |
| 62 |
|
| 63 |
[tool.hatch.build.targets.sdist] |
| 64 |
include = [ |
| 65 |
"/dictdiffer", |
| 66 |
] |
| 67 |
|
| 68 |
[tool.isort] |
| 69 |
profile = "black" |
| 70 |
|
| 71 |
[tool.pydocstyle] |
| 72 |
add_ignore = "" |
| 73 |
|
| 74 |
[tool.pytest.ini_options] |
| 75 |
addopts = '--isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=dictdiffer --cov-report=term-missing' |
| 76 |
testpaths = "tests dictdiffer" |
| 77 |
live_server_scope = "module" |