forked from bartvdbraak/blender
Copying python25.zip to install folders for win32.
Also, nsis installer now copies plugin include headers.
This commit is contained in:
parent
2d85ed24a3
commit
0ba63005b3
10
SConstruct
10
SConstruct
@ -286,6 +286,14 @@ def NSIS_Installer():
|
||||
|
||||
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]
|
||||
@ -591,7 +599,7 @@ allinstall = [blenderinstall, dotblenderinstall, scriptinstall, plugininstall, t
|
||||
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',
|
||||
|
Loading…
Reference in New Issue
Block a user