Mercurial > hg > orthanc-python
diff CodeAnalysis/README.txt @ 28:b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 27 Apr 2020 07:59:35 +0200 |
parents | |
children | 393d2da0722a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CodeAnalysis/README.txt Mon Apr 27 07:59:35 2020 +0200 @@ -0,0 +1,17 @@ + +Introduction +============ + +This folder contains the Python script that analyzes the header of the +Orthanc Plugin SDK using clang, then automatically wraps this SDK as a +Python extension module. The output of the script is written to +"../Sources/Autogenerated". + + +Usage on Ubuntu 18.04 +===================== + +$ sudo apt-get install python-clang-4.0 +$ python2 ./ParseOrthancSDK.py --libclang=libclang-4.0.so.1 \ + --source ../Resources/Orthanc/Sdk-1.5.7/orthanc/OrthancCPlugin.h \ + --target ../Sources/Autogenerated