[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", ]