Removed more distrib stuff that is no longer used

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-03-21 04:06:08 +00:00
parent fe6531fc30
commit 159f1012bc
15 changed files with 0 additions and 1851 deletions

View File

@@ -1,5 +0,0 @@
sourcedir: .
builddir: .
rpmdir: .
srcrpmdir: .

View File

@@ -1,30 +0,0 @@
This zip file contains versions of the wxWindows and wxPython binaries
that have been compiled with __WXDEBUG__ defined. This adds code to
wxWindows that is a bit more agressive about checking parameter
values, return values, and etc. When the debugging library senses
something is wrong it will popup a message dialog telling you so.
Unfortunately the message is specific to the C++ code but it might
give you a hint about what went wrong and how to fix it.
Another debugging feature is when the wxPython program exits, it will
print to stdout information about any wxWindows C++ objects that
havn't been properly cleaned up.
This archive contains a new wxWindows DLL named wx[version]d.dll and a
debugging version of the core wxPython module, wxc_d.pyd. These
should be put into your wxPython package directory. Also included are
the debuging version of Python, python_d.exe and python[VER]_d.dll
which can be put wherever you like.
In order to run the debugging version of wxPython sumply run you
program with python_d.exe instead of python.exe. This lets the
debugging version sit side by side with the production version, with
no need for swapping this around. You will also need _d versions of
any other extension modules you are using. If you need _d's for any
of the other standard Python extensions you can get them here, for 2.0
at least:
http://www.pythonlabs.com/products/python2.0/downloads/BeOpen-Python-2.0-Debug.zip
Robin

View File

@@ -1,139 +0,0 @@
import sys, os, string, time
from ftplib import FTP
cwd = os.getcwd()
logfile = 'c:\\temp\\autobuild.log'
WXDIR = os.environ['WXWIN']
dllVer = '23_0'
wxpVer = '2.3b1'
dateSt = time.strftime("%Y%m%d", time.localtime(time.time()))
base = os.path.split(sys.argv[0])[0]
base = os.path.join(base, '..')
WXPYDIR = os.path.abspath(base)
#----------------------------------------------------------------------
def do(cmd):
st = " " + cmd + " >> " + logfile
print st
f = open(logfile, "at")
f.write(st + '\n')
f.close()
os.system(cmd + " >>& " + logfile)
#----------------------------------------------------------------------
def logTruncate():
f = open(logfile, "wt")
f.close()
def logSeparator(msg=None, f=None, recurse=1):
if not f:
f = open(logfile, "at")
f.write('\n')
f.write('--' * 35)
f.write('\n')
if msg:
f.write(msg)
f.write('\n')
f.write('--' * 35)
f.write('\n')
if recurse:
logSeparator(msg, sys.stdout, 0)
#----------------------------------------------------------------------
def validateFile(file):
if not os.path.exists(file):
logSeparator("***** %s does not exist, exiting! *****" % file)
raise SystemExit
else:
logSeparator("%s found, continuing..." % file, recurse=0)
#----------------------------------------------------------------------
def main():
logTruncate()
try:
logSeparator("Cleanup")
os.chdir(WXDIR + '/src/msw')
do('make cleandll FINAL=1')
logSeparator("Building Documentation...")
os.chdir(WXDIR + '/src/msw')
do('make touchmanual htmlhelp')
validateFile(WXDIR + '/docs/htmlhelp/wx.chm')
logSeparator("Building wxWindows...")
os.chdir(WXDIR + '/src/msw')
do('make dll pch FINAL=1')
validateFile(WXDIR + '/lib/wx'+dllVer+'.dll')
logSeparator("Cleaning wxPython build directory...")
os.chdir(WXPYDIR)
do('b.bat c')
logSeparator("Building wxPython...")
os.chdir(WXPYDIR + '\\src')
do("b.bat f")
validateFile(WXPYDIR+'\\wxPython\\wxc.pyd')
logSeparator("Building installer executable...")
os.chdir(WXPYDIR+'\\distrib')
do("autoit2 wise.aut")
srcName = WXPYDIR+'\\distrib\\wxPython-'+wxpVer+'.EXE'
destName = WXPYDIR+'\\distrib\\wxPython-'+wxpVer+'-'+dateSt+'.EXE'
validateFile(srcName)
try:
time.sleep(5)
os.rename(srcName, destName)
validateFile(destName)
except:
logSeparator("****** UNABLE TO RENAME FILE ******")
logSeparator("Building docs zip file...")
os.chdir(WXPYDIR)
do("distrib\\zipit.bat %s" % wxpVer)
srcDName = WXPYDIR+'\\distrib\\wxPython-docs-'+wxpVer+'.tar.gz'
destDName = WXPYDIR+'\\distrib\\wxPython-docs-'+wxpVer+'-'+dateSt+'.tar.gz'
validateFile(srcDName)
try:
os.rename(srcDName, destDName)
except:
pass
# #*#*#*#*#* Comment this out to allow upload...
#return
logSeparator("Uploading to website...")
do('python c:\\utils\\sendwxp.py %s' % destName)
#do('python c:\\utils\\sendwxp.py %s' % destDName)
logSeparator("Finished!!!")
finally:
os.system("list " + logfile)
pass
if __name__ == '__main__':
main()

