# HG changeset patch # User Sebastien Jodogne # Date 1590692395 -7200 # Node ID 8b2c648c0f460780c5f0b352407fa4e47d8a248d # Parent c2ae93c562d28c1134deb32f76998a1d14863bdc clarifications about windows precompiled binaries diff -r c2ae93c562d2 -r 8b2c648c0f46 Sphinx/source/plugins/python.rst --- a/Sphinx/source/plugins/python.rst Wed May 27 13:26:03 2020 +0200 +++ b/Sphinx/source/plugins/python.rst Thu May 28 20:59:55 2020 +0200 @@ -147,26 +147,20 @@ Beware that one version of the Python plugin can only be run against one version of the Python interpreter. This version is clearly -indicated in the name of the folder. - -As of release 1.0, the Orthanc project only provides pre-compiled -binaries for Microsoft Windows 32bit and Python 2.7. Even though this -version of Python is not supported anymore, it can still run on all -the versions of Microsoft Windows that have been released for more -than 10 years. +indicated in the filename of the precompiled binaries. .. highlight:: text -You are of course free to compile the plugin from sources if you need -a more recent version. You'll have to explicitly specify the path to -your Python installation while invoking CMake. For instance:: +You are of course free to compile the plugin from sources. You'll have +to explicitly specify the path to your Python installation while +invoking CMake. For instance:: C:\orthanc-python\Build> cmake .. -DPYTHON_VERSION=2.7 -DPYTHON_WINDOWS_ROOT=C:/Python27 \ -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 15 2017" -**Note about debug builds**: usually, building Python modules such as the Python +**Note about debug builds**: Usually, building Python modules such as the Python plugin for Orthanc in debug mode (where ``_DEBUG`` is defined) leads to a module -(.exe or .dll) that requires a debug build of Python, and debug versions of all +(``.exe`` or ``.dll``) that requires a debug build of Python, and debug versions of all the Python libraries. This is quite cumbersome, for it requires building Python on your own or downloading additional debug files. @@ -189,6 +183,9 @@ Please note that this CMake option only impacts **debug** builds under Windows, when using (any version of) the Microsoft Visual Studio compiler. +The precompiled binaries all use release (i.e. non-debug) versions of Python. + + Configuration options ---------------------