NetBox's rack elevation stylesheet uses CSS custom properties, which WeasyPrint and cairosvg cannot resolve, so empty slots fell back to a black fill. Replace the embedded stylesheet with fixed light-theme colors, add equivalent presentation attributes as a fallback and drop the hover-only "Add Device" labels. Bump version to 0.3.1. 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.1"
|
|
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"]
|