View File

@@ -1,33 +0,0 @@
@echo off
rem Builds a zip containing debugging versions of wxWindows and wxPython
rem that could be unziped over a wxPython installation.
setlocal
iff "%1" == "15" then
set PCBUILD=c:\projects\Python-1.5.2\PCBuild
elseiff "%1" == "20" then
set PCBUILD=c:\projects\Python-2.0\PCBuild
else
echo Specivy Python version!!!
goto end
endiff
iff "%2" == "" then
echo Specify wxPython version!!!
goto end
endiff
mkdir wxPython-dbg
copy README.dbg.txt wxPython-dbg
copy %WXWIN%\lib\wx*d.dll wxPython-dbg
copy %WXWIN%\wxPython\wxPython\*_d.pyd wxPython-dbg
copy %PCBUILD%\python_d.exe wxPython-dbg
copy %PCBUILD%\python%1_d.dll wxPython-dbg
zip -r wxPython-dbg-%2-Py%1.zip wxPython-dbg
del /sx wxPython-dbg
:end

View File

@@ -1,62 +0,0 @@
#!/bin/bash
#----------------------------------------------------------------------
# Make a source distribution as a tar.gz file. This script should be
# run from the directory that holds the wxPython dir (../..) and be
# given a version number as an parameter. The best way to do this is
# run "make dist" in the wxPython/src/ directory.
#----------------------------------------------------------------------
if [ -z $1 ]; then
echo "Please specify a version number on the command line."
exit 1
fi
if [ ! -d wxPython ]; then
echo "Please run this script from the root wxPython directory."
exit 1
fi
mkdir _distrib_tgz
mkdir _distrib_tgz/wxPython-$1
# Copy license files
cp $WXWIN/docs/gpl.txt _distrib_tgz/wxPython-$1
cp $WXWIN/docs/lgpl.txt _distrib_tgz/wxPython-$1
cp $WXWIN/docs/licence.txt _distrib_tgz/wxPython-$1
cp $WXWIN/docs/licendoc.txt _distrib_tgz/wxPython-$1
cp $WXWIN/docs/preamble.txt _distrib_tgz/wxPython-$1
# Copy files from the live dirs
# first, get a list of files
for x in `cat distrib/wxPython.rsp`; do
ls $x >> _distrib_tgz/filelist
done
# and make a tar file containing those files
tar cf _distrib_tgz/dist-temp.tar -T _distrib_tgz/filelist
# now untar it in the right place
cd _distrib_tgz/wxPython-$1
tar xf ../dist-temp.tar
cd ..
# update a few things
rm wxPython-$1/src/gtk/helpers.cpp
touch `find wxPython-$1 -name "*.cpp"`
touch `find wxPython-$1 -name "*.py"`
# Finally, make the finished tar file
tar cvf ../distrib/wxPython-$1.tar wxPython-$1
gzip ../distrib/wxPython-$1.tar
cd ..
rm -rf _distrib_tgz

View File

@@ -1,38 +0,0 @@
#!/bin/bash
#----------------------------------------------------------------------
if [ -z $1 ]; then
echo "Please specify a version number on the command line."
exit 1
fi
if [ ! -d wxPython ]; then
echo "Please run this script from the root wxPython directory."
exit 1
fi
mkdir _distrib_tgz
mkdir _distrib_tgz/wxPython-$1
cp -R tools _distrib_tgz/wxPython-$1
# do some cleanup
rm -rf `find _distrib_tgz/wxPython-$1 -name CVS`
rm -f `find _distrib_tgz/wxPython-$1 -name "*.pyc"`
rm -f `find _distrib_tgz/wxPython-$1 -name .cvsignore`
rm -f `find _distrib_tgz/wxPython-$1 -name core`
rm -f `find _distrib_tgz/wxPython-$1 -name wxPython`
rm -f `find _distrib_tgz/wxPython-$1 -name *.o`
rm -f `find _distrib_tgz/wxPython-$1 -name *.so`
cd _distrib_tgz
tar cvf ../dist/wxPython-tools-$1.tar wxPython-$1
gzip ../dist/wxPython-tools-$1.tar
cd ..
rm -r _distrib_tgz

View File

@@ -1,10 +0,0 @@
#!/bin/bash
cd ~/wx/utils/wxPython
find . -name "*.py" > filelist
find . -name "*.i" >> filelist
find . -name "*.h" >> filelist
find . -name "*.cpp" >> filelist
cat filelist | zip -r -u -@ xfer.zip

View File

