[Lxml-checkins] r47704 - lxml/trunk

scoder at codespeak.net scoder at codespeak.net
Mon Oct 22 14:25:08 CEST 2007


Author: scoder
Date: Mon Oct 22 14:25:06 2007
New Revision: 47704

Modified:
   lxml/trunk/CHANGES.txt
   lxml/trunk/setupinfo.py
Log:
cleanup

Modified: lxml/trunk/CHANGES.txt
==============================================================================
--- lxml/trunk/CHANGES.txt	(original)
+++ lxml/trunk/CHANGES.txt	Mon Oct 22 14:25:06 2007
@@ -31,9 +31,11 @@
 Other changes
 -------------
 
-* The module source files are now called "lxml.*.pyx", such as
+* The module source files were renamed to "lxml.*.pyx", such as
   "lxml.etree.pyx".  This was changed for consistency with the way
-  Pyrex commonly handles package imports.
+  Pyrex commonly handles package imports.  The main effect is that
+  classes now know about their fully qualified class name, including
+  the package name of their module.
 
 
 2.0alpha4 (2007-10-07)

Modified: lxml/trunk/setupinfo.py
==============================================================================
--- lxml/trunk/setupinfo.py	(original)
+++ lxml/trunk/setupinfo.py	Mon Oct 22 14:25:06 2007
@@ -9,11 +9,7 @@
 except ImportError:
     CYTHON_INSTALLED = False
 
-EXT_MODULES = [
-    ("lxml.etree",         "lxml.etree"),
-    ("lxml.objectify",     "lxml.objectify"),
-    ("lxml.pyclasslookup", "lxml.pyclasslookup")
-    ]
+EXT_MODULES = ["lxml.etree", "lxml.objectify","lxml.pyclasslookup"]
 
 def env_var(name):
     value = os.getenv(name, '')
@@ -44,10 +40,10 @@
         runtime_library_dirs = []
     
     result = []
-    for module, package in modules:
+    for module in modules:
         result.append(
             Extension(
-            package,
+            module,
             sources = ["src/lxml/" + module + source_extension],
             extra_compile_args = ['-w'] + _cflags,
             define_macros = _define_macros,


More information about the lxml-checkins mailing list