29 lines
765 B
TOML
29 lines
765 B
TOML
[build-system]
|
|
requires = ["setuptools>=75"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mentor-pdf-export"
|
|
version = "1.0.0"
|
|
description = "Safe native Mentor DxDesigner batch PDF exporter"
|
|
requires-python = ">=3.12,<3.13"
|
|
dependencies = ["PySide6>=6.7,<7", "pypdf>=6.20,<7", "pywin32>=306", "fonttools>=4.60,<5"]
|
|
|
|
[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"
|
|
|
|
[tool.setuptools.package-data]
|
|
mentor_pdf_export = ["assets/*.ico", "assets/*.svg", "assets/*.png"]
|