Hi Robby,<br><br>I didn't patch the 0.6.1 source.  I am providing a diff of what works for me on the 1.2.4 version of pyquery.  Update it as you like.<br><br>Thanks,<br>Larry<br><br><div class="gmail_quote">On Sun, Feb 24, 2013 at 12:06 AM, Robby Workman <span dir="ltr"><<a href="mailto:rworkman@slackbuilds.org" target="_blank">rworkman@slackbuilds.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 28 Dec 2012 15:54:24 -0800<br>
Larry Hajali <<a href="mailto:larryhaja@gmail.com">larryhaja@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> Between lxml version 2.x and 3.x, lxml broke out the cssselect module<br>
> into its own separate package.  The version on SBo is definitely<br>
> outdated and incompatible (w/out patching) with the new lxml.<br>
> Looking at the setup.py file on the github page (ie.<br>
> <a href="https://github.com/gawel/pyquery" target="_blank">https://github.com/gawel/pyquery</a>), the new version looks to be<br>
> compatible with the new lxml with cssselect and distribute as new<br>
> dependencies.<br>
><br>
> All that needs to be done is download the latest version of pyquery (<br>
> <a href="http://pypi.python.org/packages/source/p/pyquery/pyquery-1.2.4.tar.gz" target="_blank">http://pypi.python.org/packages/source/p/pyquery/pyquery-1.2.4.tar.gz</a>),<br>
> install the new dependencies and change the version number in the<br>
> slackbuild to 1.2.4.  I'm providing a patch with the changes I made<br>
> to get things working.  Now using 'import pyquery' at the python<br>
> command prompt works.<br>
><br>
> On a side note, there isn't a dependency listed for pysetuptools or<br>
> distribute for version 0.6.1 of pyquery.  It is optional for lxml and<br>
> not listed for BeautifulSoup.<br>
<br>
<br>
Since the maintainer hasn't moved on this since then, and since<br>
you seem to have already done all of this, would you mind<br>
submitting what you've got, or at least attach some patches I<br>
can apply to what's currently in the repo?  Perhaps I should just<br>
go to bed now, but I'm having a bit of trouble wrapping my head<br>
around exactly what I need to do to fix all of this... :/<br>
<span class="HOEnZb"><font color="#888888"><br>
-RW<br>
</font></span></blockquote></div><br>