-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (71 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (71 loc) · 2.3 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
[build-system]
requires = ["hatchling>=1.11.0"]
build-backend = "hatchling.build"
[project]
name = "knmi-py"
version = "0.2.0"
description = "A Python API wrapper for KNMI data."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [
{ name = "Jan", email = "jan@energieid.be" },
{ name = "Oscar", email = "oscar@energieid.be" },
]
keywords = ["knmi", "weather", "data", "pandas", "api", "netherlands"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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",
"Operating System :: OS Independent",
"Natural Language :: English",
"Natural Language :: Dutch",
]
dependencies = ["requests>=2.25.0", "pandas>=1.5.3", "beautifulsoup4>=4.9.0"]
[project.urls]
Homepage = "https://github.com/EnergieID/KNMI-py"
Repository = "https://github.com/EnergieID/KNMI-py"
"Bug Tracker" = "https://github.com/EnergieID/KNMI-py/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/knmi"]
[tool.tox]
requires = ["tox>=4.2", "tox-uv>=1.0"]
env_list = ["py39", "py311", "py312", "py313"]
isolated_build = true
[tool.tox.gh_actions]
python = { "3.9" = "py39", "3.10" = "py310", "3.11" = "py311", "3.12" = "py312", "3.13" = "py313" }
[tool.tox.env_run_base]
description = "Run unit tests with pytest"
package = "uv-editable"
deps = [".[{env:TOX_DEPS_EXTRAS:dev}]"]
change_dir = "{tox_root}"
set_env = { PYTHONPATH = "{tox_root}/src" }
commands = [
["pytest", "{posargs:tests/}"],
]
[tool.tox.env.py39]
description = "Run tests on Python 3.9"
[tool.tox.env.py311]
description = "Run tests on Python 3.11"
[tool.tox.env.py312]
description = "Run tests on Python 3.12"
[tool.tox.env.py313]
description = "Run tests on Python 3.13"
[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"jupyter>=1.1.1",
"pip>=25.1.1",
]