bh: thuban setup.py, 1.44.2.1, 1.44.2.2 ChangeLog, 1.624.2.21, 1.624.2.22

cvs@intevation.de cvs at intevation.de
Mon Dec 20 12:27:49 CET 2004


Author: bh

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv4943

Modified Files:
      Tag: thuban-1-0-branch
	setup.py ChangeLog 
Log Message:
(bdist_inno.user_options): New options
compression-method and compression-solid to control how Innosetup
compresses.
(bdist_inno.initialize_options): Initilize the new options
(bdist_inno.generate_iss): Use the new otions if they were given


Index: setup.py
===================================================================
RCS file: /thubanrepository/thuban/setup.py,v
retrieving revision 1.44.2.1
retrieving revision 1.44.2.2
diff -u -d -r1.44.2.1 -r1.44.2.2
--- setup.py	17 Dec 2004 17:51:48 -0000	1.44.2.1
+++ setup.py	20 Dec 2004 11:27:47 -0000	1.44.2.2
@@ -878,9 +878,16 @@
          "(defaults to <name>-<version>-<issrevision>)."),
         ("iss-revision", None,
          "revision of the generated installer of the package version"),
+        ("compression-method=", None,
+         "compression method to use, e.g. zip, bzip, lzma."
+         "  This is the value for the Compression setting in the [Setup]"
+         " section of the inno setup file."),
+        ("compression-solid=", None,
+         "Value for the SolidCompression setting of the [Setup] section"
+         " of the Innosetup file."),
 
         ("icons-entries", None,
-         "List if InnoIconItems "
+         "List of InnoIconItems "
          "(this can only be set from inside the setup.py script)"),
         ]
 
@@ -895,6 +902,8 @@
         self.default_dir_name = None
         self.default_group_name = None
         self.license_file = None
+        self.compression_method = None
+        self.compression_solid = None
         self.output_basename = None
         self.iss_revision = None
         self.icons_entries = []
@@ -978,6 +987,10 @@
             iss.append("AppCopyright=" + self.copyright)
         if self.license_file:
             iss.append("LicenseFile=" + self.license_file)
+        if self.compression_method:
+            iss.append("Compression=" + self.compression_method)
+        if self.compression_solid:
+            iss.append("SolidCompression=" + self.compression_solid)
 
         iss.append("OutputBasefilename=" + self.output_basename)
 

Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.624.2.21
retrieving revision 1.624.2.22
diff -u -d -r1.624.2.21 -r1.624.2.22
--- ChangeLog	17 Dec 2004 17:51:48 -0000	1.624.2.21
+++ ChangeLog	20 Dec 2004 11:27:47 -0000	1.624.2.22
@@ -1,3 +1,11 @@
+2004-12-20  Bernhard Herzog  <bh at intevation.de>
+
+	* setup.py (bdist_inno.user_options): New options
+	compression-method and compression-solid to control how Innosetup
+	compresses.
+	(bdist_inno.initialize_options): Initilize the new options
+	(bdist_inno.generate_iss): Use the new otions if they were given
+
 2004-12-17  Bernhard Herzog  <bh at intevation.de>
 
 	* setup.py: windows build: Removed the absolute path names and





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)