Some checks failed
CI (tests + ruff) and stable tag / unittest (py3.10) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.11) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.12) (push) Has been cancelled
CI (tests + ruff) and stable tag / unittest (py3.13) (push) Has been cancelled
CI (tests + ruff) and stable tag / ruff (py3.12) (push) Has been cancelled
CI (tests + ruff) and stable tag / Tag stable (if version commit) (push) Has been cancelled
https://chatgpt.com/share/69468609-0584-800f-a3e0-9d58210fb0e8
39 lines
907 B
TOML
39 lines
907 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.24.2"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[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."
|
|
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"
|
|
]
|
|
|
|
[project.scripts]
|
|
p2pkg = "p2pkg.__main__:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/p2pkg"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/src",
|
|
"/tests",
|
|
"/tools",
|
|
"/README.md",
|
|
"/LICENSE",
|
|
"/Makefile",
|
|
"/pyproject.toml",
|
|
]
|