[lxml-dev] lxml 2.2alpha1 released
Hi all, I'm happy to announce the release of the first official alpha version of lxml 2.2. It brings a couple of new features that mainly round up the existing tool set. http://pypi.python.org/pypi/lxml/2.2alpha1 http://codespeak.net/lxml/dev/ I considered making this a beta release, but I wanted to permit some more testing even before a feature freeze. So, as usual, all kinds of feedback are appreciated. Have fun, Stefan 2.2alpha1 (2008-11-23) Features added * Support for XSLT result tree fragments in XPath/XSLT extension functions. * QName objects have new properties namespace and localname. * New options for exclusive C14N and C14N without comments. * Instantiating a custom Element classes creates a new Element. Bugs fixed * XSLT didn't inherit the parse options of the input document. * 0-bytes could slip through the API when used inside of Unicode strings. * With lxml.html.clean.autolink, links with balanced parenthesis, that end in a parenthesis, will be linked in their entirety (typical with Wikipedia links).
Stefan Behnel <stefan_ml@behnel.de> writes:
Hi all,
I'm happy to announce the release of the first official alpha version of lxml 2.2. It brings a couple of new features that mainly round up the existing tool set.
Have fun, Stefan
Having fun with packaging :( Runiing python setup.py from svn works However easy_install xml==dev gives Building lxml version 2.2.alpha1-60098. Building with Cython 0.10. Using build configuration of libxslt 1.1.23 Building against libxml2/libxslt in the following directory: /opt/local/lib warning: no files found matching 'lxml.etree.c' under directory 'src/lxml' warning: no files found matching 'lxml.objectify.c' under directory 'src/lxml' warning: no files found matching 'lxml.etree.h' under directory 'src/lxml' warning: no files found matching 'lxml.etree_api.h' under directory 'src/lxml' warning: no files found matching '*.html' under directory 'doc' i686-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file or directory i686-apple-darwin9-gcc-4.0.1: no input files I thought this could be due to my fiddling with the OSX setup but I also got a similar set of errors with Ubuntu 8.10 -- Mark
Hi, Mark Bestley wrote:
Runiing python setup.py from svn works
However easy_install xml==dev gives
Building lxml version 2.2.alpha1-60098. Building with Cython 0.10. Using build configuration of libxslt 1.1.23 Building against libxml2/libxslt in the following directory: /opt/local/lib warning: no files found matching 'lxml.etree.c' under directory 'src/lxml' warning: no files found matching 'lxml.objectify.c' under directory 'src/lxml' warning: no files found matching 'lxml.etree.h' under directory 'src/lxml' warning: no files found matching 'lxml.etree_api.h' under directory 'src/lxml' warning: no files found matching '*.html' under directory 'doc' i686-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file or directory i686-apple-darwin9-gcc-4.0.1: no input files
I thought this could be due to my fiddling with the OSX setup but I also got a similar set of errors with Ubuntu 8.10
Hmm, is that the complete output? I can't see where the warnings come from, but I would suspect (especially seeing the "*.html") that it's easy_install that's packaging up stuff here (which would be fine since the files are not there yet). Having the C compiler fail afterwards makes me wonder why Cython wasn't run to generate the C code, though... Anyway, I recommend installing from a source release anyway, so it's better to use easy_install lxml==2.2alpha1 Stefan
participants (2)
-
Mark Bestley
-
Stefan Behnel