comparison Resources/SyncOrthancFolder.py @ 32:79d871605ffd

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Jun 2020 07:38:31 +0200
parents c44013681a51
children 53dbed29949a
comparison
equal deleted inserted replaced
31:c304ffca5d80 32:79d871605ffd
10 import stat 10 import stat
11 import urllib2 11 import urllib2
12 12
13 TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc') 13 TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc')
14 PLUGIN_SDK_VERSION = '1.3.1' 14 PLUGIN_SDK_VERSION = '1.3.1'
15 REPOSITORY = 'https://bitbucket.org/sjodogne/orthanc/raw' 15 REPOSITORY = 'https://hg.orthanc-server.com/orthanc/raw-file'
16 16
17 FILES = [ 17 FILES = [
18 'DownloadOrthancFramework.cmake', 18 'CMake/DownloadOrthancFramework.cmake',
19 'LinuxStandardBaseToolchain.cmake', 19 'LinuxStandardBaseToolchain.cmake',
20 'MinGW-W64-Toolchain32.cmake', 20 'MinGW-W64-Toolchain32.cmake',
21 'MinGW-W64-Toolchain64.cmake', 21 'MinGW-W64-Toolchain64.cmake',
22 'MinGWToolchain.cmake', 22 'MinGWToolchain.cmake',
23 ] 23 ]
47 commands = [] 47 commands = []
48 48
49 for f in FILES: 49 for f in FILES:
50 commands.append([ 'default', 50 commands.append([ 'default',
51 os.path.join('Resources', f), 51 os.path.join('Resources', f),
52 f ]) 52 os.path.basename(f) ])
53 53
54 for f in SDK: 54 for f in SDK:
55 commands.append([ 55 commands.append([
56 'Orthanc-%s' % PLUGIN_SDK_VERSION, 56 'Orthanc-%s' % PLUGIN_SDK_VERSION,
57 'Plugins/Include/%s' % f, 57 'Plugins/Include/%s' % f,