Wrap all user-visible strings for translation, ship a complete German catalogue, align the NetBox version range (4.4.0-4.7.x) with the README and add a test that keeps them in sync. Co-Authored-By: Claude Opus 5.5 <[email protected]>
40 lines
896 B
TOML
40 lines
896 B
TOML
[build-system]
|
|
requires = ["setuptools>=69", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "netbox-documentation"
|
|
version = "0.12.1"
|
|
description = "Integrated Markdown wiki and office document importer for NetBox"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = {text = "Apache-2.0"}
|
|
dependencies = [
|
|
"mammoth>=1.8,<2",
|
|
"openpyxl>=3.1,<4",
|
|
"pypdf>=5,<7",
|
|
"tabulate>=0.9,<1",
|
|
"bleach[css]>=6.2,<7",
|
|
"Pygments>=2.15,<3",
|
|
"markdown>=3.7,<4",
|
|
"django-tinymce>=5,<6",
|
|
"pillow>=10,<13",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = ["pytest>=8", "pytest-django>=4.9"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["netbox_documentation*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
netbox_documentation = [
|
|
"templates/**/*.html",
|
|
"static/**/*",
|
|
"locale/*/LC_MESSAGES/*.po",
|
|
"locale/*/LC_MESSAGES/*.mo",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
python_files = ["test_*.py"]
|