summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 4255c1d00b021969f7dc325f0611b81e7ce4c059 (plain)
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
[project]
name = "xwing-sensor"
version = "0.3.0"
description = "SI7021 temperature/humidity sensor display for Waveshare 2.13in e-Paper HAT"
requires-python = ">=3.13"
dependencies = [
    "smbus2",
    "Pillow",
    "RPi.GPIO",
    "spidev",
    "gpiozero",
    "lgpio",
]

[project.scripts]
xwing-sensor = "xwing_sensor.main:main"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/xwing_sensor"]

[tool.bumpversion]
current_version = "0.3.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
moveable_tags = []
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []