-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (41 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (41 loc) · 1.25 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
[project]
name = "makepatch"
version = "0.3.0"
description = "Git-based patch tool for Python packages: source forks (paperweight-style) and installed-package patches (pnpm-style)"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
]
classifiers = [
"Framework :: Hatch",
"Programming Language :: Python :: 3",
]
[dependency-groups]
dev = [
"basedpyright>=1.40.1",
"hatchling>=1.21",
"mypy>=2.3.1",
"pytest>=8",
"ruff>=0.16.9",
"ty>=0.0.84",
]
[project.urls]
source = "https://github.com/MadeByAlpha/makepatch.git"
issues = "https://github.com/MadeByAlpha/makepatch/issues"
[project.scripts]
makepatch = "makepatch.cli:main"
[project.entry-points.hatch]
makepatch = "makepatch.hatch.hooks"
[tool.uv]
# Rebuild when the sources change while makepatch is used as a path dependency
# (e.g. as a build requirement of a fork during development).
cache-keys = [{ file = "pyproject.toml" }, { file = "src/**/*.py" }, { file = "src/*.pth" }]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/makepatch"]
[tool.hatch.build.targets.wheel.force-include]
"src/makepatch-startup.pth" = "makepatch-startup.pth"
[tool.pytest.ini_options]
testpaths = ["tests"]