Files
python-sdk/pkg/hanzo-async/pyproject.toml
zeekay 22a66029c0 feat: auto-install uvloop on Linux/macOS with platform gate
Move uvloop from opt-in [performance] extra to a platform-gated hard
dependency (sys_platform != 'win32'). On Linux/macOS it installs
automatically; on Windows pip/uv skips it entirely. Runtime fallback
in hanzo_async already handles ImportError gracefully.

- hanzo-async 0.1.2 → 0.1.3: uvloop now a default dep
- hanzo-mcp 0.12.7 → 0.12.8: uvloop in main deps, removed from [performance]
2026-03-09 21:11:54 -07:00

40 lines
1.1 KiB
TOML

[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "hanzo-async"
version = "0.1.3"
description = "Unified async I/O for Hanzo AI - high-performance with uvloop fallback"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [{ name = "Hanzo Industries Inc", email = "[email protected]" }]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = ["hanzo", "async", "uvloop", "aiofiles", "high-performance"]
dependencies = [
"aiofiles>=23.2.1",
"uvloop>=0.21.0; sys_platform != 'win32'",
]
[project.optional-dependencies]
uvloop = ["uvloop>=0.21.0; sys_platform != 'win32'"]
full = [
"uvloop>=0.21.0; sys_platform != 'win32'",
]
dev = ["pytest>=7.0.0", "pytest-asyncio>=0.21.0", "ruff>=0.14.0"]
[project.urls]
"Homepage" = "https://github.com/hanzoai/python-sdk"
[tool.setuptools.packages.find]
where = ["."]
include = ["hanzo_async*"]
[tool.setuptools.package-data]
hanzo_async = ["py.typed"]