-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (61 loc) · 2.12 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (61 loc) · 2.12 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tinymoon"
version = "0.11.0"
description = "Zero-dependency vanilla JS/CSS UI framework with a conformance checker CLI"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{ name = "smm-h", email = "smmh72@gmail.com" },
]
keywords = ["ui", "framework", "vanilla-js", "css", "zero-dependency", "rlsbl"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
# Own-ecosystem dependency: never capped, always latest. The floor is the
# minimum version whose API this CLI actually uses (0.41.0 made flag presence a
# mandatory declaration and added the `presence=` keyword that `--dir` now
# passes); without it, a fresh install can resolve an older strictcli that
# rejects the keyword and crashes at import.
dependencies = [
"strictcli>=0.41.0",
]
[project.scripts]
tinymoon = "tinymoon.cli:main"
[project.urls]
Homepage = "https://github.com/smm-h/tinymoon"
Repository = "https://github.com/smm-h/tinymoon"
[tool.hatch.build.targets.wheel]
packages = ["tinymoon"]
# Ship the framework assets inside the wheel.
[tool.hatch.build.targets.wheel.force-include]
"assets" = "tinymoon/assets"
# Explicit sdist include: keep only the package, assets, tests, and
# essential root files. Excludes .rlsbl/, .github/, CLAUDE.md, etc.
#
# Every pattern is anchored with a leading slash. Hatchling matches these the
# way gitignore does, so an unanchored "tests/" or "README.md" matches at every
# depth and sweeps in any nested directory or file of that name -- including
# scratch directories that git ignores but the build backend does not.
# tests/test_sdist_manifest.py pins the anchoring.
[tool.hatch.build.targets.sdist]
include = [
"/tinymoon/",
"/assets/",
"/tests/",
"/README.md",
"/LICENSE",
"/pyproject.toml",
]
[dependency-groups]
dev = [
"pytest>=9.1.1",
]