Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (74 loc) · 2.38 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools" ]
[project]
name = "tika"
description = "Apache Tika Python library"
readme = "README.md"
keywords = [ "tika", "digital", "babel fish", "apache" ]
license = "Apache-2.0"
authors = [ { name = "Chris Mattmann", email = "chris.mattmann@gmail.com" } ]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Database :: Front-Ends",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = [ "version" ]
dependencies = [
"beautifulsoup4>=4.13.3",
"requests",
]
[dependency-groups]
tests = [
"memory-profiler",
"pytest>=9.0.3",
"pytest-benchmark",
"pytest-cov",
]
# Marked for 3.12 and up because that is what these versions actually need:
# sphinx 9.1 requires >=3.12, and furo pulls sphinx. requires-python here is
# >=3.10 for the library itself, and uv resolves every supported version at
# once, so without these markers `uv run --group tests` fails to resolve on
# 3.10 and 3.11 over a documentation dependency. CI builds the docs on 3.14.
docs = [
"furo>=2025.12.19; python_version>='3.12'",
"myst-parser>=5.0; python_version>='3.12'",
"sphinx>=9.1; python_version>='3.12'",
]
[project.urls]
homepage = "http://github.com/chrismattmann/tika-python"
repository = "http://github.com/chrismattmann/tika-python.git"
documentation = "https://chrismattmann.github.io/tika-python"
[project.scripts]
tika-python = "tika.tika:main"
[tool.setuptools]
packages.find.include = [
"tika*",
]
[tool.setuptools.dynamic]
version = {attr = "tika.__version__"}
[tool.pytest]
minversion = "9.0"
addopts = [ "-ra", "--showlocals", "--strict-config", "--strict-markers" ]
log_level = "INFO"
xfail_strict = true
testpaths = [ "tests" ]
[tool.coverage]
run.source = [ "tika" ]
run.branch = true
report.skip_covered = true
report.show_missing = true