Files
p2pkg/pyproject.toml

39 lines
907 B
TOML
Raw Normal View History

2025-12-20 11:46:06 +01:00
[build-system]
requires = ["hatchling>=1.24.2"]
build-backend = "hatchling.build"
2025-12-20 11:46:06 +01:00
[project]
name = "p2pkg"
version = "0.1.0"
description = "One-off refactor helper: migrate foo.py -> foo/__main__.py and generate foo/__init__.py that re-exports public API."
2025-12-20 11:46:06 +01:00
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Kevin Veen-Birkenbach" }
]
keywords = ["refactor", "python", "imports", "package"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Quality Assurance"
]
2025-12-20 11:46:06 +01:00
[project.scripts]
p2pkg = "p2pkg.__main__:main"
2025-12-20 11:46:06 +01:00
[tool.hatch.build.targets.wheel]
packages = ["src/p2pkg"]
2025-12-20 11:46:06 +01:00
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/tools",
"/README.md",
"/LICENSE",
"/Makefile",
"/pyproject.toml",
]