Mode distrib scripts and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f2c9093fc1
commit
09740c31b9
27
wxPython/distrib/README.devel.txt
Normal file
27
wxPython/distrib/README.devel.txt
Normal file
@ -0,0 +1,27 @@
|
||||
This tarball contains all the files needed (I hope!) to allow you to
|
||||
write win32 programs or Python extension modules that link to the same
|
||||
wxWindows DLL that wxPython does. Files for both the normal (ANSI)
|
||||
and unicode builds are included.
|
||||
|
||||
You'll need to add the following directories to your Include path (the
|
||||
/I flag for MSVC):
|
||||
|
||||
wxPython-[version]\lib\mswdllh [for ANSI builds]
|
||||
wxPython-[version]\lib\mswdlluh [for Unicode builds]
|
||||
wxPython-[version]\include
|
||||
|
||||
And also you should link with one of the wxmsw*.lib files in the lib
|
||||
dir, use the one with the 'u' in the name for the Unicode build and
|
||||
the one without for the ANSI build.
|
||||
|
||||
I've also included some makefiles in the src dir to give you an idea
|
||||
of what compiler and linker flags are required. You can also get this
|
||||
info from wxPython's setup.py script.
|
||||
|
||||
I'm sure I've forgotten something, so when you discover what it is
|
||||
please let me know. Also, if anyone feels like turning this text into
|
||||
a more detailed HOW-TO please send your text to me.
|
||||
|
||||
|
||||
Robin
|
||||
|
@ -28,8 +28,8 @@ rm -f `find _distrib_tgz/wxPython-$1 -name *.so`
|
||||
|
||||
cd _distrib_tgz
|
||||
|
||||
tar cvf ../dist/wxPython-demo-$1.tar wxPython-$1
|
||||
gzip ../dist/wxPython-demo-$1.tar
|
||||
tar cvf ../dist/wxPythonDemo-$1.tar wxPython-$1
|
||||
gzip ../dist/wxPythonDemo-$1.tar
|
||||
|
||||
cd ..
|
||||
rm -r _distrib_tgz
|
||||
|
@ -1,47 +1,70 @@
|
||||
@echo off
|
||||
rem Builds a zip containing stuff needed to link with the wxWindows DLL
|
||||
rem shipped with wxPython. This allows other developers to create apps
|
||||
rem shipped with wxPython. This should allow other developers to create apps
|
||||
rem or extensions that can share the same DLL.
|
||||
|
||||
setlocal
|
||||
set BASE=_distrib_zip\wxPython-%1
|
||||
|
||||
set BASE=wxPython-devel
|
||||
|
||||
rem **** Make a directory to build up a distribution tree
|
||||
mkdir _distrib_zip
|
||||
mkdir %BASE%
|
||||
|
||||
mkdir %BASE%\ReleaseDLL
|
||||
mkdir %BASE%\HybridDLL
|
||||
copy /s %WXWIN%\ReleaseDLL %BASE%\ReleaseDLL
|
||||
copy /s %WXWIN%\HybridDLL %BASE%\HybridDLL
|
||||
|
||||
mkdir %BASE%\lib
|
||||
copy %WXWIN%\lib\*.lib %BASE\lib
|
||||
del %BASE%\lib\*d.lib
|
||||
copy %WXWIN%\lib\*.dll %BASE\lib
|
||||
del %BASE%\lib\*d.dll
|
||||
copy %WXWIN%\lib\*.pdb %BASE\lib
|
||||
del %BASE%\lib\*d.pdb
|
||||
copy /s %WXWIN%\lib\mswdll %BASE\lib\mswdll
|
||||
copy /s %WXWIN%\lib\mswdllh %BASE\lib\mswdllh
|
||||
|
||||
|
||||
mkdir %BASE%\src
|
||||
copy %WXWIN%\src\makevc.env %BASE%\src
|
||||
copy %WXWIN%\src\*.vc %BASE%\src
|
||||
|
||||
mkdir %BASE%\src\msw
|
||||
mkdir %BASE%\src\msw\ReleaseDLL
|
||||
copy %WXWIN%\src\msw\ReleaseDLL\dummy*.obj %BASE%\src\msw\ReleaseDLL
|
||||
mkdir %BASE%\src\msw\HybridDLL
|
||||
copy %WXWIN%\src\msw\HybridDLL\dummy*.obj %BASE%\src\msw\HybridDLL
|
||||
rem *** copy files
|
||||
copy distrib\README.devel.txt %BASE%\README.txt
|
||||
|
||||
mkdir %BASE%\include
|
||||
mkdir %BASE%\include\wx
|
||||
copy /s %WXWIN%\include\wx\* %BASE%\include\wx
|
||||
copy /s %WXWIN%\include\wx\* %BASE%\include\wx
|
||||
|
||||
mkdir %BASE%\lib
|
||||
mkdir %BASE%\lib\mswdllh
|
||||
mkdir %BASE%\lib\mswdlluh
|
||||
copy /s %WXWIN%\lib\mswdllh\* %BASE%\lib\mswdllh
|
||||
copy /s %WXWIN%\lib\mswdlluh\* %BASE%\lib\mswdlluh
|
||||
copy %WXWIN%\lib\wxmsw*h.lib %BASE%\lib
|
||||
copy %WXWIN%\lib\wxmsw*h.dll %BASE%\lib
|
||||
copy %WXWIN%\lib\mslu.txt %BASE%\lib
|
||||
copy %WXWIN%\lib\unicows.dll %BASE%\lib
|
||||
copy %WXWIN%\lib\unicows.lib %BASE%\lib
|
||||
|
||||
mkdir %BASE%\src
|
||||
copy %WXWIN%\src\makevc.env %BASE%\src
|
||||
copy %WXWIN%\src\makelib.vc %BASE%\src
|
||||
|
||||
|
||||
zip -r dist\wxPython-devel-win32-%1.zip %BASE%
|
||||
del /sxzy %BASE%
|
||||
rem *** remove unneeded files
|
||||
del /sxzy %BASE%\include\wx\CVS
|
||||
del /sxzy %BASE%\include\wx\generic\CVS
|
||||
del /sxzy %BASE%\include\wx\gtk\CVS
|
||||
del /sxzy %BASE%\include\wx\html\CVS
|
||||
del /sxzy %BASE%\include\wx\mac\CVS
|
||||
del /sxzy %BASE%\include\wx\mgl\CVS
|
||||
del /sxzy %BASE%\include\wx\motif\CVS
|
||||
del /sxzy %BASE%\include\wx\msw\CVS
|
||||
del /sxzy %BASE%\include\wx\msw\ctl3d\CVS
|
||||
del /sxzy %BASE%\include\wx\msw\gnuwin32\CVS
|
||||
del /sxzy %BASE%\include\wx\msw\gnuwin32\gl\CVS
|
||||
del /sxzy %BASE%\include\wx\msw\ole\CVS
|
||||
del /sxzy %BASE%\include\wx\os2\CVS
|
||||
del /sxzy %BASE%\include\wx\protocol\CVS
|
||||
del /sxzy %BASE%\include\wx\univ\CVS
|
||||
del /sxzy %BASE%\include\wx\unix\CVS
|
||||
del /sxzy %BASE%\include\wx\x11\CVS
|
||||
del /sxzy %BASE%\include\wx\x11\nanox\CVS
|
||||
del /sxzy %BASE%\include\wx\x11\nanox\X11\CVS
|
||||
|
||||
|
||||
|
||||
rem *** bundle it all up
|
||||
cd _distrib_zip
|
||||
tar cvf ..\dist\wxPythonWIN32-devel-%1.tar wxPython-%1
|
||||
gzip -9 ..\dist\wxPythonWIN32-devel-%1.tar
|
||||
|
||||
rem *** cleanup
|
||||
cd ..
|
||||
del /sxzy _distrib_zip
|
||||
|
||||
endlocal
|
||||
|
||||
|
26
wxPython/distrib/makedocs.bat
Executable file
26
wxPython/distrib/makedocs.bat
Executable file
@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
rem **** Make a directory to build up a distribution tree
|
||||
md _distrib_zip
|
||||
md _distrib_zip\wxPython-%1
|
||||
|
||||
cd _distrib_zip
|
||||
|
||||
rem **** copy the docs into the tree
|
||||
md wxPython-%1\docs
|
||||
md wxPython-%1\docs\wx
|
||||
md wxPython-%1\docs\ogl
|
||||
copy %WXWIN%\docs\html\wx\*.* wxPython-%1\docs\wx
|
||||
copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm
|
||||
copy %WXWIN%\docs\html\ogl\*.* wxPython-%1\docs\ogl
|
||||
copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm
|
||||
|
||||
rem **** zip up the docs
|
||||
rem zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs
|
||||
tar cvf ..\dist\wxPythonDocs-%1.tar wxPython-%1
|
||||
gzip -9 ..\dist\wxPythonDocs-%1.tar
|
||||
|
||||
|
||||
rem **** Cleanup
|
||||
cd ..
|
||||
del /sxzy _distrib_zip
|
Loading…
Reference in New Issue
Block a user