forked from lballabio/quantlib-old
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupdateLocal.py
More file actions
33 lines (24 loc) · 1.74 KB
/
updateLocal.py
File metadata and controls
33 lines (24 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Script to update the XLLs delivered by the Launcher
# from files in the local copy of the subversion repository
import update
# Our subpath from svn trunk - must be updated if this script is moved
RELATIVE_PATH = 'Launcher'
# THe current directory, e.g. C:/projects/trunk/Launcher
cwd = update.getcwd()
# The absolute path to the svn trunk, e.g. C:/projects/trunk/
trunkPath = cwd[0:len(cwd)-len(RELATIVE_PATH)]
SOURCE_TARGET_LIST = (
( trunkPath + "QuantLibXL/xll", "Addins/01 Production", "QuantLibXLDynamic-vc80-mt-0_9_5.xll" ),
( trunkPath + "ObjectHandler/xll", "Addins/01 Production", "ObjectHandler-xll-vc80-mt-0_9_5.xll" ),
( trunkPath + "SensitivityAnalysis/xll", "Addins/01 Production", "saohxll-vc80-mt-0_9_5.xll" ),
( trunkPath + "SensitivityAnalysis/xll", "Addins/01 Production", "PDGLib_candidate.xll" ),
( trunkPath + "QuantLibXL/xll", "Addins/02 Pre-Production", "QuantLibXLDynamic-vc80-mt-0_9_5.xll" ),
( trunkPath + "ObjectHandler/xll", "Addins/02 Pre-Production", "ObjectHandler-xll-vc80-mt-0_9_5.xll" ),
( trunkPath + "SensitivityAnalysis/xll", "Addins/02 Pre-Production", "saohxll-vc80-mt-0_9_5.xll" ),
( trunkPath + "SensitivityAnalysis/xll", "Addins/02 Pre-Production", "PDGLib_candidate.xll" ),
( trunkPath + "QuantLibXL/xll", "Addins/03 Testing", "QuantLibXLDynamic-vc80-mt-0_9_5.xll" ),
( trunkPath + "ObjectHandler/xll", "Addins/03 Testing", "ObjectHandler-xll-vc80-mt-0_9_5.xll" ),
( trunkPath + "SensitivityAnalysis/xll", "Addins/03 Testing", "saohxll-vc80-mt-0_9_5.xll" ),
( trunkPath + "SensitivityAnalysis/xll", "Addins/03 Testing", "PDGLib_candidate.xll" ),
)
update.update(SOURCE_TARGET_LIST)