- added python23.zip & zlib.pyd (bundled python modules for Win32)
provided by IanWill (thanks!) - updated build systems to suit
This commit is contained in:
@@ -1208,6 +1208,8 @@ def preparedist():
|
||||
# finally copy auxiliaries (readme, license, etc.)
|
||||
if sys.platform == 'win32':
|
||||
shutil.copy("windows/extra/Help.url", "../dist/Help.url")
|
||||
shutil.copy("windows/extra/Python23.zip", "../dist/Python23.zip")
|
||||
shutil.copy("windows/extra/zlib.pyd", "../dist/zlib.pyd")
|
||||
shutil.copy("text/copyright.txt", "../dist/copyright.txt")
|
||||
shutil.copy("text/blender.html", "../dist/blender.html")
|
||||
shutil.copy("text/GPL-license.txt", "../dist/GPL-license.txt")
|
||||
|
@@ -238,7 +238,9 @@ Section "Blender-VERSION (required)" SecCopyUI
|
||||
SetOutPath $INSTDIR
|
||||
; Put file there
|
||||
File DISTDIR\blender.exe
|
||||
File DISTDIR\blenderplayer.exe
|
||||
File DISTDIR\python23.dll
|
||||
File DISTDIR\python23.zip
|
||||
File DISTDIR\sdl.dll
|
||||
File DISTDIR\gnu_gettext.dll
|
||||
File DISTDIR\Copyright.txt
|
||||
@@ -247,6 +249,7 @@ Section "Blender-VERSION (required)" SecCopyUI
|
||||
File DISTDIR\Release_SHORTVERS.txt
|
||||
File DISTDIR\GPL-license.txt
|
||||
File DISTDIR\Help.url
|
||||
File DISTDIR\zlib.pyd
|
||||
|
||||
SetOutPath $BLENDERHOME\.blender
|
||||
File DISTDIR\.blender\.bfont.ttf
|
||||
@@ -382,7 +385,9 @@ Section "Uninstall"
|
||||
DeleteRegKey HKLM SOFTWARE\BlenderFoundation
|
||||
; remove files
|
||||
Delete $INSTDIR\blender.exe
|
||||
Delete $INSTDIR\blenderplayer.exe
|
||||
Delete $INSTDIR\python23.dll
|
||||
Delete $INSTDIR\python23.zip
|
||||
Delete $INSTDIR\sdl.dll
|
||||
Delete $INSTDIR\gnu_gettext.dll
|
||||
Delete $INSTDIR\Copyright.txt
|
||||
@@ -392,6 +397,7 @@ Section "Uninstall"
|
||||
Delete $INSTDIR\Release_SHORTVERS.txt
|
||||
Delete $INSTDIR\Help.url
|
||||
Delete $INSTDIR\uninstall.exe
|
||||
Delete $INSTDIR\zlib.pyd
|
||||
Delete $INSTDIR\.blender\.bfont.ttf
|
||||
Delete $INSTDIR\.blender\.Blanguages
|
||||
; remove shortcuts, if any.
|
||||
|
@@ -297,7 +297,9 @@ Section "Uninstall"
|
||||
DeleteRegKey HKLM SOFTWARE\BlenderFoundation
|
||||
; remove files
|
||||
Delete $INSTDIR\blender.exe
|
||||
Delete $INSTDIR\blenderplayer.exe
|
||||
Delete $INSTDIR\python23.dll
|
||||
Delete $INSTDIR\python23.zip
|
||||
Delete $INSTDIR\sdl.dll
|
||||
Delete $INSTDIR\gnu_gettext.dll
|
||||
Delete $INSTDIR\Copyright.txt
|
||||
@@ -307,6 +309,7 @@ Section "Uninstall"
|
||||
Delete $INSTDIR\Release_SHORTVERS.txt
|
||||
Delete $INSTDIR\Help.url
|
||||
Delete $INSTDIR\uninstall.exe
|
||||
Delete $INSTDIR\zlib.pyd
|
||||
Delete $INSTDIR\.blender\.bfont.ttf
|
||||
Delete $INSTDIR\.blender\.Blanguages
|
||||
; remove shortcuts, if any.
|
||||
|
@@ -73,6 +73,10 @@ cp -f $NAN_SDL/lib/sdl.dll $DISTDIR/sdl.dll
|
||||
# Add the Help.url to the ditribution
|
||||
cp -f extra/Help.url $DISTDIR/
|
||||
|
||||
# Add Python23.zip & zlib.pyd
|
||||
cp -f extra/Python23.zip $DISTDIR/
|
||||
cp -f extra/zlib.pyd $DISTDIR/
|
||||
|
||||
# Add the language files to package
|
||||
cp -f -R $NAN_OBJDIR/windows/bin/.blender $DISTDIR/
|
||||
# Remove the pesky CVS dirs
|
||||
|
Reference in New Issue
Block a user