Mercurial > personal > weatherlog
comparison pyproject.toml @ 24:e0bf84641c09
Move to using Hatch and VCS-based version.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 02 Mar 2025 19:16:10 -0500 |
parents | |
children | 2ec668fdec88 |
comparison
equal
deleted
inserted
replaced
23:eed4e73a2441 | 24:e0bf84641c09 |
---|---|
1 [build-system] | |
2 requires = ["hatchling", "hatch-vcs"] | |
3 build-backend = "hatchling.build" | |
4 | |
5 [project] | |
6 name = "weatherlog" | |
7 dynamic = ["version"] | |
8 license = "" | |
9 requires-python = ">=3.7" | |
10 dependencies = [ | |
11 "attrs", | |
12 "pymongo", | |
13 "pytz", | |
14 "requests", | |
15 "RPi.bme280", | |
16 "smbus2", | |
17 "toml", | |
18 ] | |
19 | |
20 [project.scripts] | |
21 weatherlogd = "weatherlog.daemon:main" | |
22 | |
23 [tool.hatch.version] | |
24 source = "vcs" | |
25 | |
26 [tool.hatch.build.targets.sdist] | |
27 include = [ | |
28 "/weatherlog", | |
29 ] |