[project]
name = "tailscale-py"
version = "0.3.3"
description = "Work-in-progress Tailscale library written in Rust."
license = "BSD-3-Clause"
readme = "README.md"
keywords = ["tailscale-py", "tailscale-rs", "tailscale", "vpn", "wireguard"]
requires-python = ">=3.12"
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",

    "Programming Language :: Rust",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",

    "Topic :: Software Development :: Libraries :: Python Modules",
    "Topic :: System :: Networking",
]

[project.urls]
Documentation = "https://github.com/tailscale/tailscale-rs/tree/main/ts_python"
Homepage = "https://github.com/tailscale/tailscale-rs"
Repository = "https://github.com/tailscale/tailscale-rs"

[build-system]
requires = ["maturin>=1.13.1,<2.0"]
build-backend = "maturin"

[tool.maturin]
python-source = "python"
module-name = "tailscale._internal"

[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple/"
publish-url = "https://upload.pypi.org/legacy/"
explicit = true

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true