81 lines
1.8 KiB
TOML
81 lines
1.8 KiB
TOML
[project]
|
|
name = "ki18n"
|
|
version = "0.1.0"
|
|
description = "File-backed internationalization support for Python applications"
|
|
keywords = ["internationalization"]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"Environment :: Console",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{ name = "ikoch" },
|
|
]
|
|
license = "MIT"
|
|
license-files = ["LICENSE"]
|
|
dependencies = [
|
|
"textual>=8.2.8",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP"]
|
|
|
|
|
|
[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",
|
|
"textual-dev>=1.7",
|
|
"ruff>=0.6",
|
|
"pytest-xdist>=3.8.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
|