563b211e15
The three eSIM GET routes were inserted after the POST-only /api/verify-adm branch, i.e. into the _do_POST chain, so GET /api/esim/chip|profiles|notifications fell through to the 404 handler (only POST /api/esim/profile was reachable). - Moved /api/esim/chip|profiles|notifications into _do_GET (after /api/status); /api/esim/profile stays in _do_POST. - Regression test: inspect the handler sources and assert each route is in the right chain. - Version 3.0.0 (eSIM support is a major update): server/pyproject/PWA header, sw.js simple-v227.
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.0.0"
|
|
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"] |