adGroupSync/pyproject.toml

67 lines
1.6 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "adgroupsync"
version = "1.1.0"
description = "Sync Active Directory groups to CiviCRM"
authors = [
{ name = "Marc Koch", email = "marc.koch@propeace.de" }
]
readme = "README.md"
license = "MIT"
requires-python = ">=3.12"
keywords = ["CiviCRM", "Active Directory"]
dependencies = [
"civifang>=0.2.6",
"httpx>=0.28.1",
"ms-active-directory>=1.14.1",
"python-crontab>=3.2.0",
"pyyaml>=6.0.2",
"tomli-w>=1.2.0",
"validators>=0.34.0",
]
[[tool.uv.index]]
name = "propeace"
url = "https://git.propeace.de/api/packages/ProPeace/pypi/simple/"
publish-url = "https://git.propeace.de/api/packages/ProPeace/pypi"
explicit = true
[tool.uv.sources]
civifang = { index = "propeace" }
[dependency-groups]
dev = [
"bump-my-version>=1.0.2",
"uv>=0.6.5",
]
[project.scripts]
adgroupsync = "adgroupsync.__main__:main"
[tool.bumpversion]
current_version = "1.1.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
files = [
{filename = "src/adgroupsync/__init__.py"}
]
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = true
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "🔖 Bump version: {current_version} → {new_version}"
moveable_tags = []
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []