|
1 |
| -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "brreg"
|
3 | 3 | version = "1.2.0"
|
4 | 4 | description = "API client for Brønnøysundregistrene."
|
5 |
| -authors = [ "Stein Magnus Jodal <[email protected]>"] |
6 |
| -license = "Apache-2.0" |
| 5 | +authors = [ { name = "Stein Magnus Jodal", email = "[email protected]" }] |
| 6 | +requires-python = ">=3.9" |
7 | 7 | readme = "README.md"
|
8 |
| -homepage = "https://github.com/crdbrd/python-brreg" |
9 |
| -repository = "https://github.com/crdbrd/python-brreg" |
10 |
| -documentation = "https://brreg.readthedocs.io" |
| 8 | +license = "Apache-2.0" |
11 | 9 | keywords = ["brreg", "enhetsregisteret"]
|
12 | 10 | classifiers = [
|
13 | 11 | "Development Status :: 5 - Production/Stable",
|
14 | 12 | "Intended Audience :: Developers",
|
15 | 13 | "Topic :: Software Development :: Libraries",
|
16 | 14 | ]
|
17 |
| - |
18 |
| -[tool.poetry.dependencies] |
19 |
| -python = "^3.9.0" |
20 |
| -httpx = ">= 0.24" |
21 |
| -pydantic = ">= 2" |
22 |
| - |
23 |
| -[tool.poetry.group.dev.dependencies] |
24 |
| -nox = ">=2024.10.9,<2026.0.0" |
25 |
| - |
26 |
| -[tool.poetry.group.docs.dependencies] |
27 |
| -sphinx = ">= 5.3" |
28 |
| -sphinx-rtd-theme = ">= 1.2" |
29 |
| -sphinx-autodoc-typehints = ">= 1.12" |
30 |
| - |
31 |
| -[tool.poetry.group.mypy.dependencies] |
32 |
| -mypy = "^1.11.1" |
33 |
| - |
34 |
| -[tool.poetry.group.pyright.dependencies] |
35 |
| -pyright = "^1.1.394" |
36 |
| - |
37 |
| -[tool.poetry.group.ruff.dependencies] |
38 |
| -ruff = "0.9.6" |
39 |
| - |
40 |
| -[tool.poetry.group.tests.dependencies] |
41 |
| -coverage = { extras = ["toml"], version = "^7.4.1" } |
42 |
| -pytest = ">=7.4.4,<9.0.0" |
43 |
| -pytest-cov = ">=4.1,<7.0" |
44 |
| -pytest-httpx = "0.35.0" |
45 |
| -pytest-watcher = "^0.4.1" |
| 15 | +dependencies = ["httpx>=0.24", "pydantic>=2"] |
| 16 | + |
| 17 | +[project.urls] |
| 18 | +Homepage = "https://github.com/crdbrd/python-brreg" |
| 19 | +Repository = "https://github.com/crdbrd/python-brreg" |
| 20 | +Documentation = "https://brreg.readthedocs.io" |
| 21 | + |
| 22 | +[dependency-groups] |
| 23 | +dev = [ |
| 24 | + "nox>=2024.10.9", |
| 25 | + { include-group = "docs" }, |
| 26 | + { include-group = "mypy" }, |
| 27 | + { include-group = "pyright" }, |
| 28 | + { include-group = "ruff" }, |
| 29 | + { include-group = "tests" }, |
| 30 | +] |
| 31 | +docs = [ |
| 32 | + "sphinx>=5.3", |
| 33 | + "sphinx-rtd-theme>=1.2", |
| 34 | + "sphinx-autodoc-typehints>=1.12", |
| 35 | +] |
| 36 | +mypy = ["mypy==1.11.1"] |
| 37 | +pyright = ["pyright==1.1.394"] |
| 38 | +ruff = ["ruff==0.9.6"] |
| 39 | +tests = [ |
| 40 | + "coverage[toml]>=7.4.1", |
| 41 | + "pytest>=7.4.4", |
| 42 | + "pytest-cov>=4.1", |
| 43 | + "pytest-httpx==0.35.0", |
| 44 | + "pytest-watcher>=0.4.1", |
| 45 | +] |
46 | 46 |
|
47 | 47 |
|
48 | 48 | [tool.coverage.paths]
|
@@ -113,5 +113,5 @@ reportPrivateUsage = false
|
113 | 113 |
|
114 | 114 |
|
115 | 115 | [build-system]
|
116 |
| -requires = ["poetry-core>=1.0"] |
117 |
| -build-backend = "poetry.core.masonry.api" |
| 116 | +requires = ["hatchling"] |
| 117 | +build-backend = "hatchling.build" |
0 commit comments