| 1 |
[build-system] |
| 2 |
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=6.0"] |
| 3 |
build-backend = "setuptools.build_meta" |
| 4 |
|
| 5 |
[project] |
| 6 |
name = "jsonpickle" |
| 7 |
authors = [ |
| 8 |
{ name = "Theelx" }, |
| 9 |
{ name = "David Aguilar", email = "[email protected]" }, |
| 10 |
] |
| 11 |
description = "jsonpickle encodes/decodes any Python object to/from JSON" |
| 12 |
classifiers = [ |
| 13 |
"Development Status :: 5 - Production/Stable", |
| 14 |
"Intended Audience :: Developers", |
| 15 |
"License :: OSI Approved :: BSD License", |
| 16 |
"Programming Language :: Python :: 3", |
| 17 |
"Programming Language :: Python :: 3 :: Only", |
| 18 |
] |
| 19 |
requires-python = ">=3.8" |
| 20 |
dependencies = [ |
| 21 |
] |
| 22 |
dynamic = ["version"] |
| 23 |
|
| 24 |
[project.readme] |
| 25 |
file = "README.rst" |
| 26 |
content-type = "text/x-rst" |
| 27 |
|
| 28 |
[project.urls] |
| 29 |
Documentation = "https://jsonpickle.readthedocs.io/" |
| 30 |
Homepage = "https://jsonpickle.readthedocs.io/" |
| 31 |
Source = "https://github.com/jsonpickle/jsonpickle" |
| 32 |
|
| 33 |
[project.optional-dependencies] |
| 34 |
cov = [ |
| 35 |
"pytest-cov", |
| 36 |
] |
| 37 |
dev = [ |
| 38 |
"black", |
| 39 |
"pyupgrade", |
| 40 |
] |
| 41 |
testing = [ |
| 42 |
# core |
| 43 |
"pytest >= 6.0, != 8.1.*", |
| 44 |
"pytest-benchmark", |
| 45 |
"pytest-benchmark[histogram]", |
| 46 |
"pytest-checkdocs >= 1.2.3", |
| 47 |
"pytest-enabler >= 1.0.1", |
| 48 |
"pytest-ruff >= 0.2.1", |
| 49 |
# local |
| 50 |
"bson", |
| 51 |
"ecdsa", |
| 52 |
"feedparser", |
| 53 |
"gmpy2", |
| 54 |
"numpy", |
| 55 |
"pandas", |
| 56 |
"pymongo", |
| 57 |
"PyYAML", |
| 58 |
"scikit-learn", |
| 59 |
"scipy>=1.9.3; python_version > '3.10'", |
| 60 |
"scipy; python_version <= '3.10'", |
| 61 |
"simplejson", |
| 62 |
"sqlalchemy", |
| 63 |
"ujson", |
| 64 |
# fuzzing |
| 65 |
"atheris ~= 2.3.0; python_version < '3.12'", |
| 66 |
] |
| 67 |
docs = [ |
| 68 |
"furo", |
| 69 |
"rst.linker >= 1.9", |
| 70 |
"sphinx >= 3.5", |
| 71 |
] |
| 72 |
packaging = [ |
| 73 |
"build", |
| 74 |
"setuptools>=61.2", |
| 75 |
"setuptools_scm[toml]>=6.0", |
| 76 |
"twine", |
| 77 |
] |
| 78 |
|
| 79 |
[tool.setuptools] |
| 80 |
packages = [ |
| 81 |
"jsonpickle", |
| 82 |
"jsonpickle.ext", |
| 83 |
] |
| 84 |
include-package-data = true |
| 85 |
license-files = ["LICENSE"] |
| 86 |
|
| 87 |
[tool.black] |
| 88 |
skip-string-normalization = true |
| 89 |
|
| 90 |
[tool.setuptools_scm] |
| 91 |
|
| 92 |
[tool.pytest-enabler.ruff] |
| 93 |
addopts = "--ruff" |
| 94 |
|
| 95 |
[tool.ruff.lint] |
| 96 |
# E721 Do not compare types -> jsonpickle compares types using "is" for performance. |
| 97 |
ignore = ["E721"] |