[build-system] # pdm-backend is left here as a dependency of the version discovery script currently in use. # It may be removed in the future. See mkdocstrings/griffe#430 requires = ["hatchling", "pdm-backend"] build-backend = "hatchling.build" [project] name = "griffecli" description = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API." authors = [{name = "Timothée Mazzucotelli", email = "dev@pawamoy.fr"}] license = "ISC" license-files = ["LICENSE"] requires-python = ">=3.10" keywords = ["api", "signature", "breaking-changes", "static-analysis", "dynamic-analysis"] dynamic = ["version", "dependencies"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", # YORE: EOL 3.10: Remove line. "Programming Language :: Python :: 3.10", # YORE: EOL 3.11: Remove line. "Programming Language :: Python :: 3.11", # YORE: EOL 3.12: Remove line. "Programming Language :: Python :: 3.12", # YORE: EOL 3.13: Remove line. "Programming Language :: Python :: 3.13", # YORE: EOL 3.14: Remove line. "Programming Language :: Python :: 3.14", "Topic :: Documentation", "Topic :: Software Development", "Topic :: Software Development :: Documentation", "Topic :: Utilities", "Typing :: Typed", ] [project.scripts] griffecli = "griffecli:main" #[tool.uv-dynamic-versioning] #pattern = '(?P\d+\.\d+\.\d+)' [tool.hatch.version] source = "code" path = "../../scripts/get_version.py" expression = "get_version()" [tool.hatch.build.targets.sdist.force-include] "../../CHANGELOG.md" = "CHANGELOG.md" "../../LICENSE" = "LICENSE" "../../README.md" = "README.md" #[tool.hatch.metadata.hooks.uv-dynamic-iversioning] # Dependencies are dynamically versioned; {{version}} is substituted at build time. #dependencies = ["griffelib=={{version}}", "colorama>=0.4"] [tool.hatch.build.targets.wheel] packages = ["src/griffecli"] [tool.uv.sources] griffelib = { workspace = true }