-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (61 loc) · 1.36 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (61 loc) · 1.36 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
[project]
name = "altbrow"
description = "An alternative, crawler-like browser that looks beneath the surface of the semantic web."
readme = "README.md"
requires-python = ">=3.12"
dynamic = ["version"]
authors = [
{ name = "Electrical Smile", email = "esmile@posteo.net" }
]
license = "GPL-3.0-or-later"
# license = { text = "GPL-2.0-or-later" }
# license = { file = "LICENSE" }
dependencies = [
"requests",
"beautifulsoup4",
"lxml",
"extruct",
"rdflib",
"tldextract",
"PyYAML",
"dnspython",
"maxminddb"
]
[project.optional-dependencies]
dev = [
"build",
"ruff",
"pytest",
"mkdocs",
"mkdocstrings[python]",
"mypy",
"pip-tools"
]
[project.urls]
Homepage = "https://tmp.gedankenfalle.de/html5"
Source = "https://github.com/gesmile/altbrow"
# --------------------
# Tool configuration
# --------------------
[build-system]
requires = ["setuptools>=64", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "no-local-version"
[tool.setuptools.packages.find]
include = ["altbrow"]
[tool.ruff]
line-length = 88
indent-width = 2
[tool.isort]
profile = "black"
indent = 2
line_length = 88
[tool.pyright]
typeCheckingMode = "basic"
[project.scripts]
altbrow = "altbrow.main:main"
# [tool.mypy]
# ignore_missing_imports = true
# disable_error_code = ["attr-defined", "import-untyped"]