From 2f2dc32851f221a7b5739ce6a827bff0e221b7e9 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 11 Dec 2000 04:00:06 +0000 Subject: [PATCH] Updated distribution stuff git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/distrib/autobuild.py | 51 ++++++++-------------------------- wxPython/distrib/wxPython.WSM | Bin 33 -> 33 bytes wxPython/distrib/wxPython.wse | 29 ++++--------------- 3 files changed, 17 insertions(+), 63 deletions(-) diff --git a/wxPython/distrib/autobuild.py b/wxPython/distrib/autobuild.py index edeade7f9a..e5434e669e 100755 --- a/wxPython/distrib/autobuild.py +++ b/wxPython/distrib/autobuild.py @@ -7,8 +7,8 @@ cwd = os.getcwd() logfile = 'c:\\temp\\autobuild.log' WXDIR = os.environ['WXWIN'] -dllVer = '22_1' -wxpVer = '2.2.1' +dllVer = '23_0' +wxpVer = '2.3b1' dateSt = time.strftime("%Y%m%d", time.localtime(time.time())) base = os.path.split(sys.argv[0])[0] @@ -71,7 +71,7 @@ def main(): do('make touchmanual htmlhelp') validateFile(WXDIR + '/docs/htmlhelp/wx.chm') - logSeparator("Building wxWindows and other libraries...") + logSeparator("Building wxWindows...") os.chdir(WXDIR + '/src/msw') do('make dll pch FINAL=1') validateFile(WXDIR + '/lib/wx'+dllVer+'.dll') @@ -80,35 +80,14 @@ def main(): logSeparator("Cleaning wxPython build directory...") os.chdir(WXPYDIR) - do('buildall.bat -c') - os.rename('build.local', 'build.local.save') - f = open("build.local", "w") - f.write(""" -CRTFLAG='/MD' -FINAL=1 -""") - f.close() + do('b.bat c') - - logSeparator("Building core wxPython...") + logSeparator("Building wxPython...") os.chdir(WXPYDIR + '\\src') - do("build -b") + do("b.bat f") validateFile(WXPYDIR+'\\wxPython\\wxc.pyd') - logSeparator("Building wxPython addon modules...") - os.chdir(WXPYDIR+'\\contrib') - do("buildall -b") - validateFile(WXPYDIR+'\\wxPython\\glcanvasc.pyd') - validateFile(WXPYDIR+'\\wxPython\\oglc.pyd') - validateFile(WXPYDIR+'\\wxPython\\stc_c.pyd') - - - os.chdir(WXPYDIR) - os.unlink('build.local') - os.rename('build.local.save', 'build.local') - - logSeparator("Building installer executable...") os.chdir(WXPYDIR+'\\distrib') do("autoit2 wise.aut") @@ -123,19 +102,12 @@ FINAL=1 logSeparator("****** UNABLE TO RENAME FILE ******") - logSeparator("Building source and docs zip files...") + logSeparator("Building docs zip file...") os.chdir(WXPYDIR) do("distrib\\zipit.bat %s" % wxpVer) - srcZName = WXPYDIR+'\\distrib\\wxPython-src-'+wxpVer+'.zip' - destZName = WXPYDIR+'\\distrib\\wxPython-src-'+wxpVer+'-'+dateSt+'.zip' - validateFile(srcZName) - try: - os.rename(srcZName, destZName) - except: - pass - srcDName = WXPYDIR+'\\distrib\\wxPython-docs-'+wxpVer+'.zip' - destDName = WXPYDIR+'\\distrib\\wxPython-docs-'+wxpVer+'-'+dateSt+'.zip' + srcDName = WXPYDIR+'\\distrib\\wxPython-docs-'+wxpVer+'.tar.gz' + destDName = WXPYDIR+'\\distrib\\wxPython-docs-'+wxpVer+'-'+dateSt+'.tar.gz' validateFile(srcDName) try: os.rename(srcDName, destDName) @@ -145,12 +117,11 @@ FINAL=1 # #*#*#*#*#* Comment this out to allow upload... - return + #return logSeparator("Uploading to website...") do('python c:\\utils\\sendwxp.py %s' % destName) - #do('python c:\\utils\\sendwxp.py %s' % destZName) - do('python c:\\utils\\sendwxp.py %s' % destDName) + #do('python c:\\utils\\sendwxp.py %s' % destDName) logSeparator("Finished!!!") diff --git a/wxPython/distrib/wxPython.WSM b/wxPython/distrib/wxPython.WSM index f3ebe132f8dd4126671daff19688d932b59fec83..1a9e35266f380844ca6f33c93f7232bfa8d84520 100644 GIT binary patch literal 33 lcmWF!_BHD^VPIfn=+b;Wx7X5_Awq?T0R$LB%T*Fx832pJ2T=e3 literal 33 lcmWF!_BFFLVPIfnh|&zoaD5ua5TU}v00NAm