# HG changeset patch # User Sebastien Jodogne # Date 1755079265 -7200 # Node ID 98219e09a9bafd9488d74c96a87f3a9c57cbaf37 # Parent 8b408bda78e618046e3759a0d67e915790fb83f9# Parent 4567ac27701d79a70d3cc891d11124b283bb4513 added some explanations diff -r 8b408bda78e6 -r 98219e09a9ba CodeAnalysis/README.txt --- a/CodeAnalysis/README.txt Tue Aug 12 20:10:08 2025 +0200 +++ b/CodeAnalysis/README.txt Wed Aug 13 12:01:05 2025 +0200 @@ -3,13 +3,14 @@ ============ This folder contains the Python script that reads the code model of -the Orthanc SDK that is generated by the "orthanc-java" project [1], -then automatically wraps this SDK as a Python extension module. - -The output of the script is written to "../Sources/Autogenerated". +the Orthanc SDK, and that automatically wraps this SDK as a Python +extension module. This script is automatically invoked during the +build by CMake. It necessitates the Pystache module [1] to be +installed in the Python environment used by CMake. Usage: $ ./GenerateOrthancSDK.py -[1] https://orthanc.uclouvain.be/book/plugins/java.html + +[1] https://pypi.org/project/pystache/ diff -r 8b408bda78e6 -r 98219e09a9ba NEWS --- a/NEWS Tue Aug 12 20:10:08 2025 +0200 +++ b/NEWS Wed Aug 13 12:01:05 2025 +0200 @@ -5,12 +5,13 @@ Version 6.0 (2025-08-12) ======================== -=> Maximum SDK version: 1.12.9 <= +=> Maximum SDK version: 1.12.9 (default) <= => Minimum SDK version: 1.7.2 <= * The auto-generation of the Python wrapper is now part of the build, to exploit the ORTHANC_PLUGIN_SINCE_SDK macro. This provides backward compatibility with the SDK that is actually installed on the system +* The plugin now uses the code model that is part of the core "orthanc" project * Added Windows builder for Python 3.13 * Added Docker-based builder scripts for Debian 13 (trixie) diff -r 8b408bda78e6 -r 98219e09a9ba README --- a/README Tue Aug 12 20:10:08 2025 +0200 +++ b/README Wed Aug 13 12:01:05 2025 +0200 @@ -17,6 +17,14 @@ Orthanc Book: https://orthanc.uclouvain.be/book/plugins/python.html +Note that since version 6.0 of this plugin, the build process requires +the Pystache module to be installed in the Python environment used by +CMake: +https://pypi.org/project/pystache/ + +On Debian/Ubuntu environments, it is sufficient to install the +"python3-pystache" package. This dependency is not needed at runtime. + Contributing ------------