mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
Cascade-load and drag-and-drop now route .json files by their _format marker instead of mis-handling them. - _on_load_cascade_list rejects files whose _format is not scaffold_cascade with a critical dialog (matching _on_import_cascade). - dropEvent routes dropped .json files by _format: presets apply to the open tool form (or show an info dialog if no tool is open), cascades load through the cascade-import pipeline, and schemas / unknown formats fall through to _load_tool_path. - Extracted _apply_preset_from_path helper so _on_load_preset and the drop-route both go through one validation pipeline (size guard, three-tier _format check, validate_preset, tool-identity confirmation, apply_values, schema-hash mismatch warning). - Section 206 covers cascade-load format rejection (schema/preset/ missing-marker), drop dispatch by _format (schema, preset with/ without open tool, cascade, missing-marker fall-through), and the helper-extraction regression guard. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
49 lines
1.4 KiB
TOML
49 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "scaffold-gui"
|
|
version = "2.12.1"
|
|
description = "Schema-driven GUI generator for any CLI tool"
|
|
readme = "README.md"
|
|
license = { file = "LICENSE" }
|
|
authors = [{ name = "Kev" }]
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"PySide6>=6.5",
|
|
]
|
|
keywords = ["cli", "gui", "wrapper", "schema", "pyside6", "qt", "security"]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Environment :: X11 Applications :: Qt",
|
|
"Environment :: Win32 (MS Windows)",
|
|
"Environment :: MacOS X",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators",
|
|
"Intended Audience :: Information Technology",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Utilities",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/kevlattice/scaffold"
|
|
Repository = "https://github.com/kevlattice/scaffold"
|
|
Changelog = "https://github.com/kevlattice/scaffold/blob/main/CHANGELOG.md"
|
|
|
|
[project.scripts]
|
|
scaffold = "scaffold:main"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["scaffold"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["scaffold_data*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
scaffold_data = ["**/*.json", "**/*.txt", "**/*.md"]
|