408ad87a0e
A card may deliver the response packet (the PoR) in the GET RESPONSE of an ENVELOPE that answered 61xx and signal a proactive command pending in the same answer (91xx - the CAT success state, not an error). _send_envelope ran the chain and then cleared the response data (`data, sw = '', '9000'`), so the operation reported no PoR although the card had returned one (live 2026-10-14: a GP DELETE answered 6113, the GET RESPONSE delivered the PoR with 9130, and the delete verdict showed "ok (no PoR)"). The delivered bytes are kept now; the chain still runs and the exchange reports 9000. Test: the delivered PoR survives the chain (verified to fail on the old code). 917 frontend + 928 Python; sw cache simple-v444.
21 lines
702 B
TOML
21 lines
702 B
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pysim-simple-server"
|
|
version = "3.28.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"] |