-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathpyproject.toml
98 lines (86 loc) · 2.6 KB
/
pyproject.toml
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
[project]
name = "ultimate-sitemap-parser"
version = "1.1.0"
description = "A performant library for parsing and crawling sitemaps"
authors = [
{ name = "Linas Valiukas", email = "[email protected]"},
{ name = "Hal Roberts", email = "[email protected]"},
{ name = "Freddy Heppell", email = "[email protected]"},
]
maintainers = [
{ name = "Freddy Heppell", email = "[email protected]"},
]
license = "GPL-3.0-or-later"
readme = "README.rst"
keywords = ["sitemap", "crawler", "indexing", "xml", "rss", "atom", "google news"]
dynamic = ["classifiers"]
requires-python = ">=3.8"
dependencies = [
"python-dateutil (>=2.7,<3.0.0)",
"requests (>=2.2.1,<3.0.0)"
]
[project.urls]
homepage = "https://ultimate-sitemap-parser.readthedocs.io/"
documentation = "https://ultimate-sitemap-parser.readthedocs.io/"
repository = "https://github.com/GateNLP/ultimate-sitemap-parser"
[project.scripts]
usp = 'usp.cli:main'
[tool.poetry]
requires-poetry = ">=2.0"
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Markup :: XML',
]
packages = [
{ include = "usp" }
]
[tool.poetry.dependencies]
# Specify upper bound for locking
python = ">=3.8,<4.0"
[tool.poetry.group.dev.dependencies]
requests-mock = ">=1.6.0,<2.0"
pytest = "^8.3.0"
ruff = "^0.6.1"
vcrpy = "6.0.1"
pytest-mock = "^3.14.0"
[tool.poetry.group.perf]
optional = true
[tool.poetry.group.perf.dependencies]
pytest-memray = "^1.7.0"
pyinstrument = "^4.7.2"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = { version = "^8.0.2", python = "^3.10" }
sphinx-autobuild = { version = "^2024.04.16", python = "^3.10"}
sphinx-design = {version = "^0.6.1", python = "^3.10"}
furo = {version = "^2024.8.6", python = "^3.10"}
sphinxext-opengraph = {version = "^0.9.1", python = "^3.10"}
sphinx-copybutton = {version = "^0.5.2", python = "^3.10"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py38"
extend-exclude = ["docs/*"]
[tool.ruff.lint]
select = [
"E4",
"E7",
"E9",
"F",
"UP",
"PT"
]
[tool.pytest.ini_options]
junit_suite_name = "ultimate-sitemap-parser"
junit_duration_report = "call"
log_cli = true
log_cli_level = "WARNING"