Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (41 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
45 lines (41 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "label-filter"
version = "0.4.0"
description = "A small glob-like pattern language for filtering lists of objects by their labels. Parsed to an IR, never compiled to a regex."
readme = "README.md"
requires-python = ">=3.9"
# **The SPDX string, not a file path.** It said `{ file = "../LICENSE.txt" }`, and PEP 621 resolves a
# license file relative to THIS project root, so the path escaped the package and named nothing a build
# could read: the same defect shape as the specification silently not shipping. A licence file is staged
# beside this manifest at build time instead, by `hatch` picking up LICENSE.txt below.
license = "MIT"
authors = [{ name = "Steven Spungin" }]
keywords = ["filter", "pattern", "glob", "label", "match"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Text Processing :: Filters",
]
# published: true — read by site/build.mjs; PyPI has no manifest flag to read, so this line is the
# only statement of it. Flipped 2026-10-17, when the package actually went to PyPI rather than when it
# was ready to.
#
# **No dependencies, and none for the tests either.** The conformance runner uses `json` and
# `unittest` from the standard library, so the fixture stays the only thing shared between
# implementations.
dependencies = []
[project.urls]
Homepage = "https://www.code-evolve.com/resources/label-filter"
Repository = "https://github.com/code-evolve/label-filter"
Issues = "https://github.com/code-evolve/label-filter/issues"
# **The sdist carries `.gitignore`, and there is no configuration that stops it.** Tried three ways
# and measured each: a bare `[tool.hatch.build] exclude`, the same on the sdist target, and all three
# spellings of the pattern at once. The file is in the archive every time, because hatchling always
# includes it in an sdist. **So no `exclude` is written here**, rather than a line that reads as doing
# the work while hatchling ignores it. It is harmless and ordinary in a published sdist, and the wheel
# never carried it, because the wheel ships only the package directory.
[tool.hatch.build.targets.wheel]
packages = ["label_filter"]