c39250f1b4
ramDeleteFromExplorer() called an undefined `_ber_len()` helper, so clicking Delete / Delete All raised a ReferenceError right after the confirm and no APDU was ever sent. The inline builder also omitted the mandatory Le byte. - new pure `ramDeleteApdu(aid, withCascade)` = GP Card Spec v2.3.1 Table 11-20/23 form: `80 E4 00 <p2> <Lc> 4F <len> <AID> 00` (P2 00 = object, 80 = object and related objects), used by the Explore handler. - `scp81DeleteApdus()` (the "Delete AID" script template) now shares the same builder: it used to send the raw AID without the mandatory '4F' TLV. - tests: exact bytes for 7/16-byte AIDs and both P2 modes, the SCP81 script expectations updated to the TLV form, and a wiring check that the undefined helper call does not come back (`_ber_len(`). 611 frontend / 495 Python green; version 3.6.6; sw simple-v279.
21 lines
701 B
TOML
21 lines
701 B
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pysim-simple-server"
|
|
version = "3.6.6"
|
|
description = "HTTP REST server wrapping pysim for the SIMple 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-simple-server = "pysim_simple_server.__main__:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["pysim_simple_server*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
pysim_simple_server = ["data/*.json", "data/*.LICENSE"] |