annotate pyproject.toml @ 38:d5a18ecebf47

Convert to Hatch pyproject.toml.
author Paul Fisher <paul@pfish.zone>
date Tue, 01 Apr 2025 15:46:16 -0400
parents
children b77c8e7d2742
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
1 [build-system]
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
2 requires = ["hatchling", "hatch-vcs"]
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
3 build-backend = "hatchling.build"
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
4
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
5 [project]
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
6 name = "weather-server"
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
7 dynamic = ["version"]
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
8 requires-python = ">=3.7"
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
9 dependencies = [
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
10 "attrs",
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
11 "flask",
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
12 "flup",
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
13 "pymongo",
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
14 "pytz",
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
15 ]
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
16
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
17 [tool.hatch.version]
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
18 source = "vcs"
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
19
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
20 [tool.hatch.build.targets.sdist]
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
21 include = [
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
22 "/weather_server",
d5a18ecebf47 Convert to Hatch pyproject.toml.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
23 ]