feat: add safe native Mentor PDF exporter and tested portable UI

This commit is contained in:
Codex committed 2026-10-09 21:32:31 +08:00
1 parent 10a87d2cee
commit d4928af5b6
33 files changed
+2267 -13

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
[project]
name = "mentor-pdf-export"
version = "0.1.0"
description = "Safe native Mentor DxDesigner batch PDF exporter"
requires-python = ">=3.12,<3.13"
dependencies = ["PySide6>=6.7,<7", "pypdf>=5,<7", "pywin32>=306"]
[project.scripts]
mentor-pdf-export = "mentor_pdf_export.cli:main"
[project.optional-dependencies]
dev = ["pytest>=8,<9", "pytest-qt>=4.4,<5", "PyInstaller>=6,<7"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-ra"
cache_dir = "build/pytest-cache"