-
Notifications
You must be signed in to change notification settings - Fork 510
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (71 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (71 loc) · 2.1 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
83
84
85
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools >= 77.0",
]
[project]
name = "dateparser"
version = "1.4.2"
description = "Date parsing library designed to parse dates from HTML pages"
authors = [
{ name = "Scrapinghub", email = "opensource@zyte.com" },
]
license = "BSD-3-Clause"
keywords = ["dateparser"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"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",
]
requires-python = ">=3.10"
dynamic = ["readme"]
dependencies = [
"python-dateutil>=2.7.0",
"pytz>=2024.2",
"regex>=2024.9.11",
"tzlocal>=0.2",
]
[project.optional-dependencies]
calendars = ["convertdate>=2.2.1", "hijridate"]
langdetect = ["langdetect>=1.0.0"]
[project.urls]
Source = "https://github.com/scrapinghub/dateparser"
History = "https://dateparser.readthedocs.io/en/latest/history.html"
[project.scripts]
dateparser-download = "dateparser_cli.cli:entrance"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.packages.find]
namespaces = false
exclude = ["tests", "tests.*"]
[tool.bumpversion]
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "dateparser/__init__.py"
[[tool.bumpversion.files]]
filename = 'HISTORY.rst'
search = "\\(unreleased\\)$"
replace = "({now:%Y-%m-%d})"
regex = true
[[tool.bumpversion.files]]
filename = "SECURITY.md"
parse = """(?P<major>0|[1-9]\\d*)\\.(?P<minor>0|[1-9]\\d*)"""
serialize = ["{major}.{minor}"]
[tool.ruff]
exclude = ["date_translation_data"]
[tool.ruff.lint.per-file-ignores]
"dateparser/data/__init__.py" = ["F401"]
"dateparser/languages/__init__.py" = ["F401"]