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 54
|
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hatch-nodejs-version"
description = "Hatch plugin for versioning from a package.json file"
authors = [
{name = "Angus Hollands", email = "goosey15@gmail.com"},
{name = "Frédéric Collonval" },
]
dependencies = [
"hatchling>=0.21.0"
]
requires-python = ">= 3.9"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Framework :: Hatch",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version"]
[project.entry-points.hatch]
nodejs = "hatch_nodejs_version.hooks"
[project.urls]
Homepage = "https://github.com/agoose77/hatch-nodejs-version"
"Issue Tracker" = "https://github.com/agoose77/hatch-nodejs-version/issues"
"Source Code" = "https://github.com/agoose77/hatch-nodejs-version"
[dependency-groups]
test = ["pytest>=7.0"]
[tool.hatch.version]
path = "hatch_nodejs_version/_version.py"
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
exclude = "extern"
[tool.isort]
profile = "black"
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.0.1",
]
|