@@ -1,9 +0,0 @@
cd %WXWIN%\utils\wxPython
find . -name "*.py" > filelist
find . -name "*.i" >> filelist
find . -name "*.h" >> filelist
find . -name "*.cpp" >> filelist
cat filelist | zip -r -u -@ xfer.zip

View File

@@ -1,7 +0,0 @@
run, c:\\Tools\\Wise\\WISE32.EXE wxPython.wse
winwaitactive, wxPython.wse - Wise Installation System
send, !ic
sleep, 1000
winwaitactive, wxPython.wse - Wise Installation System
send, !fx

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

View File

@@ -1,106 +0,0 @@
*.txt
demo/*.py
demo/bitmaps/*.bmp
demo/bitmaps/*.ico
demo/bitmaps/*.gif
demo/bitmaps/*.png
demo/bitmaps/*.jpg
demo/README.txt
demo/*.xml
demo/data/*.png
demo/data/*.htm
demo/data/*.html
demo/data/*.bmp
demo/data/*.txt
demo/data/*.i
demo/data/*.h
distrib/build.py
distrib/wxPython.spec
wxPython/lib/*.py
wxPython/lib/*.txt
wxPython/lib/sizers/*.py
wxPython/lib/sizers/*.txt
wxPython/lib/editor/*.py
wxPython/lib/editor/*.txt
src/build.cfg
src/*.i
src/*.py
src/*.cpp
src/*.c
src/*.h
src/*.ico
src/*.def
src/*.rc
src/msw/*.cpp
src/msw/*.h
src/msw/*.py
src/gtk/*.cpp
src/gtk/*.h
src/gtk/*.py
src/motif/*.cpp
src/motif/*.h
src/motif/*.py
contrib/glcanvas/build.cfg
contrib/glcanvas/*.i
contrib/glcanvas/*.py
contrib/glcanvas/*.cpp
contrib/glcanvas/*.c
contrib/glcanvas/*.h
contrib/glcanvas/*.def
contrib/glcanvas/*.rc
contrib/glcanvas/msw/*.cpp
contrib/glcanvas/msw/*.h
contrib/glcanvas/msw/*.py
contrib/glcanvas/gtk/*.cpp
contrib/glcanvas/gtk/*.h
contrib/glcanvas/gtk/*.py
contrib/ogl/build.cfg
contrib/ogl/*.txt
contrib/ogl/*.i
contrib/ogl/*.py
contrib/ogl/*.cpp
contrib/ogl/*.c
contrib/ogl/*.h
contrib/ogl/*.def
contrib/ogl/*.rc
contrib/ogl/contrib/include/wx/ogl/*.h
contrib/ogl/contrib/src/ogl/*.cpp
contrib/stc/build.cfg
contrib/stc/*.txt
contrib/stc/*.i
contrib/stc/*.py
contrib/stc/*.cpp
contrib/stc/*.c
contrib/stc/*.h
contrib/stc/*.def
contrib/stc/*.rc
contrib/stc/*.cpp
contrib/stc/*.h
contrib/stc/*.py
contrib/stc/contrib/include/wx/stc/*.h
contrib/stc/contrib/src/stc/*.h
contrib/stc/contrib/src/stc/*.cpp
contrib/stc/contrib/src/stc/*.txt
contrib/stc/contrib/src/stc/*.py
contrib/stc/contrib/src/stc/scintilla/include/*.h
contrib/stc/contrib/src/stc/scintilla/include/*.iface
contrib/stc/contrib/src/stc/scintilla/src/*.h
contrib/stc/contrib/src/stc/scintilla/src/*.cxx

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +0,0 @@
find . | grep -v "/CVS" | grep -v "./build/" | grep -v "./distrib/" | grep -v ".pyd" | grep -v ".pdb" | grep -v "contrib/ogl/contrib" | grep -v "contrib/stc/contrib" | zip -@ wxPython.zip

View File

@@ -1,44 +0,0 @@
@echo off
rem **** Make a directory to build up a distribution tree
md _distrib_zip
md _distrib_zip\wxPython-%1
REM rem **** Copy the license files
REM copy %WXWIN%\docs\gpl.txt _distrib_zip\wxPython-%1
REM copy %WXWIN%\docs\lgpl.txt _distrib_zip\wxPython-%1
REM copy %WXWIN%\docs\licence.txt _distrib_zip\wxPython-%1
REM copy %WXWIN%\docs\licendoc.txt _distrib_zip\wxPython-%1
REM copy %WXWIN%\docs\preamble.txt _distrib_zip\wxPython-%1
REM rem **** Make a zip fron the live files
REM zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp
REM rem **** Unzip it in our build dir
REM cd _distrib_zip\wxPython-%1
REM unzip ..\temp.zip
REM rem **** zip up the build dir
REM cd ..
REM zip -r ..\distrib\wxPython-src-%1.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\wxPython-docs-%1.tar wxPython-%1
gzip -9 ..\dist\wxPython-docs-%1.tar
rem **** Cleanup
cd ..
del /sxzy _distrib_zip