Debian Codegraph @

pyproject.toml

raw
1 [build-system]
2 build-backend = "setuptools.build_meta"
3 requires = [
4 "setuptools >= 77.0",
5 ]
6
7 [project]
8 name = "dateparser"
9 version = "1.4.3"
10 description = "Date parsing library designed to parse dates from HTML pages"
11 authors = [
12 { name = "Scrapinghub", email = "[email protected]" },
13 ]
14 license = "BSD-3-Clause"
15 keywords = ["dateparser"]
16 classifiers = [
17 "Development Status :: 5 - Production/Stable",
18 "Intended Audience :: Developers",
19 "Natural Language :: English",
20 "Programming Language :: Python :: 3",
21 "Programming Language :: Python :: 3.10",
22 "Programming Language :: Python :: 3.11",
23 "Programming Language :: Python :: 3.12",
24 "Programming Language :: Python :: 3.13",
25 "Programming Language :: Python :: 3.14",
26 "Programming Language :: Python :: Implementation :: CPython",
27 ]
28 requires-python = ">=3.10"
29 dynamic = ["readme"]
30
31 dependencies = [
32 "python-dateutil>=2.7.0",
33 "pytz>=2024.2",
34 "regex>=2024.9.11",
35 "tzlocal>=0.2",
36 ]
37
38 [project.optional-dependencies]
39 calendars = ["convertdate>=2.2.1", "hijridate"]
40 langdetect = ["langdetect>=1.0.0"]
41
42 [project.urls]
43 Source = "https://github.com/scrapinghub/dateparser"
44 History = "https://dateparser.readthedocs.io/en/latest/history.html"
45
46 [project.scripts]
47 dateparser-download = "dateparser_cli.cli:entrance"
48
49 [tool.setuptools]
50 include-package-data = true
51 zip-safe = false
52
53 [tool.setuptools.packages.find]
54 namespaces = false
55 exclude = ["tests", "tests.*"]
56
57 [tool.bumpversion]
58 commit = true
59 tag = true
60
61 [[tool.bumpversion.files]]
62 filename = "pyproject.toml"
63 search = 'version = "{current_version}"'
64 replace = 'version = "{new_version}"'
65
66 [[tool.bumpversion.files]]
67 filename = "dateparser/__init__.py"
68
69 [[tool.bumpversion.files]]
70 filename = 'HISTORY.rst'
71 search = "\\(unreleased\\)$"
72 replace = "({now:%Y-%m-%d})"
73 regex = true
74
75 [[tool.bumpversion.files]]
76 filename = "SECURITY.md"
77 parse = """(?P<major>0|[1-9]\\d*)\\.(?P<minor>0|[1-9]\\d*)"""
78 serialize = ["{major}.{minor}"]
79
80 [tool.ruff]
81 exclude = ["date_translation_data"]
82
83 [tool.ruff.lint.per-file-ignores]
84 "dateparser/data/__init__.py" = ["F401"]
85 "dateparser/languages/__init__.py" = ["F401"]