You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-System/pyproject.toml

59 lines
1.1 KiB
TOML

[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "iti-system"
dynamic = ["version"]
description = "Reusable system-domain package for iTi-Flask applications."
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [{ name = "NoahLan", email = "6995syu@163.com" }]
dependencies = [
"iti-flask",
]
[project.scripts]
iti-system = "iti_system.cli:iti_system_cli"
[project.optional-dependencies]
dev = [
"mypy>=1.0.0",
"pytest>=7.0.0",
]
[tool.setuptools.packages.find]
include = ["iti_system*"]
[tool.setuptools.dynamic]
version = { attr = "iti_system.__about__.__version__" }
[tool.setuptools.package-data]
iti_system = [
"migrations/versions/*.py",
]
[tool.uv.sources]
iti-flask = { path = "../iTi-Flask", editable = true }
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = [".", "../iTi-Flask"]
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
warn_unused_configs = true
files = [
"iti_system/module.py",
"iti_system/cli.py",
]
[[tool.mypy.overrides]]
module = [
"iti_system.models.*",
"iti_system.routes.*",
]
follow_imports = "skip"