-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
61 lines (52 loc) · 1.51 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
[build-system]
requires = ["hatchling", "versioningit"]
build-backend = "hatchling.build"
[project]
name = "datapoint"
dynamic = ["version"]
authors = [
{name="Emily Price", email="[email protected]"},
{ name="Jacob Tomlinson"},
]
description = "Python interface to the Met Office's Datapoint API"
readme = "README.md"
requires-python = ">=3.8"
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"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",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
dependencies = [
"requests >= 2.20.0,<3",
"appdirs >=1,<2",
"geojson >= 3.0.0,<4",
]
license = {file = "LICENSE"}
keywords = ["weather", "weather forecast", "Met Office", "DataHub"]
[project.urls]
Homepage = "https://github.com/ejep/datapoint-python"
Documentation = "http://datapoint-python.readthedocs.org/en/latest"
[tool.hatch.build.targets.sdist]
exclude = [
"tests/",
"examples/",
]
[tool.hatch.version]
source = "versioningit"
[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
[tool.versioningit.format]
distance = "{base_version}+post{distance}{vcs}{rev}"
distance-dirty = "{base_version}+post{distance}{vcs}{rev}.d{build_date:%Y%m%d}"
[tool.versioningit.vcs]
default-tag = "0.0.1"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]