Mercurial > personal > weatherlog
annotate 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 |
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 license = "" |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
9 requires-python = ">=3.7" |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
10 dependencies = [ |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
11 "attrs", |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
12 "pymongo", |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
13 "pytz", |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
14 "requests", |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
15 "RPi.bme280", |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
16 "smbus2", |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
17 "toml", |
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 |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
20 [project.scripts] |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
21 weatherlogd = "weatherlog.daemon:main" |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
22 |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
23 [tool.hatch.version] |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
24 source = "vcs" |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
25 |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
26 [tool.hatch.build.targets.sdist] |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
27 include = [ |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
28 "/weatherlog", |
e0bf84641c09
Move to using Hatch and VCS-based version.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
29 ] |