daborun Commit Revision 5 Date: 2004-10-31 17:09:50 -0800 (Sun, 31 Oct 2004) Author: ed
Log: Added the py2exe script for creating the Windows runtime. Added the Inno Setup script for creating the distribution installer. This goes in the 'dist' directory that py2exe will create.
Changed: A trunk/dist/ A trunk/dist/daborun.iss A trunk/setup.py
Diff: Added: trunk/dist/daborun.iss =================================================================== --- trunk/dist/daborun.iss 2004-11-01 01:04:11 UTC (rev 4) +++ trunk/dist/daborun.iss 2004-11-01 01:09:50 UTC (rev 5) @@ -0,0 +1,31 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +[Setup] +AppName=Dabo Runtime Engine +AppVerName=DaboRun 0.2 alpha +AppPublisher=Ed Leafe +AppPublisherURL=http://dabodev.com +AppSupportURL=http://dabodev.com +AppUpdatesURL=http://dabodev.com +DefaultDirName={pf}\Dabo Runtime +DefaultGroupName=Dabo Runtime Engine +AllowNoIcons=yes +Compression=lzma +SolidCompression=yes + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "C:\projects\daborun\dist\daborun.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\projects\daborun\dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\Dabo Runtime Engine"; Filename: "{app}\daborun.exe" +Name: "{group}\{cm:UninstallProgram,Dabo Runtime Engine}"; Filename: "{uninstallexe}" +Name: "{userdesktop}\Dabo Runtime Engine"; Filename: "{app}\daborun.exe"; Tasks: desktopicon +Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Dabo Runtime Engine"; Filename: "{app}\daborun.exe"; Tasks: quicklaunchicon +
Property changes on: trunk/dist/daborun.iss ___________________________________________________________________ Name: svn:eol-style + native
Added: trunk/setup.py =================================================================== --- trunk/setup.py 2004-11-01 01:04:11 UTC (rev 4) +++ trunk/setup.py 2004-11-01 01:09:50 UTC (rev 5) @@ -0,0 +1,37 @@ +# A very simple setup script to create 2 executables. +# +# hello.py is a simple "hello, world" type program, which alse allows +# to explore the environment in which the script runs. +# +# test_wx.py is a simple wxPython program, it will be converted into a +# console-less program. +# +# If you don't have wxPython installed, you should comment out the +# windows = ["test_wx.py"] +# line below. +# +# +# Run the build process by entering 'setup.py py2exe' or +# 'python setup.py py2exe' in a console prompt. +# +# If everything works well, you should find a subdirectory named 'dist' +# containing some files, among them hello.exe and test_wx.exe. + + +from distutils.core import setup +import glob +import py2exe + +setup( + # The first three parameters are not required, if at least a + # 'version' is given, then a versioninfo resource is built from + # them and added to the executables. + version = "0.2.0", + description = "Dabo Runtime Engine", + name = "daborun", + data_files=[ ("", glob.glob("\\projects\\dabo\\icons\\*.png")), + ("", ["\\projects\\demo\\appWizard.py", + "\\projects\\demo\\FieldSpecEditor.py"]) ], + # targets to build + console = ["daborun.py"], + )
Property changes on: trunk/setup.py ___________________________________________________________________ Name: svn:eol-style + native
©2004 noreply (at) paulmcnett .D.O.T com |