Mercurial > hg > orthanc-gcp
comparison Resources/SyncOrthancFolder.py @ 30:f1ebec09b120
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2020 07:44:54 +0200 |
parents | 520cba9a0d42 |
children | eb09eb1251b9 |
comparison
equal
deleted
inserted
replaced
29:ebaf3604bbc6 | 30:f1ebec09b120 |
---|---|
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.0.0' | 14 PLUGIN_SDK_VERSION = '1.0.0' |
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 ] | 19 ] |
20 | 20 |
21 SDK = [ | 21 SDK = [ |
22 'orthanc/OrthancCPlugin.h', | 22 'orthanc/OrthancCPlugin.h', |
23 ] | 23 ] |
43 commands = [] | 43 commands = [] |
44 | 44 |
45 for f in FILES: | 45 for f in FILES: |
46 commands.append([ 'default', | 46 commands.append([ 'default', |
47 os.path.join('Resources', f), | 47 os.path.join('Resources', f), |
48 f ]) | 48 os.path.basename(f) ]) |
49 | 49 |
50 for f in SDK: | 50 for f in SDK: |
51 commands.append([ | 51 commands.append([ |
52 'Orthanc-%s' % PLUGIN_SDK_VERSION, | 52 'Orthanc-%s' % PLUGIN_SDK_VERSION, |
53 'Plugins/Include/%s' % f, | 53 'Plugins/Include/%s' % f, |