-
Notifications
You must be signed in to change notification settings - Fork 131
/
pyproject.toml
74 lines (66 loc) · 1.88 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "duckduckgo_search"
description = "Search for words, documents, images, news, maps and text translation using the DuckDuckGo.com search engine."
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT License"}
keywords = ["python", "duckduckgo"]
authors = [
{name = "deedy5"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"click>=8.1.7",
"primp>=0.6.5",
]
dynamic = ["version"]
[project.urls] # Optional
"Homepage" = "https://github.com/deedy5/duckduckgo_search"
[project.scripts]
ddgs = "duckduckgo_search.cli:safe_entry_point"
[tool.setuptools.dynamic]
version = {attr = "duckduckgo_search.version.__version__"}
[project.optional-dependencies]
lxml = [
"lxml>=5.2.2",
]
dev = [
"mypy>=1.11.1",
"pytest>=8.3.1",
"pytest-asyncio>=0.23.8",
"ruff>=0.6.1",
]
[tool.ruff]
line-length = 120
exclude = ["tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
[tool.mypy]
python_version = "3.8"
strict = true
exclude = ['cli\.py$', '__main__\.py$', "tests/", "build/"]