datastar/sdk/python/pyproject.toml

86 lines
2.3 KiB
TOML

[project]
name = "datastar-py"
description = "Helper functions and classes for the Datastar library (https://data-star.dev/)"
readme = "README.md"
authors = [
{ name = "Felix Ingram", email = "f.ingram@gmail.com" },
{ name = "Lucian Knock", email = "git@lucianknock.com" }
]
requires-python = ">=3.9"
dependencies = []
dynamic=["version"]
license = {text = "MIT"}
keywords = ["datastar", "django", "fastapi", "fasthtml", "flask", "quart", "sanic", "html"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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",
]
[project.urls]
Documentation = "https://github.com/starfederation/datastar/blob/develop/sdk/python/README.md"
GitHub = "https://github.com/starfederation/datastar"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"django>=4.2.17",
"fastapi[standard]>=0.115.4",
"python-fasthtml>=0.12.0; python_version > '3.10'",
"flask[async]>=3.0.3",
"quart>=0.19.9",
"sanic>=24.6.0",
"starlette>=0.46.1",
"uvicorn>=0.32.1",
]
[tool.hatch.version]
path = "src/datastar_py/__about__.py"
[[tool.bumpversion.files]]
filename = "src/datastar_py/__about__.py"
[tool.bumpversion]
current_version = "0.4.2"
parse = """(?x)
(?P<major>\\d+)\\.
(?P<minor>\\d+)\\.
(?P<patch>\\d+)
(?:
\\.post
(?P<postn>0|[1-9]\\d*) # post-release versions
)?
"""
serialize = [
"{major}.{minor}.{patch}.post{postn}",
"{major}.{minor}.{patch}",
]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = true
commit = false
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []