Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
151 lines (138 loc) 路 3.55 KB
/
Copy pathpyproject.toml
File metadata and controls
151 lines (138 loc) 路 3.55 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[project]
name = "abxpkg"
version = "1.13.39"
description = "System package manager interfaces with Python type hints"
authors = [{name = "Nick Sweeting"}, {name = "ArchiveBox"}]
requires-python = ">=3.12,<3.15"
license = {text = "MIT"}
readme = "README.md"
keywords = [
"pydantic",
"packagemanager",
"apt",
"brew",
"pip",
"nix",
"cargo",
"gem",
"docker",
"pyinfra",
"ansible",
"devops",
"system",
"dependencies",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: Django",
"Framework :: Django :: 4.0",
"Framework :: Django :: 5.0",
"Framework :: Django :: 6.0",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Natural Language :: English",
]
dependencies = [
"typing-extensions>=4.15.0",
"platformdirs>=4.9.2",
"pydantic>=2.12.5",
"rich-click>=1.9.7",
]
[project.scripts]
abxpkg = "abxpkg.cli:main"
abx = "abxpkg.cli:abx_main"
[project.optional-dependencies]
rich = [
"rich>=14.0.0",
]
abxbus = [
"abxbus>=2.5.9",
]
pyinfra = [
'pyinfra>=3.6.1',
]
ansible = [
'ansible>=12.3.0',
'ansible-core>=2.0.0',
'ansible-runner>=2.4.2',
]
all = [
"abxpkg[rich,abxbus,pyinfra,ansible]",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["abxpkg"]
[tool.hatch.build.targets.sdist]
include = [
"abxpkg/**",
"README.md",
"LICENSE",
"pyproject.toml",
]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pyright",
"django>=4.0",
"django-stubs>=5.0.0",
"django-admin-data-views>=0.3.1",
"django-pydantic-field>=0.3.9",
"django-jsonform>=2.22.0",
"abxbus>=2.5.9",
"pytest>=9.0.3,<9.1", # pytest-codeblocks still uses the collect hook removed in 9.1.
"pytest-codeblocks>=0.17.0",
"pytest-github-actions-annotate-failures>=0.4.0",
"rich>=14.0.0",
"prek>=0.3.6",
"ruff>=0.15.7",
"ty>=0.0.24",
"pytest-asyncio>=1.3.0",
"playwright>=1.63.0",
"pytest-xdist>=3.8.0",
]
[tool.mypy]
mypy_path = "abxpkg"
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
plugins = [
"mypy_django_plugin.main",
]
[tool.pyright]
include = ["abxpkg", "tests", "django_example_project/project"]
exclude = [
"**/node_modules",
"**/__pycache__",
"**/migrations",
]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.12"
pythonPlatform = "Linux"
[tool.pytest.ini_options]
testpaths = ["tests", "README.md", "django_example_project/README.md", "AGENTS.md", "skills", "docs"]
addopts = ["--codeblocks"]
markers = [
"root_required: tests that require root privileges and run in the privileged live-integration job",
"docker_required: tests that require a working Docker daemon and run in the Linux live-integration job",
"live_required: documentation examples that require provisioned package-manager runtimes or live indexes",
]
[tool.ty.src]
exclude = [
"**/migrations/**",
"docs/**",
]
[project.urls]
Homepage = "https://abxpkg.archivebox.io/"
Source = "https://github.com/ArchiveBox/abxpkg"
Documentation = "https://abxpkg.archivebox.io/"
"Bug Tracker" = "https://github.com/ArchiveBox/abxpkg/issues"
Changelog = "https://github.com/ArchiveBox/abxpkg/releases"
Donate = "https://github.com/ArchiveBox/ArchiveBox/wiki/Donations"