Mercurial > hg > orthanc-python
annotate CodeAnalysis/README.txt @ 151:566df919b286 cmove2
new more detailed C-Move SCP callbacks
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 27 Feb 2024 16:13:08 +0100 |
parents | b6835b7a7c0a |
children | 3c72d1f4c2a5 |
rev | line source |
---|---|
28
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 Introduction |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 ============ |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 This folder contains the Python script that analyzes the header of the |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 Orthanc Plugin SDK using clang, then automatically wraps this SDK as a |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 Python extension module. The output of the script is written to |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 "../Sources/Autogenerated". |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 Usage on Ubuntu 18.04 |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 ===================== |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 |
128
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
14 $ sudo apt-get install python-clang-4.0 python-pystache |
28
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 $ python2 ./ParseOrthancSDK.py --libclang=libclang-4.0.so.1 \ |
107
461dfb859ac7
upgrade to Orthanc SDK 1.10.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
105
diff
changeset
|
16 --source ../Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h \ |
28
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 --target ../Sources/Autogenerated |
96
627b8a19fb9f
orthanc.RegisterIncomingCStoreInstanceFilter()
Alain Mazy <am@osimis.io>
parents:
49
diff
changeset
|
18 |
627b8a19fb9f
orthanc.RegisterIncomingCStoreInstanceFilter()
Alain Mazy <am@osimis.io>
parents:
49
diff
changeset
|
19 |
128
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
20 Usage on Ubuntu 20.04 |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
21 ===================== |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
22 |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
23 $ sudo apt-get install python-clang-6.0 python3-pystache |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
24 $ python3 ./ParseOrthancSDK.py --libclang=libclang-6.0.so.1 \ |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
25 --source ../Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h \ |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
26 --target ../Sources/Autogenerated |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
27 |
5b59ebc267e1
fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
28 |
140
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
29 Usage on Ubuntu 22.04 |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
30 ===================== |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
31 |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
32 $ sudo apt-get install python3-clang-14 python3-pystache |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
33 $ python3 ./ParseOrthancSDK.py --libclang=libclang-14.so.1 \ |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
34 --source ../Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h \ |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
35 --target ../Sources/Autogenerated |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
36 |
b6835b7a7c0a
code generation on Ubuntu 22.04
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
37 |
96
627b8a19fb9f
orthanc.RegisterIncomingCStoreInstanceFilter()
Alain Mazy <am@osimis.io>
parents:
49
diff
changeset
|
38 Run through docker |
627b8a19fb9f
orthanc.RegisterIncomingCStoreInstanceFilter()
Alain Mazy <am@osimis.io>
parents:
49
diff
changeset
|
39 ================== |
627b8a19fb9f
orthanc.RegisterIncomingCStoreInstanceFilter()
Alain Mazy <am@osimis.io>
parents:
49
diff
changeset
|
40 |
627b8a19fb9f
orthanc.RegisterIncomingCStoreInstanceFilter()
Alain Mazy <am@osimis.io>
parents:
49
diff
changeset
|
41 $ docker-compose up --build |