python/pyproject.toml (52 lines of code) (raw):
[build-system]
requires = ["setuptools >= 61"]
build-backend = "setuptools.build_meta"
[project]
name = "moz.l10n"
version = "0.7.0b2"
description = "Mozilla tools for localization"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{ name = "Mozilla", email = "l10n-drivers@mozilla.org" },
{ name = "Eemeli Aro", email = "eemeli@mozilla.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
"Topic :: Software Development :: Testing",
]
requires-python = "~= 3.8"
dependencies = [
"fluent.syntax ~= 0.19.0",
"gitignorant ~= 0.3.1",
"iniparse ~= 0.5",
"polib ~= 1.2",
"tomli >= 1.1.0; python_version < '3.11'",
]
[project.optional-dependencies]
xml = ["lxml ~= 5.0"]
[project.scripts]
l10n-build = "moz.l10n.bin.build:cli"
l10n-build-file = "moz.l10n.bin.build_file:cli"
l10n-compare = "moz.l10n.bin.compare:cli"
l10n-fix = "moz.l10n.bin.fix:cli"
l10n-lint = "moz.l10n.bin.lint:cli"
[project.urls]
repository = "https://github.com/mozilla/moz-l10n"
[tool.setuptools]
platforms = ["any"]
license-files = [] # https://github.com/pypa/setuptools/issues/4759
[tool.setuptools.packages.find]
include = ["moz.l10n*"]