[Repoze-checkins] CVS: Packages/meld3 - CHANGES.txt:1.28 setup.py:1.7

chrism cvs at plope.com
Fri Jan 18 06:27:48 UTC 2008


Update of /home/chrism/cvs/Packages/meld3
In directory cabana.palladion.com:/tmp/cvs-serv27681

Modified Files:
	CHANGES.txt setup.py 
Log Message:
0.6.4

  Make the default build use the Python-based meld "helper" instead of
  the C-based one.  Since the primary consumer of meld3 (as far as I
  know) is "supervisor", and since the typical supervisor consumer is
  likely not to have a C compiler and Python development libraries on
  his system, it makes more sense for the default build not to compile
  the C extensions.  However, if the environment variable
  "USE_MELD3_EXTENSION_MODULES" is set when "setup.py install" is
  invoked, the C extensions will be built.  meld3 is much slower
  without the C extensions, so using "USE_MELD3_EXTENSION_MODULES" is
  usually a good idea for performance-sensitive systems.

  As a result of this change, the "NO_MELD3_EXTENSION_MODULES"
  environment variable introduced in 0.6.1 now has no effect.



=== Packages/meld3/CHANGES.txt 1.27 => 1.28 ===
--- Packages/meld3/CHANGES.txt:1.27	Fri Aug 24 16:50:35 2007
+++ Packages/meld3/CHANGES.txt	Fri Jan 18 01:27:48 2008
@@ -1,3 +1,19 @@
+0.6.4
+
+  Make the default build use the Python-based meld "helper" instead of
+  the C-based one.  Since the primary consumer of meld3 (as far as I
+  know) is "supervisor", and since the typical supervisor consumer is
+  likely not to have a C compiler and Python development libraries on
+  his system, it makes more sense for the default build not to compile
+  the C extensions.  However, if the environment variable
+  "USE_MELD3_EXTENSION_MODULES" is set when "setup.py install" is
+  invoked, the C extensions will be built.  meld3 is much slower
+  without the C extensions, so using "USE_MELD3_EXTENSION_MODULES" is
+  usually a good idea for performance-sensitive systems.
+
+  As a result of this change, the "NO_MELD3_EXTENSION_MODULES"
+  environment variable introduced in 0.6.1 now has no effect.
+
 0.6.3
 
   Fixed two more memory leaks (one in bfclonehandler, the other in


=== Packages/meld3/setup.py 1.6 => 1.7 ===
--- Packages/meld3/setup.py:1.6	Fri Aug 24 16:50:35 2007
+++ Packages/meld3/setup.py	Fri Jan 18 01:27:48 2008
@@ -1,16 +1,18 @@
 from distutils.core import setup, Extension
 import os
 
-if os.environ.get('NO_MELD3_EXTENSION_MODULES'):
-    # allow people to install meld3 without building the extension modules
-    # (meld works fine without them, it's just slower).
-    ext_modules = []
-else:
+if os.environ.get('USE_MELD3_EXTENSION_MODULES'):
     ext_modules=[Extension("meld3/cmeld3",
                            ["meld3/cmeld3.c"])]
+else:
+    # by default, allow people to install meld3 without building the
+    # extension modules (meld works fine without them, it's just
+    # slower).
+    ext_modules = []
+
 setup(
     name = 'meld3',
-    version = '0.6.3',
+    version = '0.6.4',
     description = 'meld3 is an HTML/XML templating engine.',
     author = 'Chris McDonough',
     author_email =  'chrism at plope.com',



More information about the Repoze-checkins mailing list