diff options
| author | Brett Curran <brettjcurran@gmail.com> | 2026-05-29 17:17:48 +1000 |
|---|---|---|
| committer | Brett Curran <brettjcurran@gmail.com> | 2026-05-29 17:17:48 +1000 |
| commit | fd3d3911734b4de3158521a589d511128a9e3810 (patch) | |
| tree | 5e87d630196b308ec1ee15b752f78c6b3a2e7ced /pyproject.toml | |
init
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4255c1d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,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 = [] |
