2026-08-25 14:48:28 +02:00
|
|
|
[project]
|
|
|
|
|
name = "conan-utils"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "Small utilities for Conan 1.x (targets 1.66)"
|
2026-08-25 14:51:38 +02:00
|
|
|
# Conan 1.x imports the `imp` module, which was removed in Python 3.12.
|
|
|
|
|
requires-python = ">=3.8,<3.12"
|
2026-08-25 14:48:28 +02:00
|
|
|
dependencies = ["conan>=1.66,<2"]
|
|
|
|
|
|
2026-08-25 14:51:38 +02:00
|
|
|
[project.scripts]
|
|
|
|
|
conandeps = "conandeps:main"
|
|
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
# Single-module layout: ship conandeps.py itself, not a package directory.
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
only-include = ["conandeps.py"]
|
|
|
|
|
|
2026-08-25 14:48:28 +02:00
|
|
|
[dependency-groups]
|
|
|
|
|
dev = ["pytest", "ruff"]
|
|
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
target-version = "py38"
|
|
|
|
|
line-length = 100
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
select = ["E", "F", "W", "B"]
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
testpaths = ["tests"]
|