7327a879ce
Both sections (card presets, custom files) gain two import paths and a file download alongside the existing clipboard import: - Import from file: hidden <input type=file accept=.json> + FileReader feeding the unchanged dedupe/merge logic (works on plain-HTTP LAN origins where navigator.clipboard is unavailable) - Paste & import: reuses the IO textarea; guard requires '[' prefix so status messages are never mis-imported; empty state reveals + focuses the field with a hint placeholder - Export to file: Blob download (otaman-cards.json / otaman-custom-files.json) via shared downloadJson() helper - Import functions take optional text arg; clipboard stays the fallback - data-l10n on all five buttons per section; LANG_RU entries for the three new labels Version 1.9.2 -> 1.9.3 everywhere; SW cache otaman-v13 -> otaman-v14
18 lines
613 B
TOML
18 lines
613 B
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pysim-otaman-server"
|
|
version = "1.9.3"
|
|
description = "HTTP REST server wrapping pysim for the OTAMan PWA"
|
|
requires-python = ">=3.8"
|
|
# pysim is a git-only dependency installed explicitly by setup.bat/setup.sh.
|
|
# Declaring it here would make pip resolve its full tree (including the SMPP
|
|
# bridge -> Twisted -> twisted-iocpsupport, which needs MSVC on Windows).
|
|
|
|
[project.scripts]
|
|
pysim-otaman-server = "pysim_otaman_server.__main__:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["pysim_otaman_server*"] |