Bob,
some python scripts need python lxml extension.
The fantabulous lxml wrapper for libxml2 is required by inkex_lxml.py and therefore this extension. Please download the latest version from http://cheeseshop.python.org/pypi/lxml/. << could you please add this into the gtk package you provide. So that this get inserted into the win32 build.
Regards,
Adib. ---
Adib Taraben wrote:
some python scripts need python lxml extension.
The fantabulous lxml wrapper for libxml2 is required by inkex_lxml.py and therefore this extension. Please download the latest version from http://cheeseshop.python.org/pypi/lxml/. <<
Hehe, I suppose I shouldn't make up words in error messages. :-)
could you please add this into the gtk package you provide. So that this get inserted into the win32 build.
We're getting there. I'm still working on converting all the scripts to lxml. I've got about 25 files more to look at. I'm not sure I'd worry too much about the bundle until we are done and then we can get rid of pyxml and maybe even switch to python 2.5.
Aaron Spike
Adib Taraben wrote:
Bob,
some python scripts need python lxml extension.
The fantabulous lxml wrapper for libxml2 is required by inkex_lxml.py and therefore this extension. Please download the latest version from http://cheeseshop.python.org/pypi/lxml/. << could you please add this into the gtk package you provide. So that this get inserted into the win32 build.
Sounds good. I'll give it a try. But one question: since we are moving away from pyxml to lxml, we can finally upgrade to Python 2.5. Is it possible to do that already? I'd rather not have -two- deps, if we can avoid it.
bob
Bob Jamison wrote:
Adib Taraben wrote:
Bob,
some python scripts need python lxml extension.
The fantabulous lxml wrapper for libxml2 is required by inkex_lxml.py and therefore this extension. Please download the latest version from http://cheeseshop.python.org/pypi/lxml/. << could you please add this into the gtk package you provide. So that this get inserted into the win32 build.
Sounds good. I'll give it a try. But one question: since we are moving away from pyxml to lxml, we can finally upgrade to Python 2.5. Is it possible to do that already? I'd rather not have -two- deps, if we can avoid it.
Hey Bob,
In addition to the lxml change, there are newer GTK & Glib libs available... on top of that we need to modify the gtkrc file that is used on Windows.
The change is in the share/themes/MS-Windows gtkrc file... in the gtk-icon-sizes line, "inkscape-decoration=16,16" needs to be added to the end. The problem is that a few icons are really small as is without that addition, and this makes those icons the same (correct) sizes as all the other icons. If you look at the eye and lock icons by the layer selector or the scale gradient/stroke/pattern/etc icons in the Selector toolbar, you'll notice the problem I speak of.
Any Qs. please let me know. :-)
-Josh
Bob Jamison wrote:
Sounds good. I'll give it a try. But one question: since we are moving away from pyxml to lxml, we can finally upgrade to Python 2.5. Is it possible to do that already? I'd rather not have -two- deps, if we can avoid it.
Go for it! Anything that depends on pyxml should be considered a bug now. I don't think there is anything that should keep us on 2.4 rather than 2.5 so go ahead and upgrade. If something breaks we'll just have to fix it. Please drop pyxml from the bundle and purge it from your memory. :-)
Aaron
On 2007-June-24 , at 03:14 , Aaron Spike wrote:
Bob Jamison wrote:
Sounds good. I'll give it a try. But one question: since we are moving away from pyxml to lxml, we can finally upgrade to Python 2.5. Is it possible to do that already? I'd rather not have -two- deps, if we can avoid it.
Go for it! Anything that depends on pyxml should be considered a bug now. I don't think there is anything that should keep us on 2.4 rather than 2.5 so go ahead and upgrade. If something breaks we'll just have to fix it. Please drop pyxml from the bundle and purge it from your memory. :-)
The python versionshipped on Mac OS X is only 2.4. Hence, upgrading to 2.5 would require all OS X users to reinstall python, which they already have on their system. From what I can see lxml requires only python >=2.3, so if there is no hard requirement for 2.5, it would really be nice to keep the extensions 2.4 compatible.
JiHO --- http://jo.irisson.free.fr/
jiho wrote:
The python versionshipped on Mac OS X is only 2.4. Hence, upgrading to 2.5 would require all OS X users to reinstall python, which they already have on their system. From what I can see lxml requires only python
=2.3, so if there is no hard requirement for 2.5, it would really be
nice to keep the extensions 2.4 compatible.
Of course! But that doesn't mean we can't ship 2.5 with the windows builds and I think that is all Bob is suggesting.
Aaron Spike
Aaron Spike wrote:
Bob Jamison wrote:
Sounds good. I'll give it a try. But one question: since we are moving away from pyxml to lxml, we can finally upgrade to Python 2.5. Is it possible to do that already? I'd rather not have -two- deps, if we can avoid it.
Go for it! Anything that depends on pyxml should be considered a bug now. I don't think there is anything that should keep us on 2.4 rather than 2.5 so go ahead and upgrade. If something breaks we'll just have to fix it. Please drop pyxml from the bundle and purge it from your memory. :-)
I'm sure you mentioned this already, but I can't find it anywhere. Where can I find Win32 lxml 1.3.1 binaries?
bob
Bob Jamison wrote:
I'm sure you mentioned this already, but I can't find it anywhere. Where can I find Win32 lxml 1.3.1 binaries?
Ok, done. I uploaded the bundle with python/numpy/lxml, here: http://inkscape.modevia.com/win32libs/gtk210-070624.7z
And I made a build with it here: http://inkscape.modevia.com/win32/Inkscape0706250141.7z
The build.xml file now uses the new dll.
Josh, I'll work on the GTK/gtkrc stuff tomorrow.
bob
Bob Jamison wrote:
I'm sure you mentioned this already, but I can't find it anywhere. Where can I find Win32 lxml 1.3.1 binaries?
Well it looks like lxml went and released their latest stable version today and removed the links to past versions before binaries are posted for the latest version. Here are the links to the old binaries for python 2.4 and 2.5:
http://cheeseshop.python.org/packages/2.4/l/lxml/ http://cheeseshop.python.org/packages/2.5/l/lxml/
Aaron Spike
participants (5)
-
Aaron Spike
-
Adib Taraben
-
Bob Jamison
-
jiho
-
Josh Andler