-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (107 loc) · 2.64 KB
/
pyproject.toml
File metadata and controls
120 lines (107 loc) · 2.64 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
###############################################################################
#
# Copyright (c) 2025 HERE Europe B.V.
#
# SPDX-License-Identifier: MIT
# License-Filename: LICENSE
#
###############################################################################
[build-system]
requires = [
"setuptools>=82.0.0",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "here-search-demo"
description = "HERE Geocoding and Search demo and widgets"
readme = "README.md"
authors = [ {name = "HERE Global B.V. and its affiliate(s)", email = "590094+decitre@users.noreply.github.com"} ]
license = "MIT"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: WebAssembly :: Emscripten",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"aiohttp",
"ipyleaflet==0.20.0",
"ipywidgets==8.1.8",
"orjson",
"xyzservices==2025.11.0",
"yarl",
]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = {attr = "here_search_demo.__version__"}
[project.urls]
homepage = "https://here.com"
repository = "https://github.com/heremaps/here-search-demo"
[project.optional-dependencies]
lab = [
"ipykernel==6.31.0", # 6.x becasue of https://github.com/jupyter-widgets/ipywidgets/issues/4012
"jupyterlab"
]
route = [
"flexpolyline==0.1.0",
"pyproj==3.7.2",
"shapely",
]
dev = [
"build",
"bumpver",
"pytest",
"pytest-asyncio",
"pytest-cov",
"ruff",
"twine",
"wheel"
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
namespaces = true
[tool.setuptools.package-data]
"here_search_demo" = [
"notebooks/obm_*.ipynb",
"notebooks/*demo.ipynb",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
pythonpath = ["src"]
addopts = "-ra -q"
testpaths = [
"tests",
]
norecursedirs = [
"workspace",
]
[tool.ruff]
line-length = 120
exclude = ["*.ipynb"]
[tool.ruff.lint.isort]
combine-as-imports = true
[bumpver]
current_version = "0.24.2"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[bumpver.file_patterns]
"pyproject.toml" = [
'^current_version = "{version}"',
]
"src/here_search_demo/__init__.py" = [
'__version__ = "{version}"'
]