Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2005-06-10 12:43:59 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2005-06-10 12:43:59 +0400
commitac16f0092cc02a010fd16eb05a6af934fcc8d0e9 (patch)
tree72838118198c64220ff80baaeaf03d8ea3fec9c1
parent79ea5e921ff766f94a27ab31ca09d34adef68ce1 (diff)
scons wininst includes now plugins\include in the installer
-rw-r--r--release/windows/installer/00.sconsblender.nsi5
-rw-r--r--tools/scons/bs/bs_nsis.py12
2 files changed, 17 insertions, 0 deletions
diff --git a/release/windows/installer/00.sconsblender.nsi b/release/windows/installer/00.sconsblender.nsi
index 4bbea68c62f..551eaad998d 100644
--- a/release/windows/installer/00.sconsblender.nsi
+++ b/release/windows/installer/00.sconsblender.nsi
@@ -251,6 +251,9 @@ Section "Blender-VERSION (required)" SecCopyUI
SetOutPath $BLENDERHOME\.blender\scripts\bpydata\config
[SCRIPTDATACFGCONTS]
+ SetOutPath $BLENDERHOME\plugins\include
+ [PLUGINCONTS]
+
; Language files
[LANGUAGECONTS]
@@ -313,6 +316,8 @@ Section "Uninstall"
RMDir /r $INSTDIR\.blender\scripts\bpymodules
RMDir /r $INSTDIR\.blender\scripts\bpydata
RMDir /r $INSTDIR\.blender\scripts\bpydata\config
+ RMDir /r $INSTDIR\plugins\include
+ RMDir /r $INSTDIR\plugins
RMDir $INSTDIR\.blender
RMDir "$SMPROGRAMS\Blender Foundation\Blender"
RMDir "$SMPROGRAMS\Blender Foundation"
diff --git a/tools/scons/bs/bs_nsis.py b/tools/scons/bs/bs_nsis.py
index cdac85560eb..2c9c9ce6ca7 100644
--- a/tools/scons/bs/bs_nsis.py
+++ b/tools/scons/bs/bs_nsis.py
@@ -95,6 +95,18 @@ def donsis(env, target, source):
cfgstring = string.join(cfglist, "\n ")
cfgstring += "\n\n"
nsis_cnt = string.replace(nsis_cnt, "[SCRIPTDATACFGCONTS]", cfgstring)
+
+ # do plugins\include
+ plugincludelist = []
+ plugincludepath = "%s%s" % (startdir, "\\dist\\plugins\\include")
+ plugincludedir = os.listdir(plugincludepath)
+ for plugincludeitem in plugincludedir:
+ plugincludefile = "%s\\%s" % (plugincludepath, plugincludeitem)
+ if os.path.isdir(plugincludefile) == 0:
+ plugincludelist.append("File %s" % plugincludefile)
+ plugincludestring = string.join(plugincludelist, "\n ")
+ plugincludestring += "\n\n"
+ nsis_cnt = string.replace(nsis_cnt, "[PLUGINCONTS]", plugincludestring)
# do dotblender
dotblendlist = []