[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [10796] trunk/blender/SConstruct: Copying python25.zip to install folders for win32.
Simon Clitherow
aphex at nildram.co.uk
Mon May 28 13:11:16 CEST 2007
Revision: 10796
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=10796
Author: aphex
Date: 2007-05-28 13:11:15 +0200 (Mon, 28 May 2007)
Log Message:
-----------
Copying python25.zip to install folders for win32.
Also, nsis installer now copies plugin include headers.
Modified Paths:
--------------
trunk/blender/SConstruct
Modified: trunk/blender/SConstruct
===================================================================
--- trunk/blender/SConstruct 2007-05-28 04:50:30 UTC (rev 10795)
+++ trunk/blender/SConstruct 2007-05-28 11:11:15 UTC (rev 10796)
@@ -285,16 +285,24 @@
Exit()
install_base_dir = os.getcwd() + "\\"
+
+ if not os.path.exists(install_base_dir+env['BF_INSTALLDIR']+'/plugins/include'):
+ os.mkdir(install_base_dir+env['BF_INSTALLDIR']+'/plugins/include')
+
+ for f in glob.glob('source/blender/blenpluginapi/*.h'):
+ shutil.copy(f,install_base_dir+env['BF_INSTALLDIR']+'/plugins/include')
+ shutil.copy('source/blender/blenpluginapi/plugin.def',install_base_dir+env['BF_INSTALLDIR']+'/plugins/include/')
+
os.chdir("release")
v = open("VERSION")
- version = v.read()[:-1]
+ version = v.read()[:-1]
shortver = version.split('.')[0] + version.split('.')[1]
v.close()
#### change to suit install dir ####
inst_dir = install_base_dir + env['BF_INSTALLDIR']
-
+
os.chdir("windows/installer")
ns = open("00.sconsblender.nsi","r")
@@ -591,7 +599,7 @@
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
dllsources = ['${LCGDIR}/gettext/lib/gnu_gettext.dll',
'${LCGDIR}/png/lib/libpng.dll',
-# '#release/windows/extra/python24.zip',
+ '#release/windows/extra/python25.zip',
# '#release/windows/extra/zlib.pyd',
'${LCGDIR}/sdl/lib/SDL.dll',
'${LCGDIR}/zlib/lib/zlib.dll',
More information about the Bf-blender-cvs
mailing list