Mercurial > hg > orthanc-stone
comparison OrthancStone/Resources/SyncOrthancFolder.py @ 1515:b750b6eab453
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Jul 2020 20:52:35 +0200 |
parents | 244ad1e4e76a |
children | e20a2381200d |
comparison
equal
deleted
inserted
replaced
1514:6e3180a1f20f | 1515:b750b6eab453 |
---|---|
26 ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain32.cmake', 'Toolchains'), | 26 ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain32.cmake', 'Toolchains'), |
27 ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain64.cmake', 'Toolchains'), | 27 ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain64.cmake', 'Toolchains'), |
28 ('OrthancFramework/Resources/Toolchains/MinGWToolchain.cmake', 'Toolchains'), | 28 ('OrthancFramework/Resources/Toolchains/MinGWToolchain.cmake', 'Toolchains'), |
29 | 29 |
30 ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h', | 30 ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h', |
31 '../../StoneWebViewer/Resources/Orthanc/Plugins'), | 31 '../../../StoneWebViewer/Resources/Orthanc/Plugins'), |
32 ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp', | 32 ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp', |
33 '../../StoneWebViewer/Resources/Orthanc/Plugins'), | 33 '../../../StoneWebViewer/Resources/Orthanc/Plugins'), |
34 ('OrthancServer/Plugins/Samples/Common/OrthancPluginException.h', | 34 ('OrthancServer/Plugins/Samples/Common/OrthancPluginException.h', |
35 '../../StoneWebViewer/Resources/Orthanc/Plugins'), | 35 '../../../StoneWebViewer/Resources/Orthanc/Plugins'), |
36 ('OrthancServer/Plugins/Samples/Common/ExportedSymbolsPlugins.list', | 36 ('OrthancServer/Plugins/Samples/Common/ExportedSymbolsPlugins.list', |
37 '../../StoneWebViewer/Resources/Orthanc/Plugins'), | 37 '../../../StoneWebViewer/Resources/Orthanc/Plugins'), |
38 ('OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake', | 38 ('OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake', |
39 '../../StoneWebViewer/Resources/Orthanc/Plugins'), | 39 '../../../StoneWebViewer/Resources/Orthanc/Plugins'), |
40 ('OrthancServer/Plugins/Samples/Common/VersionScriptPlugins.map', | 40 ('OrthancServer/Plugins/Samples/Common/VersionScriptPlugins.map', |
41 '../../StoneWebViewer/Resources/Orthanc/Plugins'), | 41 '../../../StoneWebViewer/Resources/Orthanc/Plugins'), |
42 ] | 42 ] |
43 | 43 |
44 SDK = [ | 44 SDK = [ |
45 'orthanc/OrthancCPlugin.h', | 45 'orthanc/OrthancCPlugin.h', |
46 ] | 46 ] |
72 | 72 |
73 for f in SDK: | 73 for f in SDK: |
74 commands.append([ | 74 commands.append([ |
75 'Orthanc-%s' % PLUGIN_SDK_VERSION, | 75 'Orthanc-%s' % PLUGIN_SDK_VERSION, |
76 'Plugins/Include/%s' % f, | 76 'Plugins/Include/%s' % f, |
77 '../../StoneWebViewer/Resources/OrthancSdk-%s/%s' % (PLUGIN_SDK_VERSION, f) | 77 '../../../StoneWebViewer/Resources/OrthancSdk-%s/%s' % (PLUGIN_SDK_VERSION, f) |
78 ]) | 78 ]) |
79 | 79 |
80 pool = multiprocessing.Pool(10) # simultaneous downloads | 80 pool = multiprocessing.Pool(10) # simultaneous downloads |
81 pool.map(Download, commands) | 81 pool.map(Download, commands) |