Files
zig-fetch-py/pyproject.toml
crosstyan 765c98502c Add dependency download and CLI functionality
- Implement dependency download and extraction for Zig packages
- Create new CLI commands for downloading and converting ZON files
- Add support for downloading dependencies from ZON files
- Update project dependencies to include httpx and tqdm
- Add WTFPL license file
- Enhance README with more detailed usage instructions and project motivation
2025-03-07 17:59:32 +08:00

37 lines
777 B
TOML

[project]
name = "zig-fetch-py"
version = "0.1.0"
description = "A tool to parse Zig Object Notation (ZON) files and convert them to JSON"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"click>=8.1.8",
"httpx>=0.28.1",
"loguru>=0.7.3",
"tqdm>=4.67.1",
]
license = "WTFPL"
[project.scripts]
zon2json = "zig_fetch_py.main:main"
zig-fetch = "zig_fetch_py.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["zig_fetch_py"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
python_classes = "Test*"
[tool.ruff]
line-length = 100
[project.optional-dependencies]
dev = ["pytest>=8.3.5", "pytest-cov>=6.0.0"]