- New export option "Gerätebilder anzeigen": the SVG is rendered with include_images and the /media/ image links are replaced by embedded data URIs, since Word, WeasyPrint and SVG-as-image cannot load login-protected files. The Pillow PNG renderer draws the front/rear images too, with the device name on a dark label. - Custom rack_svg_renderer adapters receive images=..., older adapters without that parameter keep working. - The HTML preview now opens in a new browser tab. Bump version to 0.3.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
684 B
TOML
24 lines
684 B
TOML
[build-system]
|
|
requires = ["setuptools>=64"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "netbox-customer-export"
|
|
version = "0.3.0"
|
|
description = "NetBox-Plugin: Kundendokumentation (PDF/Word) für Standorte, Lokationen, Mandanten und Mandantengruppen"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "Apache-2.0" }
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
pdf = ["weasyprint>=62"]
|
|
docx = ["python-docx>=1.1", "cairosvg>=2.7"]
|
|
all = ["weasyprint>=62", "python-docx>=1.1", "cairosvg>=2.7"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["netbox_customer_export*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
netbox_customer_export = ["templates/**/*.html"]
|