annotate pyproject.toml @ 26:ec575bfd68cd v0.4.0

Reduce noise by oversampling a bunch!
author Paul Fisher <paul@pfish.zone>
date Sun, 02 Mar 2025 19:33:38 -0500
parents 2ec668fdec88
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
1 [build-system]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
2 requires = ["hatchling", "hatch-vcs"]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
3 build-backend = "hatchling.build"
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
4
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
5 [project]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
6 name = "weatherlog"
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
7 dynamic = ["version"]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
8 requires-python = ">=3.7"
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
9 dependencies = [
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
10 "attrs",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
11 "pymongo",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
12 "pytz",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
13 "requests",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
14 "RPi.bme280",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
15 "smbus2",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
16 "toml",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
17 ]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
18
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
19 [project.scripts]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
20 weatherlogd = "weatherlog.daemon:main"
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
21
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
22 [tool.hatch.version]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
23 source = "vcs"
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
24
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
25 [tool.hatch.build.targets.sdist]
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
26 include = [
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
27 "/weatherlog",
e0bf84641c09 Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
28 ]