Mercurial > hg > orthanc-python
changeset 284:98219e09a9ba
added some explanations
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 13 Aug 2025 12:01:05 +0200 |
parents | 8b408bda78e6 (current diff) 4567ac27701d (diff) |
children | 67c833e5dee6 |
files | CodeAnalysis/README.txt NEWS README |
diffstat | 3 files changed, 16 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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/
--- 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)
--- 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 ------------