Author: btami Date: 2005-09-30 07:58:01 -0500 (Fri, 30 Sep 2005) New Revision: 8032
Modified: trunk/gnue-common/packaging/win32/GNUe-Appserver-debug.iss trunk/gnue-common/packaging/win32/GNUe-Appserver.iss trunk/gnue-common/packaging/win32/GNUe-Common-debug.iss trunk/gnue-common/packaging/win32/GNUe-Common.iss trunk/gnue-common/packaging/win32/GNUe-Forms-debug.iss trunk/gnue-common/packaging/win32/GNUe-Forms.iss trunk/gnue-common/packaging/win32/GNUe-Runtime-Environment.iss trunk/gnue-common/packaging/win32/setup.py Log: added all standard python modules to runtime environment package Modified: trunk/gnue-common/packaging/win32/GNUe-Appserver-debug.iss =================================================================== --- trunk/gnue-common/packaging/win32/GNUe-Appserver-debug.iss 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/GNUe-Appserver-debug.iss 2005-09-30 12:58:01 UTC (rev 8032) @@ -4,7 +4,7 @@ [Setup] AppId=GNUe-Appserver-debug AppName=GNUe-Appserver-debug -AppVerName=GNUe-Appserver-0.4.2-debug +AppVerName=GNUe-Appserver-0.4.3-debug AppPublisher=GNU Enterprise AppPublisherURL=http://www.gnuenterprise.org AppSupportURL=http://www.gnuenterprise.org @@ -16,7 +16,7 @@ ChangesAssociations=true CreateAppDir=true ShowLanguageDialog=yes -OutputBaseFilename=gnue-appserver-0.4.2-debug +OutputBaseFilename=gnue-appserver-0.4.3-debug DisableDirPage=true [Tasks] @@ -45,7 +45,7 @@ Source: c:\gnue\share\locale\ru\LC_MESSAGES\gnue-appserver.mo; DestDir: {app}\share\locale\ru\LC_MESSAGES\; Flags: recursesubdirs; Components: translations Source: c:\gnue\share\doc\gnue-appserver\*.*; DestDir: {app}\share\doc\gnue-appserver; Flags: recursesubdirs; Components: doc Source: c:\gnue\share\gnue\appserver\*.*; DestDir: {app}\share\gnue\appserver; Flags: recursesubdirs; Components: main -Source: c:\gnue\share\gnue\grpc\appserver.grpc; DestDir: {app}\share\gnue\grpc; Components: main +;Source: c:\gnue\share\gnue\grpc\appserver.grpc; DestDir: {app}\share\gnue\grpc; Components: main [Icons] Name: {group}\GNUe Appserver; Filename: {app}\bin\gnue-appserver.exe Modified: trunk/gnue-common/packaging/win32/GNUe-Appserver.iss =================================================================== --- trunk/gnue-common/packaging/win32/GNUe-Appserver.iss 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/GNUe-Appserver.iss 2005-09-30 12:58:01 UTC (rev 8032) @@ -4,7 +4,7 @@ [Setup] AppId=GNUe-Appserver AppName=GNUe-Appserver -AppVerName=GNUe-Appserver-0.4.2 +AppVerName=GNUe-Appserver-0.4.3 AppPublisher=GNU Enterprise AppPublisherURL=http://www.gnuenterprise.org AppSupportURL=http://www.gnuenterprise.org @@ -16,7 +16,7 @@ ChangesAssociations=true CreateAppDir=true ShowLanguageDialog=yes -OutputBaseFilename=gnue-appserver-0.4.2 +OutputBaseFilename=gnue-appserver-0.4.3 DisableDirPage=true [Tasks] @@ -45,7 +45,7 @@ Source: c:\gnue\share\locale\ru\LC_MESSAGES\gnue-appserver.mo; DestDir: {app}\share\locale\ru\LC_MESSAGES\; Flags: recursesubdirs; Components: translations Source: c:\gnue\share\doc\gnue-appserver\*.*; DestDir: {app}\share\doc\gnue-appserver; Flags: recursesubdirs; Components: doc Source: c:\gnue\share\gnue\appserver\*.*; DestDir: {app}\share\gnue\appserver; Flags: recursesubdirs; Components: main -Source: c:\gnue\share\gnue\grpc\appserver.grpc; DestDir: {app}\share\gnue\grpc; Components: main +;Source: c:\gnue\share\gnue\grpc\appserver.grpc; DestDir: {app}\share\gnue\grpc; Components: main [Icons] Name: {group}\GNUe Appserver; Filename: {app}\bin\gnue-appserver.exe Modified: trunk/gnue-common/packaging/win32/GNUe-Common-debug.iss =================================================================== --- trunk/gnue-common/packaging/win32/GNUe-Common-debug.iss 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/GNUe-Common-debug.iss 2005-09-30 12:58:01 UTC (rev 8032) @@ -4,7 +4,7 @@ [Setup] AppId=GNUe-Common-debug AppName=GNUe-Common-debug -AppVerName=GNUe-Common-0.6-debug +AppVerName=GNUe-Common-0.6.1-debug AppPublisher=GNU Enterprise AppPublisherURL=http://www.gnuenterprise.org AppSupportURL=http://www.gnuenterprise.org @@ -16,7 +16,7 @@ ChangesAssociations=true CreateAppDir=true ShowLanguageDialog=yes -OutputBaseFilename=gnue-common-0.6-debug +OutputBaseFilename=gnue-common-0.6.1-debug DisableDirPage=true [Tasks] Modified: trunk/gnue-common/packaging/win32/GNUe-Common.iss =================================================================== --- trunk/gnue-common/packaging/win32/GNUe-Common.iss 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/GNUe-Common.iss 2005-09-30 12:58:01 UTC (rev 8032) @@ -4,7 +4,7 @@ [Setup] AppId=GNUe-Common AppName=GNUe-Common -AppVerName=GNUe-Common-0.6 +AppVerName=GNUe-Common-0.6.1 AppPublisher=GNU Enterprise AppPublisherURL=http://www.gnuenterprise.org AppSupportURL=http://www.gnuenterprise.org @@ -16,7 +16,7 @@ ChangesAssociations=true CreateAppDir=true ShowLanguageDialog=yes -OutputBaseFilename=gnue-common-0.6 +OutputBaseFilename=gnue-common-0.6.1 DisableDirPage=true [Tasks] Modified: trunk/gnue-common/packaging/win32/GNUe-Forms-debug.iss =================================================================== --- trunk/gnue-common/packaging/win32/GNUe-Forms-debug.iss 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/GNUe-Forms-debug.iss 2005-09-30 12:58:01 UTC (rev 8032) @@ -4,7 +4,7 @@ [Setup] AppId=GNUe-Forms-debug AppName=GNUe-Forms-debug -AppVerName=GNUe-Forms-0.5.12-debug +AppVerName=GNUe-Forms-0.5.13-debug AppPublisher=GNU Enterprise AppPublisherURL=http://www.gnuenterprise.org AppSupportURL=http://www.gnuenterprise.org @@ -16,7 +16,7 @@ ChangesAssociations=true CreateAppDir=true ShowLanguageDialog=yes -OutputBaseFilename=gnue-forms-0.5.12-debug +OutputBaseFilename=gnue-forms-0.5.13-debug DisableDirPage=true AppendDefaultDirName=false Modified: trunk/gnue-common/packaging/win32/GNUe-Forms.iss =================================================================== --- trunk/gnue-common/packaging/win32/GNUe-Forms.iss 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/GNUe-Forms.iss 2005-09-30 12:58:01 UTC (rev 8032) @@ -4,7 +4,7 @@ [Setup] AppId=GNUe-Forms AppName=GNUe-Forms -AppVerName=GNUe-Forms-0.5.12 +AppVerName=GNUe-Forms-0.5.13 AppPublisher=GNU Enterprise AppPublisherURL=http://www.gnuenterprise.org AppSupportURL=http://www.gnuenterprise.org @@ -16,7 +16,7 @@ ChangesAssociations=true CreateAppDir=true ShowLanguageDialog=yes -OutputBaseFilename=gnue-forms-0.5.12 +OutputBaseFilename=gnue-forms-0.5.13 DisableDirPage=true AppendDefaultDirName=false Modified: trunk/gnue-common/packaging/win32/GNUe-Runtime-Environment.iss =================================================================== --- trunk/gnue-common/packaging/win32/GNUe-Runtime-Environment.iss 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/GNUe-Runtime-Environment.iss 2005-09-30 12:58:01 UTC (rev 8032) @@ -4,7 +4,7 @@ [Setup] AppId=GNUe-Tools AppName=GNUe-Runtime-Environment -AppVerName=GNUe-Runtime-Environment-2005.07.14 +AppVerName=GNUe-Runtime-Environment-2005.09.30 AppPublisher=GNU Enterprise AppPublisherURL=http://www.gnuenterprise.org AppSupportURL=http://www.gnuenterprise.org @@ -12,7 +12,7 @@ DefaultDirName={pf}\GNUe\ DefaultGroupName=GNUe AllowNoIcons=true -OutputBaseFilename=gnue-runtime-environment-2005.07.14 +OutputBaseFilename=gnue-runtime-environment-2005.09.30 [Files] Source: c:\gnue\bin\*.dll; DestDir: {app}\bin; Flags: ignoreversion Modified: trunk/gnue-common/packaging/win32/setup.py =================================================================== --- trunk/gnue-common/packaging/win32/setup.py 2005-09-29 12:18:28 UTC (rev 8031) +++ trunk/gnue-common/packaging/win32/setup.py 2005-09-30 12:58:01 UTC (rev 8032) @@ -2,10 +2,12 @@ # or python setup.py py2exe -c -k # for console apps. -from distutils.core import setup -import py2exe +import os import sys +import py2exe +from distutils.core import setup + # The manifest will be inserted as resource into .exe files. This # gives the controls the Windows XP appearance (if run on XP). manifest = ''' @@ -59,6 +61,23 @@ windows = [] del sys.argv[3] + +def getimports(libdir): + importlist = [] + for entry in os.listdir(libdir): + if entry.startswith('_') or '-' in entry or \ + entry.count('.')>1 or ' ' in entry: + continue + + if not os.path.splitext(entry)[1] == '.py': + continue + importlist.append(entry[:entry.find('.')]) + + return importlist + +standardlib = getimports(os.path.join(sys.prefix,'Lib')) + + setup ( \ console = console, windows = windows, @@ -75,7 +94,8 @@ "pysqlite2", "reportlab", "Pil"], - "includes": ["win32gui", + "includes": standardlib + + ["win32gui", "win32ui", "win32api", "win32con", @@ -86,21 +106,11 @@ "win32com.client", "pywin.mfc.activex", "pywin.mfc.window", - "csv", "dbi", "odbc", "pysqlite2.dbapi2", "pyPgSQL.PgSQL", "psycopg", - "dircache", - "netrc", - "struct", - "textwrap", - "BaseHTTPServer", - "SimpleHTTPServer", - "SocketServer", - "xmlrpclib", - "ConfigParser", "libxml2", "libxslt", "Image", _______________________________________________ Commit-gnue mailing list Commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue