69 lines
1.5 KiB
TOML
69 lines
1.5 KiB
TOML
[project]
|
|
name = "ki18n"
|
|
version = "0.1.0"
|
|
description = "File-backed internationalization support for Python applications"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{ name = "ikoch" },
|
|
]
|
|
license = "MIT"
|
|
license-files = ["LICENSE"]
|
|
classifiers = [
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
|
|
dependencies = [
|
|
"textual==8.2.8",
|
|
]
|
|
|
|
[dependency-groups]
|
|
# Install with `uv sync` (the dev group is included by default) or
|
|
# `pip install --group dev`.
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=1.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.11.14,<0.12.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[tool.uv.build-backend]
|
|
# Which module or directory is packaged (default is src/<name>)
|
|
module-root = "src"
|
|
module-name = "ki18n"
|
|
|
|
source-exclude = [
|
|
"test/*",
|
|
]
|
|
wheel-exclude = [
|
|
"test/*"
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "8.0"
|
|
testpaths = ["test"]
|
|
# Make the src layout importable without installing the project.
|
|
pythonpath = ["src"]
|
|
# The Textual dialog tests are async and drive the app with textual's Pilot.
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
addopts = "-ra"
|
|
|
|
[[tool.uv.index]]
|
|
name = "pypiserver"
|
|
url = "http://172.21.181.21:8888/simple"
|
|
publish-url = "http://172.21.181.21:8888/"
|
|
default = false
|
|
|
|
[[tool.uv.index]]
|
|
name = "pypi"
|
|
url = "https://pypi.org/simple"
|
|
publish-url = "https://upload.pypi.org/legacy/"
|
|
default = true
|